Every time you make a video call, your router faces hundreds of decisions per second: this packet carries your voice, that one carries a web image, another is a background update. They all want the wire at the same time, but only one can go first.
The naive answer — first come, first served — turns out to be terrible for voice and video. Those flows have deadlines: a voice packet that arrives 200 ms late is useless, while a background update can wait an extra second without anyone noticing.
Earliest-Deadline-First (EDF) is the scheduling rule that was proven optimal for exactly this situation by C. L. Liu and James W. Layland in 1973. The idea is as simple as it sounds: always send the packet whose deadline is closest. What makes EDF remarkable is not the idea itself — it is the proof that no other rule can do better when the link has enough capacity to meet all deadlines at all.
Comments
Loading comments...