Thanks, it looks interesting понедельник, 18 мая 2015 г., 12:02:09 UTC+3 пользователь Konrad Malawski написал: > > Hello there, > Have a look at Cluster Sharding > http://doc.akka.io/docs/akka/2.3.11/contrib/cluster-sharding.html it's > exactly that :-) > It will become a stable module in 2.4 (which will get its first milestone > *very soon*). > > On Mon, May 18, 2015 at 9:11 AM, Artyom Bolshakov <[email protected] > <javascript:>> wrote: > >> I have the following requirements: >> >> A bunch of users communicate with my app via http api and sends video >> watch status (progress). Any time I should be able to determine how mach >> users watching the particular video right now and how many video is >> watching by particular users. >> >> So I should maintain the state of the user and the state of the video. >> >> The first Idea was to user cluster singleton pattern, where users and >> videos should be singletons. But after reading docs I realized that all >> singleton actors would be started on the same (oldest) node in the cluster. >> >> Could you guide me is there any good pattern to balance loading across >> several cluster nodes and maintain many singleton actors at the same time? >> >> -- >> >>>>>>>>>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Cheers, > Konrad 'ktoso' Malawski > Akka <http://akka.io/> @ Typesafe <http://typesafe.com/> >
-- >>>>>>>>>> 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.
