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

Load balancing with REQ and REP #171

Closed
dremekie opened this issue Jan 19, 2017 · 1 comment
Closed

Load balancing with REQ and REP #171

dremekie opened this issue Jan 19, 2017 · 1 comment
Labels

Comments

@dremekie
Copy link

Looking at #143 I see mention of built-in load-balancing with REQ

@reqshark mentions: REQ/REP was designed around the need to distribute precise load balancing tasks among stateless workers

Could you provide an example of this (perhaps in /examples)? Is a device actually needed?

Thanks much

@reqshark
Copy link
Collaborator

the pattern w/ automatic load balancing is PUSH/PULL, see #118.

REQ/REP provides a full manual control mechanism for constraining backpressure, since REQ won't fire again until the next REP msg. Building out your load balancing topology with REQ/REP seems less builtin to me. Here's how I see it:

🏎 REQ/REP: 5 speed manual transmission with a heavy clutch

🚐 PUSH/PULL: luxury SUV with automatic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants