Environment:

   - Distributed cluster with persistence sharded actors. 
   - Persistent actors are setup to Passivate when inactive. 
   - All actors have the Backoff Supervisor wrapping the actual persistent 
   actor
   - Shard regions are common across our users
   
Problem:

   - At times it's required to reset the actor states 
   - Live actors currently listen to a Distributed Pub/Sub topics for the 
   reset message at which point they reset state and save a snapshot of the 
   state.
   - Passivated (sleeping) actors aren't able to listen to the pub/sub 
   topic.
   - Sending message to restore actor just to reset its state is a needless 
   load on the persistence data store since we could play back 1000s of 
   messages before wiping state. 
   
Question:

   - How can I either send a message or pass a dynamic parameter into a 
   Sharded Persistent Actor so I can disable recovery before the actor starts 
   loading from the data store?


-Thanks


Richard

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

Reply via email to