[erlang-questions] async threads

Max Lapshin max.lapshin@REDACTED
Mon Jun 10 11:49:09 CEST 2013


Flussonic is currently running on some installations and sending more
than 4 GBit/s of video from disk to the network.

Of course, no hardware RAID is used, because it cannot work with such loads.

It is a common situation when one of 16 attached HDD is used on 100%.
I have decided to make following configuration: 160 async threads with
small stack size
and set of gen_servers that can block access to one hdd.

When it is required to read a chunk from disk, web process asks this
queue locker to allow to read from disk and if during 5 seconds,
access isn't granted, user gets HTTP 503 which means that this disk is
overloaded.



More information about the erlang-questions mailing list