Hi Jochen, The bounded mailboxes are designed around the idea that in Akka delivery is at-most-once in any case (because network, and no re-delivery – unless you use AtLeastOnceDelivery or do it yourself). So yeah, they're protecting the receiver, nothing more - it's not a full-blown flow-control mechanism just an overflow protection.
In that sense, they stick to what is core to Akka – messages may be dropped. Replying a NACK ("hey, please slow down") on each dropped message in such mailbox may sound interesting, but in practice often you'd rather get back ACKs and base your sending of data on those I think. A NACKing mailbox is not something we have built in. It's something you could write though (you can write a mailbox). -- Cheers, Konrad 'ktoso’ Malawski Akka @ Typesafe On 28 December 2015 at 17:24:24, Jochen Mader (jochen.ma...@codecentric.de) wrote: Before I start: I am perfectly aware of Reactive Streams and it is what I am currently using. I still use bounded mailboxes to prevent human error from sneaking through. With the current implementation of bounded mailboxes there is no way that either consumer or producer get to know if the mailbox is full or filling up. Overflow is redirected directly to Dead Letters with neither of them being informed. While preventing the crash of the system with an OOM it also feels like a missed opportunity for throttling. Are they just there to prevent OOMs or am I missing something in the API? -- >>>>>>>>>> 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. -- >>>>>>>>>> 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.