Sending to an Actor with BoundedMailbox via the network blocks Netty thread
The upstream handler will simply invoke tell() on the ActorRef; if that blocks, that TCP connection is blocked. Cannot be solved in general because of possibly misbehaving custom mailbox impls, but we can abort early in case of our own BoundedMailbox types.
Leave a comment
on 2012-04-03 13:52 *
By viktorklang
The alternative would be to have a Router with a resizer and use consistent hashing by recipient and always send to that one, and then it takes the hit if there's blocking