Asynchronous processing


Controllers

Serializers

Params

Jobs

Commands

Sidekiq

Services

RSpec

Models

Tips and tricks

🏠 HOME








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

Paweł Dąbrowski


Tips and Tricks

Run all Sidekiq processes on your computer

gem install foreman 
forman start -f Procfile.dev

<aside> <img src="/icons/playback-previous_lightgray.svg" alt="/icons/playback-previous_lightgray.svg" width="40px" /> Jobs

</aside>

<aside> <img src="/icons/playback-next_lightgray.svg" alt="/icons/playback-next_lightgray.svg" width="40px" /> RSpec

</aside>