breamware / sidekiq-batch

Sidekiq Batch Jobs Implementation
MIT License
357 stars 95 forks source link

Is this gem thread safe? #16

Closed lacostenycoder closed 6 years ago

lacostenycoder commented 6 years ago

Looking to identify possible thread safety issues in a Rails 4.2 stack running Unicorn in a docker production environment with Sidekiq running our background jobs. Any info would be helpful, thanks.s

nglx commented 6 years ago

It should be. It's relying on redis which is thread safe (single thread queue) and using atomic redis operation to count number of jobs in batches.

nglx commented 6 years ago

Please let me know if you need more info on that and if I can close that issue then.

lacostenycoder commented 6 years ago

Thanks!