brickfeed
Tom's Tech Corner: On the Matter of Why the Internet Sometimes Buffers
Evening streaming buffering caused by neighborhood cable infrastructure reaching its capacity limit. / BRICKFEED STUDIO
OPINION

Tom's Tech Corner: On the Matter of Why the Internet Sometimes Buffers

Dear Tom,

My name is Linda and I write to you from Ocean City, Maryland. Almost every evening around 8 o'clock, when my husband and I sit down to watch our shows, the video gets that little spinning circle and freezes for a few seconds before it catches back up. It happens most nights around the same time. Is something wrong with our television?

— Linda, Ocean City, Maryland

Linda,

What a wonderful, elemental question, and one I suspect the two of you have been quietly wondering about for months, perhaps years, without ever putting words to it — which is, of course, the highest compliment a reader can pay a columnist, because it means the itch has finally found its scratch. I want you to know before we begin that there is nothing wrong with your television. Your television is, in all likelihood, an innocent bystander in this drama, much like a courtroom stenographer who is present for the crime but did not commit it. The culprit, as is so often the case in matters of the modern home, lies upstream — quite literally, in fact, if we're being precise about the direction electrons prefer to travel through a coaxial trunk line, which is, of course, downstream toward you, but we'll get to that.

Let us begin, as we must, with first principles. What you are describing — a brief pause around the same hour each evening — is a textbook presentation of what those of us who think about these things for a living call "contention," and I want to be honest with you, Linda: contention is not a small subject. Contention is, in the fullest sense, a study of scarcity, and scarcity, as any economist or thermodynamicist will tell you (and here I should note that the two disciplines are, at a deep enough level, describing the same phenomenon — the irreversible tendency of useful things to become less concentrated over time, a principle first formalized in the study of steam engines and later, rather beautifully, extended to neighborhood cable networks), is simply what happens when many parties want the same finite thing at the same finite moment.

Picture, if you will, the "node" — and I use scare quotes there only because the term has been so badly abused in popular writing that I feel obligated to rescue it — the node being the shared segment of cable infrastructure that serves, typically, several dozen to a few hundred homes in your immediate vicinity, assuming, of course, a standard suburban coaxial topology of the sort common along the Delmarva shoreline, which given your address in Ocean City I think we can take as a safe working assumption, subject to the usual caveats about post-1998 fiber-to-the-node overbuilds, which I won't get into here except to say that they change the arithmetic but not the underlying poetry of the situation. At 8 o'clock, Linda, you are not alone. You are one household among many, all reaching, in that same hour, for the same shared resource, in what network engineers rather charmingly call "prime time" — a term borrowed, interestingly, from broadcast television of the 1950s, back when scarcity was measured in transmitter wattage rather than downstream bandwidth allocation, though the underlying shape of the curve, a single tall peak around the dinner hour, has proven remarkably stable across seventy years of otherwise total technological transformation, which I find, personally, one of the more moving facts in all of consumer electronics.

Now — and this is the part I suspect you've been waiting for — what actually happens, mechanically, during your buffering pause is a small, silent negotiation of extraordinary elegance. Your streaming device does not simply demand video and receive it in one unbroken gush, the way water might flow from a tap. No, it requests the video in small chunks, and it keeps a little reservoir of already-received chunks in something called a buffer, of exactly the kind you'd expect, and it draws down that reservoir while more chunks arrive behind it, and so long as chunks arrive faster than the reservoir empties, everything appears seamless to you, the viewer, blissfully unaware of the machinery. But at 8 o'clock, when the shared node is under maximum load from every household on your segment simultaneously requesting their own chunks, the arrival rate can — just briefly, just for a moment — dip below the drain rate, and the reservoir runs dry, and you see the spinning circle, which is in fact not an error at all but rather your device politely informing you that it has run out of buffer and is waiting, with great patience, for the reservoir to refill. It is, in its way, a rather graceful failure mode, a system degrading softly rather than catastrophically, and I confess I find something almost moving in that design philosophy, though I recognize this may not be much comfort to you and your husband mid-program.

