ITed Myself

Episode 153 - What Can Phantom Traffic Jams Teach Us About Progress Bars

Episode Summary

A phantom traffic jam forms when one driver brakes harder than needed and the slowdown ripples backward long after the cause is gone. The episode uses that spring-like effect to explain why progress bars stall, jump, and hang at 100%, and why a bar is only as honest as what its developer chose to measure.

Episode Notes

Host Matthew Minneman starts with the ordinary causes of traffic, including poor road design, population, sun glare, and weather, then explains phantom traffic jams. One driver slows for something unexpected, each driver behind brakes a little harder, and the line of cars compresses and stretches like a spring. By the time most drivers reach the spot, the cause is gone. He uses a busy roundabout as an easy place to see it. Progress bars behave the same way, he says, because they depend on what the developer measures. Minneman describes several approaches: a simple timer, a count of items processed, a measure of data moved, and an average based on speed. Each can stall or jump, and the reason is rarely visible to the person waiting. He ends with spinning wheels, which show activity but no real information, and compares them to changing lanes in a jam.

In this episode:

Key takeaway: A progress bar reports only what its developer chose to measure, so stalls and jumps are part of the design. If you build one, show real work being done so people are not left guessing.