[erlang-questions] erlang socket send and rcv, high CPU usage

Max Lapshin max.lapshin@REDACTED
Mon May 20 19:15:20 CEST 2013


erlyvideo can send about 5-6 gigabits per second via one network interface.

If you want to reach such amounts, use blocking gen_tcp:recv with big
buffer. Not gen_tcp:recv(Socket, 100), but gen_tcp:recv(Socket,
1000000)



More information about the erlang-questions mailing list