Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is a server and a client? #638

Closed
jlecour opened this issue Jan 22, 2013 · 4 comments

Comments

@jlecour
Copy link
Contributor

commented Jan 22, 2013

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

@mperham

This comment has been minimized.

Copy link
Owner

commented Jan 22, 2013

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.

@jlecour

This comment has been minimized.

Copy link
Contributor Author

commented Jan 22, 2013

Thanks for you fast answer.

@jlecour jlecour closed this Jan 22, 2013

@sriharshakappala

This comment has been minimized.

Copy link

commented Sep 22, 2016

@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.

@mperham

This comment has been minimized.

Copy link
Owner

commented Sep 22, 2016

@sriharshakappala Already covered in "The Basics" wiki page https://github.com/mperham/sidekiq/wiki/The-Basics#client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.