[erlang-questions] Heavy duty UDP server performance

Sergej Jurečko <>
Wed Feb 3 17:26:15 CET 2016


Yeah same experience and solution that we used. I presume there is a lot allocation/fragmentation going on with udp, since packets tend to be small and there are so many of them.

Sergej

> On 03 Feb 2016, at 17:23, Max Lapshin <> wrote:
> 
> When we use plain gen_udp to accept 200-400 mbit of incoming MPEG-TS traffic in flussonic, we use about 50% of moderate 4 core xeon e3 server.
> 
> When we switch to our driver implementation of udp that collapses several contiguous udp messages into single big message (it is allowed for mpegts) we reduce usage to 15-20%
> 
> I can't tell that it is "badly written udp in erlang", just messaging is rather expensive.



More information about the erlang-questions mailing list