Monday, January 25, 2010
Maxim 5: No queue should be allowed to grow without bound
All queues in your system must have a finite bound on their length, otherwise you risk consuming all memory available to your process and crashing. It's not just queues that should not be allowed to grow without bound, but also all resources including strings, should have an upper bound. Setting the upper bound is sometimes a delicate business, but set it must be.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment