Hello guys,

I have a relative simple problem : i want to have millions of actors 
distributed in an akka cluster but i want to have the guarantee that an 
actor with a specific id exists only once in the entire system.
So my question is the following : what is the best solution in terms of 
performance/overhead ?

>From my (little) experience, based on a cluster of nodes (which can 
increase/decrease dynamically) i have the following options : 
1.  use the cluster sharding feature
2.  use the cluster singleton, which i think is overkill in my case 
(millions of actors in the system)
3.  use some sort of logic based on storing the state and node assignation 
of an actor in a database (but this might get tricky when a node fails for 
unknown reasons, or the actor system doesn't shutdown properly).

I am opened to different ideas/approaches.

Thanks in advance !


-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to