ConsistentHashingRouter?

On 20 Jul 2014, at 01:04, Stas Shevchenko <stass...@gmail.com> wrote:

> I have to implement simple cluster with that conditions
> 
> a) there are 1 client system and 2 worker systems
> b) client system is connected to worker systems via remote (I use a 
> netty-remote)
> c) client must forward messages to only one worker system at a time (should 
> be set in config)
> d) if the worker system with priority (enabled for dispatching messages from 
> client) is down, then client should route all messages to another worker.
> 
> I implemented that using an Actor, simulates router with help of Cluster 
> events like MemeberUp etc, saving member host to routees map to be able to be 
> selected by this host during the routing message.
> 
> Is there any possibility to implement routing by host using the Akka Cluster 
> aware Router? I cant find the configuration for it, that has an access to 
> make routing by host name.
> 
> Stas
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.


--

Heiko Seeberger
Twitter: @hseeberger
Web: heikoseeberger.de




-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to