Sidekiq can be difficult to debug, because the workers run in different processes and STOUT and Pry tactics won’t give you an indication of what is happening. Use these loggers instead.

class CacheUsers
  include Sidekiq::Worker

  def perform
    logger.info { "Wow, I can see this" }
    logger.debug { "#{hash.inspect}" }
  end
end

🙂

Leave a Reply

Screen Shot 2013-12-08 at 9.49.35 PM

I have helped a dozen companies build and optimize their engineering teams to deliver great products.

Let’s work together and I can align your business needs with your technology initiatives.