Every time you stream a video, join a video call, or download a file, your data travels as a stream of packets. Networks are not perfectly reliable: routers drop packets under load, radio links lose bursts to interference, and satellite links add hundreds of milliseconds of delay. Asking the sender to resend a lost packet costs a full round-trip â an eternity on high-latency or one-way links like deep-space probes.
Forward Error Correction (FEC) sidesteps the problem entirely. Instead of sending data packets and hoping all arrive, the sender transmits coded packets â the original data plus redundant parity packets computed from it. The receiver can reconstruct the missing data from any of the packets, even if were lost in transit.
The simplest version uses XOR: if you send packets , , and , then losing any one of the three lets you recover it from the other two. Richer codes scale this idea: ReedâSolomon, used in CDs and QR codes since the 1960s, and LDPC codes, used in Wi-Fi and 5G, extend the same principle to large blocks with near-optimal efficiency.
FEC is a solved problem in the sense that Shannon's channel capacity theorem (1948) tells us exactly how much redundancy a noisy channel requires. Practical codes that achieve that limit with polynomial-time encoding and decoding took decades more to find, but they now underpin every wireless standard you use.
Comments
Loading comments...