Can you stop packet loss completely, dunno, maybe..?

If you've ever had a TCP connection between two distant regions, say London to Sydney, you already know what happens. A tiny bit of packet loss and your p95 latency goes off a cliff. TCP retransmit...

By · · 1 min read
Can you stop packet loss completely, dunno, maybe..?

Source: DEV Community

If you've ever had a TCP connection between two distant regions, say London to Sydney, you already know what happens. A tiny bit of packet loss and your p95 latency goes off a cliff. TCP retransmits are brutal over long routes. The standard answer is "just deal with it" or "pay for a premium network." Neither felt right so I built something else. entrouter-line is a cross-region relay that sits between your nodes and absorbs packet loss using Reed-Solomon Forward Error Correction. The idea is simple, instead of waiting for TCP to detect loss and retransmit, FEC sends enough redundancy that the receiving end can reconstruct missing packets without asking for them again. The numbers on London to Sydney over cheap Vultr VPS: 0% loss → relay p95: 280ms | direct TCP p95: 271ms (TCP wins by 9ms, fair) 1% loss → relay p95: 280ms | direct TCP p95: 758ms (relay wins by 478ms) 3% loss → relay p95: 280ms | direct TCP p95: 817ms (relay wins by 537ms) 5% loss → relay p95: 280ms | direct TCP p95: 10