News for hackers. Stuff that matters.
Re:Queues Don't Fix Overload by mononcqc on Thursday November 20, 2014 @10:27AM (#8636140)
The longest queue is going to be in front of the tightest bottleneck, but not the central bottleneck critical to your application.

If you find you have a bottleneck halfway through the pipe and you make that bottleneck go away, your true real bottleneck down in the wall still remains there, and all your optimizations done above that one will end up just opening the floodgates wider.

Once you've protected that kind of more at-risk core, then it's easier and safer to measure everything that sits above it in the stack, and it puts an upper bound on how much you need to optimize (you stop when you hit your rate limits on the core component).

Re:Queues Don't Fix Overload by jacques_chester on Thursday November 20, 2014 @04:36PM (#8638309)
Dumb question: how does one decide which is the "true" bottleneck? There's always a bottleneck, surely.

I'm reminded of Weinberg's quip that solving your most pressing problem just promotes #2 into first place.