Sidekiq

Asynchronous processing

Check out the the doc at https://github.com/mperham/sidekiq/wiki

Job Definition

class MyDummyPutsJob
  include Sidekiq::Worker

  def perform(text)
    puts text
  end
end

Jobs Enqueueing

MyDummyPutsJob.perform_async("Hi there future you!")

How Sidekiq really works

Tips and Tricks

Run all Sidekiq processes on your computer

gem install foreman 
forman start -f Procfile.dev

Last updated