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
More on Performance, Cost & Scale
How do you reduce cross-AZ data transfer costs?IntermediateWhat are the main drivers of AWS network cost and how do you control each?IntermediateHow do you find what is driving a surprise NAT gateway bill?AdvancedHow do you tune Linux network settings for a high-traffic server?IntermediateHow do you reach 100k+ concurrent connections on one proxy?AdvancedHow do you choose instance types for network-heavy workloads on AWS?Intermediate