Hi Daniel,
On Sun, Mar 16, 2014 at 4:04 AM, Daniel Wang <[email protected]> wrote: > Say I have several persistent view actors of the same type in a cluster, > and one of them is just up and busy recovering its in-memory state. > Assume I have a cluster-aware routing that routes messages to those > actors, how shall I avoid messages being sent to the one actor in the > recovering state? > Why do you want to avoid sending to it? The message will be processed when the recovery is completed. You might want to avoid the latency? Do you know that a view can store its own snapshots to reduce recovery time? Otherwise I would recommend using DistributedPublishSubscribe<http://doc.akka.io/docs/akka/2.3.0/contrib/distributed-pub-sub.html>as a router. The view can register itself when the recovery is completed. /Patrik > > - Daniel > > -- > >>>>>>>>>> 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. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> 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.
