Interview Prep/Networking/Performance, Cost & Scale

How do you design for graceful degradation when the network is partially failing?

AdvancedProductionPerformance, Cost & Scale
Answer

Timeouts and deadlines on every call, circuit breakers, bulkheads to isolate pools per dependency, fallback behavior (cached data, default responses), load shedding, and clear priority for critical traffic. Test with chaos tools: tc netem for latency and loss, Toxiproxy, Chaos Mesh, AWS FIS.

sudo tc qdisc add dev eth0 root netem delay 100ms 20ms loss 1%
sudo tc qdisc del dev eth0 root
All Networking questions Roadmap: Networking for DevOps

More on Performance, Cost & Scale