Hi Roland, I will explain why I tried to use the priority mailbox, there may be better ways of doing this.
I am creating a POC to see if we can (and how) use Akka-Pesistence (EventSourcing to be specific) for a rewrite of our systems. I have an EP that updates its state and returns data when queried. The query gets sent from a Play controller with an ask. I also have an Actor that creates a bunch of data by sending commands to the EPs. I noticed that during data creation (i.e. when the journal is empty and I run the data creation actor - but also most likely during recovery). My ask queries timeout. On a side note - this could be fixed by the suggestion that were made in the other thread about changes to EP/P to make some stuff async. Till then, I was looking for a solution and the one I noticed from the docs was using a priority mailbox, however, after reading when you mentioned with the Stash I understand why that is not going to work. Now I admit, this is a complete artificial situation that I created due to the data generation, however, we do think we will have quite a bit of heavy traffic since we know our current load. Are there any ways (Other than the changes discussed that may happen to Akka-P that will help us with this problem) to currently get around this problem? -- >>>>>>>>>> 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.
