Earlier quoted context omitted.
Ugh. WiFi signals aren't the best in my A/V cabinet, so I ran G.hn powerline to it. This works great 98% of the time, but occasionally there will be something that blocks traffic for a short period of time, and those things must have huge buffers. If I'm e.g. watching Netflix when there is a hiccup, I see ping times of over a minute! I wrote a program that monitors ping times and reboots the G.hn adapters when they g…
Do you live near an airport ( https://en.wikipedia.org/wiki/Dynamic_frequency_selection ? You are probably using channels that interfere with radar and when a router detects the radar, it should shutdown for a minute or so.
Queues don't fix overload (2014)
151–156 of 156 posts
Re: Queues don't fix overload (2014)
#152So far as I know there is no theoretical alternative to load shedding or increasing handling capacity if your average request arrival rate is greater than your average request handling rate. At least, not if you want to handle every accepted request using a finite queue[1]. It would appear that with an unbounded queue every request will eventually be handled, but with an unbounded latency guarantee. Which appears equ…
> It would appear that with an unbounded queue every request will eventually be handled Of course there is no such a thing as an unbounded queue.
Re: Queues don't fix overload (2014)
#153Earlier quoted context omitted.
The overflow goes to the same drain, but further down, past a bottleneck that's designed to be there for a logical reason. It's a good example of real world flow control considerations vs paper theory.
Continuing the analogy from the article though, the sink overflow doesn't go past the red arrow in their diagrams. It's there to solve the specific problem of "the sink drain is plugged, either because you left the water running with the plug in or because there's a ball of hair immediately below the drain".
[1]: Flooded 4 floors of a five-star hotel by puking in a sink and falling asleep before turning the water off.
Re: Queues don't fix overload (2014)
#154Earlier quoted context omitted.
Do you live near an airport ( https://en.wikipedia.org/wiki/Dynamic_frequency_selection ? You are probably using channels that interfere with radar and when a router detects the radar, it should shutdown for a minute or so.
Does that apply to G.hn? I thought it was only WiFi on the 5Ghz band?
Re: Queues don't fix overload (2014)
#155Earlier quoted context omitted.
> (...) people really did think of network congestion as a buffer allocation problem, so the obvious solution was more buffering - i.e. adding queues. I don't think people believed network congestion was a buffer allocation problem. I think people believed buffering was a way to mitigate congestion caused by a spike in traffic before allowing connection problems to surface (dropped packets, dropped connections, etc).…
> I don't think people believed network congestion was a buffer allocation problem. Actually, they did, because everything in the early days had very small memory sizes. This was the 16-bit era.
I don't think that's a possibility. If buffers are smaller then buffer capacity was not infinite, and the same failure modes applied. Triggering dropped packets/connections was just a matter of sending enough network traffic down a pipe, which given buffers were small then it wasn't a technical feat.
Re: Queues don't fix overload (2014)
#156Earlier quoted context omitted.
Which is why your test integration environment has to throw 429 and 5xx errors consistently from day one. The error handling paths are hard to retrofit but easy to do before deployment.
(What test environment?) That will make you introduce error handling , but not necessary "correct" handling. "Retry after errors" is a great way to overload a system.