[erlang-questions] Bounded Buffer Problems/Solutions

Eric Newhuis <>
Wed Oct 10 21:37:37 CEST 2012

What are the generally accepted solutions for when producers need to be throttled?  gen_server as consumer or otherwise?

Are there any good solutions or philosophy for the bounded buffer problem in Erlang?  ..flow control?  Freaky out-of-band communication at a distance to limit messages sent?  Use the idea of rope:  Message in reverse to a producer shim that he is allowed to send N more messages before he needs to ask for the right to send more?  Other?

Are there common Erlang idioms for monitoring execution time at the gen_server level so that an API can respond upward with a policy of "the system is currently busier than a one legged man in a kicking contest?"

More information about the erlang-questions mailing list