author avatar

akshay

Mon Jun 11 2018

Sidekiq processes jobs in a multithreaded process. Which means there is no guarantee that the jobs that are enqueued will processed in the same order. So you'd need to consider the aspect of context switch that can happen and thus make sure that the worker code is thread safe.