[erlang-questions] Limit the Network Bandwidth per application
Sun Jan 1 18:37:55 CET 2017
You might want to take a look at https://github.com/duomark/epocxy <https://github.com/duomark/epocxy> for cxy_fount. I gave a talk on this at EUC 2016 (https://github.com/duomark/epocxy/blob/master/doc/2016-09-09-EUC-Concurrency-Fount.pdf <https://github.com/duomark/epocxy/blob/master/doc/2016-09-09-EUC-Concurrency-Fount.pdf>). It provides pace regulation via a reservoir of processes that are gated per 1/100th of a second. You would have to arrange to split your data stream to separate processes, but all the pace regulation is there (and implemented as a behaviour, so you could experiment with alternative pacing approaches).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions