[erlang-questions] Slow UTP packets
Mihai Balea
mihai@REDACTED
Fri Jul 31 16:33:49 CEST 2009
On Jul 31, 2009, at 10:16 AM, Ovidiu Deac wrote:
> It makes sense but it doesn't look good. 1MB/s is not that much.
I think it's the number of messages that really matter, not the total
size...
> ...and fast messaging between processes should be one of Erlang's
> strong points.
>
> Maybe I should use a passive socket instead.
Using passive or {active, once} when dealing with sockets is always a
good idea. However, while TCP will adjust the flow to accommodate your
consumer's speed, UDP will simply just drop packets when you cannot
process them fast enough.
Just something to keep in mind.
Mihai
More information about the erlang-questions
mailing list