Hey Erlang people, if you were to add an upper bound on the number of messages allowable in a mailbox, how big would it be, and why?
-
-
@bascule well, the better question is: what happens when the limit is reached. that tells you what sort of limit is appropriate. -
@moonpolysoft I was thinking of raising an exception in the context of the sender -
@bascule what if it's remote? -
@moonpolysoft attempt to provide a consistent experience -
@bascule exception might be a bad idea then. It requires two way comm. -
@moonpolysoft yeah... ugh -
@bascule And bound violation policies such as drop on the floor, sleep the send, and notify the sender. -
@moonpolysoft I really do like crash-the-sender, at least if it's an exception the sender can catch, but it does kinda fail when distributed - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.