Build your own concurrency control in Sidekiq
24-Jan-2022 1913
Pushing a lot of jobs into Redis queue(s) for Sidekiq to process is very common in Ruby on Rails applications. Still, there are situations when you want to guarantee that specific jobs don't execute simultaneously, or you want to ensure that they run sequentially.This is useful sometimes, as a result, it can incur costs or end with minor inconveniences for users (sending emails twice) or, in some cases, even data corruption.
Build your own concurrency control in Sidekiq #ruby #rubydeveloper #rubyonrails #Build #concurrency #control #Sidekiq #sidekiq https://rubyonrails.ba/link/build-your-own-concurrency-control-in-sidekiq