[erlang-questions] gen_server aggregating calls/casts

Jonathan Leivent jleivent@REDACTED
Thu Jul 11 20:47:18 CEST 2013


On 07/10/2013 08:07 AM, Fred Hebert wrote:
> On 07/10, Peer Stritzinger wrote:
>>
>> Having said this, your possibly unbounded growing mailbox is a bit
>> scary and will at some point probably crash your node.  You should
>> combine your selective  receives with some way of limiting requests.
>>
>
> I have recently extracted a couple of patterns implemented in Heroku's
> Logplex to make them into a library for a case like that, and dubbed it
> PO Box (https://github.com/ferd/pobox) as an external mailbox.

Well, this looks like it might be just what I need!  Thanks muchly!  I 
will check it out more when I'm up to that point.

-- Jonathan




More information about the erlang-questions mailing list