Concurrency Fount: a Pace-Regulated Supply of Newly Spawned Processes by Jay Nelson
2016-09-30 Erlang Central
Slides and more info: http://www.erlang-factory.com/euc2016/jay-nelson Worker pools have become the most overused (and most commonly improperly implemented) Erlang tool. The new cxy_fount behaviour of https://github.com/duomark/epocxy offers an alternative that doesn't suffer the catastrophic failures of most supervised worker strategies. It provides a reservoir of pre-spawned single-use processes, with a time-regulated replacement mechanism to allow back pressure to smooth demand spikes. The ...