A Tour of the Sidekiq API | Mike Perham
Sidekiq provides an underappreciated but powerful tool for all users: the Sidekiq API. The API gives comprehensive and idiomatic access to Sidekiq’s underlying real-time job and queue data within Redis.The GlossaryTo explore the API, first it helps to understand the basic entities in Sidekiq’s universe:A job is a unit of work in your Ruby applicationA queue is a list of jobs which are ready to execute right nowA process is a Sidekiq process with one or more threads for executing jobs.NB: I never use the term worker as it is nebulous and confusing. Use process, thread or job class so your meaning is clear.
A Tour of the Sidekiq API | Mike Perham #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper