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 spanning by "multiple repliers, only one gets the request" #29

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

At last nights CamPUG meeting, Bryan Cole suggested the idea of allowing 
multiple repliers for a message name, only one of whom will actually get a 
particular request.

This could allow KBUS to do some sort of load balancing, and sounds like 
an interesting concept which would not (at least in its simple form) be 
hard to implement.

So, several Listeners could bind as Load Balancing Repliers (that needs a 
better name) for a particular message name. When the sender sends a 
Request with that name, KBUS chooses one of the LBRs (sorry) to receive 
the message. The simplest algorithm would be to choose the one with the 
shortest messaage queue, and otherwise one at "random".

A more ambitious approach might allow the choice/specification of policy 
for this choice, by some mechanism.

Original issue reported on code.google.com by [email protected] on 3 Mar 2010 at 10:48

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

No branches or pull requests

1 participant