title: Sidekiq Worker takes a really long time to execute after being queued (4 - 6 seconds)
body: <p>I have a sidekiq worker that queues around 15 - 20 jobs of a different type of worker.  When I go to New Relic's transaction, each of the workers that are queued up is taking 4-6 seconds before it even executes.  My ActiveRecord pool is at 25, and Sidekiq is running at 20 concurrency with 1 Unicorn process.</p>
  
  <p>I benchmarked this worker in the rails console and the code is well under 2 seconds (it does a bit of heavy processing).  With this weird 4-6 seconds delay, New Relic is picking up transactions of this worker at 6 to 8 seconds execution.</p>
  
  <p>I went through the perform method of the slow worker with NewRelic::Agent::MethodTracer, grouped blocks of code try to get a better idea of what could be so slow, but New Relic still shows the worker with 4 -6 seconds before it gets to any of the grouped blocks.  </p>
  
  <p>All the grouped blocks of code with tracers in the perform method are under 100 ms each.</p>
  
  <p>I'm not sure what could be causing this 4 to 6 seconds pause for each worker -- while running the sidekiq jobs, memory usually hovers around 50 - 60% usage (2 digital ocean droplets at 1 gig), Disk I/O, and CPU don't ever hit over 60% the whole time.</p>
  
  <p>My app is running on Rails 4.1.4, Ruby 2.0, Postgres, Unicorn, Nginx, and Redis</p>