[erlang-questions] process per task or not ?

Jay Nelson jay@REDACTED
Wed Nov 27 06:28:39 CET 2013

Check https://github.com/duomark/dk_cxy for concurrency limiting utilities.
cxy_ctl module provides a cap on the number of concurrent processes and
when it is exceeded you have the choice of refusing to execute, or executing
the request inline without spawning as a form of back pressure on demand.
The concurrency limits are configured declaratively on initialization, using
a concurrent ets table to manage the count and a ring buffer of historical
execution times for spawned processes.


More information about the erlang-questions mailing list