TIL: Queuing Sidekiq workers safely with the help of Isolator
25-Nov-2021 1614
Listening to a recent episode of the thoughtbot podcast, The Bike Shed, one of the hosts talked about a couple of gems that they'd come across that seemed pretty handy to me.The first is isolator, a gem by the folks over at Evil Martians that detects non-atomic interactions within a database transaction. What do we mean by that? A simple example taken from the documentation that uses background jobs is something like the following:.
TIL: Queuing Sidekiq workers safely with the help of Isolator #ruby #rubydeveloper #rubyonrails #Queuing #Sidekiq #workers #safely #Isolator #sidekiq https://rubyonrails.ba/link/til-queuing-sidekiq-workers-safely-with-the-help-of-isolator