Prioritizing Microservice Requests via Retries
Ofek Lavi, Jhonatan Tavori, Hanoch Levy, Anat Bremler-Barr
Key points
From the paper's conclusion- We propose simple modifications in retry operations, overcoming these deficiencies by transforming retries into a rejection prioritization mechanism, DiffTry (Differential Retries).
Abstract
Cloud services rapidly shift towards independently-managed microservices architectures. This independence may lead to temporary microservices miscoordination, resulting in overloads and rejections of valuable transactions. This weakness may further be exploited by attackers to launch overload attacks inflicting performance and cost damages. Retry operations are a key machinery aiming at overcoming seldom rejections. However, during overload periods they: a) Fail protecting valuable transactions from rejections, and b) Trigger large-scale performance-degrading retry storms. We propose simple modifications in retry operations, overcoming these deficiencies by transforming retries into a rejection prioritization mechanism, DiffTry (Differential Retries). It is based on a simple, lightweight, distributed and stateless design and requires neither overload sensing nor microservices coordination. We develop an analytical model capturing DiffTry's effectiveness for two services in tandem, then generalize it to networks of services. Our theoretical framework lets practitioners quantify, for a given network, the resulting prioritization and rejection rates, and yields formal guarantees that DiffTry substantially reduces the impact of both incidental and adversarial orchestrated overloads. We validate these predictions in simulation and on a live Kubernetes deployment, where DiffTry is a simple drop-in service-mesh plugin requiring no application changes; the measured rejection closely matches the analysis.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Retry Amplification in Distributed Systems: A Systematic Analysis of Retry Policies and Their Role in Cascading FailuresarXiv · 2026
- When Online Adaptation of Resilience Policies Hurts: Safe Exploration and Measurement Pitfalls in Resilience4jarXiv · 2026
- Cancellation Is Not Enough: What Retries Leave Behind in an Overloaded LLM EnginearXiv · 2026
- Retrials in Loss Systems: Mean-Field Analysis, Erlang Bounds, and Power-of-$d$ ComparisonarXiv · 2026
- Failure Isolation And Blast Radius Control In Large-Scale Distributed SystemsInternational Journal of Advances in Signal and Image Sciences · 2026
- Benchmarking Coding Agents for System-Level Performance OptimizationarXiv · 2026