A Tour of the Sidekiq API | Mike Perham
29-Apr-2021 1811
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 #rubydeveloper #rubyonrails #Sidekiq #Perham #api #sidekiq https://rubyonrails.ba/link/a-tour-of-the-sidekiq-api-mike-perham