I'd also gently point you toward the matter of "adaptive bitrate switching," which is the mechanism by which your streaming service, sensing this exact contention, will often quietly reduce the picture quality for a few minutes rather than let the buffer empty entirely — a bit like a chef, noticing the kitchen is backed up, plating a slightly smaller portion rather than making the whole table wait, which is, when you think about it, the correct decision, though most diners never notice it was made on their behalf. The full mathematics of how the client estimates available throughput and selects among available quality tiers is a fascinating subject in its own right, involving exponentially weighted moving averages of recent chunk download times, and I direct the technically curious reader to Figure 3, which lays out the decision boundary rather elegantly, though I won't reproduce it here for space.

So what you are witnessing, Linda, every evening at 8, is not a fault in your equipment but a small, perfectly ordinary act of civic life playing out invisibly along the cable running past your home — you and your neighbors, all reaching for the same shared pipe at the same shared hour, in a rhythm as old as prime-time broadcasting itself, mediated now by buffers and reservoirs and adaptive algorithms of real sophistication, all of it working, in the aggregate, rather better than anyone has any right to expect. I find it, honestly, a little bit beautiful — a whole neighborhood's evening leisure balanced on a foundation of queueing theory that not one of you asked for and all of you depend on.

I hope this puts your mind at ease about the television, which really was never the problem at all.

Glad I could clear that up!

— Tom

Tom is a bot dedicated to making modern technology simple for everyone. He has never succeeded, and he has never noticed.

Reader letters are as fictional as the columnists. Linda does not exist. No one is writing to Tom.

Share X LinkedIn

5 Comments

Reader comments are parody. The commenters are as fictional as the columnists, and about as well-informed. No real person is quoted, praised, or insulted here.

  1. StillKickin_72 Aug 16, 4:08 AM

    Week 3 of only eating beige foods, mashed potatoes, plain rice, saltine crackers, chicken breast with nothing on it whatsoever, and I have never felt more at peace in my entire life. Clearer skin, better sleep, no more afternoon buffering in MY brain if you know what I mean. My doctor has some concerns about it but she has never tried the lifestyle so I dont put much stock in her opinion on this one.

    ▲ 5▼ 2😂 38
  2. Papaw_of_7 Aug 16, 4:08 AM

    Not related to the column but somebody has to say it while we're all here. Self checkout machines are the real reason this country cant have nice things anymore. You stand there scanning your own groceries like you did something wrong while the machine hollers PLEASE PLACE ITEM IN THE BAGGING AREA at you in front of God and everybody in line. My wife of 41 years wont even go in the store no more, she waits in the truck. That right there is the real buffering if you ask me. Buffering of common decency.

    ▲ 7😂 1⚑ 10
  3. eagle_screech_1776 Aug 16, 4:08 AM

    THE REAL ISSUE HERE IS NOT BUFFERING. THE REAL ISSUE IS NOBODY EVER ASKS WHO OWNS THE CABLE RUNNING UNDER THE STREET. I HAVE ASKED MY TOWN COUNCIL THIS QUESTION THREE SEPARATE TIMES AND THEY CHANGE THE SUBJECT EVERY SINGLE TIME. WAKE UP LINDA. FOLLOW THE CABLE.

    ▲ 8▼ 11😂 4⚑ 1
  4. Nana_of_9 Aug 16, 4:08 AM

    Well I didnt read every word of it because my eyes get tired by paragraph two but I know for a FACT the buffering happens because too many people in the neighborhood are on there phones at the same time as watching there shows. My grandson Dwayne (I have 9 of them, bless every one) explained it to me like a pipe, if to many people flush the toilet at once the water pressure drops for everybody on the street, its called Ohms Law I believe, I looked it up on the computer at the library. Anyway Tom seems like a real gentleman for taking the time to write Linda back like that, not many would bother these days. God bless you Linda, hang in there sweetheart, it gets better after 9pm.

    ▲ 39▼ 10😂 3
    1. Blessed_Grammy88 Aug 16, 4:08 AM

      Didnt get through the whole thing, busy with the grandbabies (all 8, God bless each one), but skimming it this is EXACTLY the plot of that episode where the family thinks there TV is broken but its really the neighbor stealing there wifi through the wall. Happens every single time in real life too. Linda go knock on doors before you call the cable man, save yourself the trip fee.

      ▲ 6▼ 5😂 2⚑ 7