[erlang-questions] Is there a lomit on erlang vm nodes connection speed
Tue Jul 2 12:10:01 CEST 2013
You were right. increasing the message size to 10000 allowed me to reach 1-2Gbps. I guess the simple solution is to collate messages in a list and send them together. Is there another way you can think of? Can I configure the erlang vm to open more tcp connections between two nodes? will that solve the problem?
From: Jesper Louis Andersen <jesper.louis.andersen@REDACTED>
To: Dror Mein <drormein@REDACTED>
Cc: Gleb Peregud <gleber.p@REDACTED>; Erlang-Questions Questions <erlang-questions@REDACTED>
Sent: Tuesday, July 2, 2013 12:13 PM
Subject: Re: [erlang-questions] Is there a lomit on erlang vm nodes connection speed
On Tue, Jul 2, 2013 at 9:20 AM, Dror Mein <drormein@REDACTED> wrote:
Note: The shell is interpreted and you are building a closure for no reason. Try pushing your code into a module and then compiling that module to bytecode and run it again. Chances are you are basically just being bitten by interpretation overhead. Also, you should probably increase the message size to around 100 bytes if that is what you expect to send and receive. There is a messaging overhead which you are paying as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions