On 12/19/13 6:31 AM, Jason Fager wrote:
I work on a system that handles 10s of billions of events per day, and
we do a lot of queueing.  Big +1 on having bounded queues.  Unbounded
in-memory queues aren't, they just have a bound you have no direct
control over and that blows up the world when its hit.

The only reason to have a queue size greater than 1 is to handle spikes
in the producer, short outages in the consumer, or a bit of
out-of-phaseness between producers and consumers.

Well, also parallelism.

Patrick

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to