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

Add Router pool support #50

Closed
rogeralsing opened this issue Feb 22, 2014 · 8 comments
Closed

Add Router pool support #50

rogeralsing opened this issue Feb 22, 2014 · 8 comments
Milestone

Comments

@rogeralsing
Copy link
Contributor

We need to add router pool, e.g. RandomPool, RoundRobinPool

@Aaronontheweb
Copy link
Member

Before I can really scale out my service I'm building on top of Pigeon, I am going to need:

  • Consistent hash routing
  • Being able to mix remote / local actors into a single router
  • Pool-based routing

So I'll be chipping away at these once those issues come to a head in my own project, which will be soon

@rogeralsing
Copy link
Contributor Author

Prepping a bit on this one.
Apparently routing support was rewritten very recently so the current Pigeon impl is not up to date with the current Akka impl

@Aaronontheweb
Copy link
Member

Starting work on this - added support to view the number of messages currently inside a mailbox (among other things) yesterday. Going to work on this over the next few days.

@rogeralsing
Copy link
Contributor Author

I've refactored some stuff in the router support, I Think I will have non-resizable pools up and running later today..

@Aaronontheweb
Copy link
Member

Just pushed some commits that should mark the initial RoundRobinPoolRouter implementation as complete. Going to do some cleanup and stub out some of the code for resizeable pool routers before I mark this issue as closed.

@rtumaykin
Copy link
Contributor

Started working on the resizeable pool router implementation.

@rogeralsing
Copy link
Contributor Author

I did some changes in the ActorRefProvider for this, the provider now creates the correct type of cell for the resizable pool routers, and RouterManagementMessages can be sent to the router instead of the routees.

Hope I didn't interfere with @rtumaykin's work

@rogeralsing
Copy link
Contributor Author

This is completed IMO, closing

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

3 participants