Re: [akka-user] Recovery of persistent actor that uses BoundedDequeBasedMailbox

2017-12-04 Thread Seoras Ashby
Thanks Patrik. My unit tests have shown that as long as I keep the mailbox capacity greater than then max number of events in a journal then recovery works fine. My actor's protocol is request / response based and relies on the client respecting that i.e. waiting for the response or a timeout.

Re: [akka-user] Recovery of persistent actor that uses BoundedDequeBasedMailbox

2017-12-01 Thread Patrik Nordwall
On Wed, Nov 29, 2017 at 11:14 AM, Seoras Ashby wrote: > Hi, > > Today my persistent actor is using the default UnboundedDequeBasedMailbox. > However, to improve resiliency, I would like to use a non-blocking > BoundedDequeBasedMailbox so that my persistent actor drops messages to dead > letters i

[akka-user] Recovery of persistent actor that uses BoundedDequeBasedMailbox

2017-11-29 Thread Seoras Ashby
Hi, Today my persistent actor is using the default UnboundedDequeBasedMailbox. However, to improve resiliency, I would like to use a non-blocking BoundedDequeBasedMailbox so that my persistent actor drops messages to dead letters if it is overwhelmed and cannot keep up with incoming messages.