If both applications use the same Redis URL and the same namespace, you can deploy the same worker with the same Redis configuration and they will be shared by both.
Please note that your Sidekiq process will download one application or another. The code for your Workers should be in this app. Another application will not be able to reference the code, but may click on tasks using:
Sidekiq::Client.push('class' => 'SomeWorker', 'args' => [1,2,3])
Note that the “class” is a string, so SomeWorker may be defined in another application.
source share