Hi, all

I have a question about consistent hashing routing in akka

in my system, all actors are stateful, specifically:

all the actor maintains one or more lists as their state, the message is 
indexed by a key. The router then forward the message according to the key 
to one of the actors which in turn save the message to the corresponding 
list (i.e. the list is bind with a key)...

when a new node is added to the cluster, the router will update the hash 
function, and the future messages with the keys falling in the certain 
range will be forwarded to this new node....

*The problem, I also need to query the saved message...according to my 
understanding on the Akka implementation, the messages saved in the old 
routee will not be automatically migrated to the new joined one, so my 
query will only get partial result*

is that true? if yes, how to implement this function? 

it seems that cluster-sharding can do this naturally, but just curious 
about if we can do with consistent hashing schema

Thanks

Nan

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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