Hi,
I've looked for a mailing to ask this question but didn't find any. I hope I've searched enough and I'm not abusing the issue tracker with this question.
I am building an app that will push jobs into the queue, and they will be processed by workers in another app.
Do I have to configure one of them as the "client" and the other one as the "server"? Or do I have to configure both apps as "client" and "server**?
Thanks
The client pushes jobs onto the queue. The server pulls jobs and processes them. Typically the client is a Unicorn/Passenger Rails process while the server is the Sidekiq process. Sounds like app 1 will be the client and app 2 will be the server.
Thanks for you fast answer.
@mperham This post explaining the difference between the sidekiq client and sidekiq server is so helpful. It would be great if the same is added in either README.md or in one of the wiki pages.
@sriharshakappala Already covered in "The Basics" wiki page https://github.com/mperham/sidekiq/wiki/The-Basics#client
Most helpful comment
The client pushes jobs onto the queue. The server pulls jobs and processes them. Typically the client is a Unicorn/Passenger Rails process while the server is the Sidekiq process. Sounds like app 1 will be the client and app 2 will be the server.