Logging to one process from thousands: How does it work?

Joel Reymont joelr1@REDACTED
Tue Jan 3 22:03:43 CET 2006


How do you implement a bounded queue in Erlang without busy-waiting?

On Jan 3, 2006, at 8:02 PM, David Hopwood wrote:

> This makes the problem less likely to occur, but it isn't  
> necessarily enough
> to prevent a message backlog in all cases. In principle, the right  
> way to
> handle this is to provide back-pressure to the message sources,  
> i.e. to allow
> the logging operation to block in each source. The simplest way to  
> do that is
> to use bounded queues.

--
http://wagerlabs.com/








More information about the erlang-questions mailing list