4 ms·
The goal of a queue is to be empty, the purpose of a queue is to occasionally not be.
by nkozyra 4y ago
The goal of a queue is to be empty, the purpose of a queue is to occasionally not be.
- robotresearcher 4y agoUnless the goal of your queue is to avoid starving consumers. Then it should always be non-empty.