[erlang-questions] Proper replacement for io_lib:format due to low speed

Max Lapshin <>
Sun Mar 22 12:42:30 CET 2015


Very funny.

After I've changed io_lib to io_libc and then to hardcoded packing by
Chandru happened very funny situation.

Client (strange client) is requesting very long HLS playlist very often.
Before fixes flussonic hanged on about 5 request per second.

Now flussonic can send about 15 requests per second without even warming
CPU. Each request is about 700 kbytes, so this broken client is getting
 about 90 megabits per second.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150322/02649022/attachment.html>


More information about the erlang-questions mailing list