[erlang-questions] messages manipulatio  sasa <> Fri Feb 15
16:47:25 CET 2013   A while ago I encountered the following
situation:  I had the gen_server base process P which would
receive messages, and handle them by sending some data over the
network. The messages were coming faster than they were being
sent. I established the reason for this was the "randomness" of
my network conditions. I also established that sending more
messages at once was almost as fast as sending one message, i.e.
the network push time wasn't highly dependent on the message
size.  To tackle this in a generic way, I devised an approach
which has served me well in multiple places. I was repeatedly
googling whether some similar solution exists, but I couldn't
find it. Now, I'm not sure if I have reinvented a wheel, or the
approach is not optimal, so I'm asking if you are aware of
similar approaches, and are there any faults in this one?  The
approach I took is following:  I split the server in two
processes: the "facade" and the worker.