Why “Just Retry” Will Kill Your Edge System

The assumption baked into most distributed systems advice doesn’t hold at the edge — and the cost of finding out the hard way is high. There’s a piece of conventional wisdom that gets passed around...

By · · 1 min read
Why “Just Retry” Will Kill Your Edge System

Source: DEV Community

The assumption baked into most distributed systems advice doesn’t hold at the edge — and the cost of finding out the hard way is high. There’s a piece of conventional wisdom that gets passed around in backend engineering circles like it’s settled science: If a request fails, retry it. It’s good advice — for systems where the failure mode is “the service was temporarily unavailable.” It’s dangerous advice for systems where the failure mode is “the network doesn’t exist right now and won’t for… unknown hours.” The latter is the reality for edge systems. The retry model is built on a hidden assumption When you write retry logic, you’re implicitly betting that the failure is temporary (and not recurrent or even chronic) and that the infrastructure on the other side is still there, waiting. In a data center, that’s a fair bet. Services restart, load balancers reroute, and the upstream is almost always reachable within seconds. At the edge, the betting odds are against you. Think of drilling

Similar Topics

#artificial intelligence (31552) #data science (24017) #ai (16747) #deep learning (7655) #programming (3999) #data engineering (2565) #deep dives (2512) #hands on tutorials (1874) #python (1819) #open source (1686) #data analysis (1305) #security (717) #coding (592) #productivity (375) #pandas (277) #webdev (254) #supply chain security (245) #javascript (229) #benchmark (118) #codeql (106)

Related Posts

Trending on ShareHub

Latest on ShareHub

Browse Topics

#artificial intelligence (31552) #data science (24017) #ai (16738) #generative ai (15034) #crypto (14987) #machine learning (14680) #bitcoin (14229) #featured (13550) #news & insights (13064) #crypto news (11082)

Around the Network