Paper 1 of 5
Prioritizing Microservice Requests via Retries
Problem
Existing retry mechanisms either reject high‑priority requests as much as low‑priority ones or cause large retry storms, and the obvious fix of adding overload sensing or centralized coordination does not work because it requires extra infrastructure and cannot operate statelessly.
Approach
DiffTry assigns a distinct retry‑budget to each priority class, limiting the number of retry attempts for low‑priority flows while allowing more attempts for high‑priority flows. The mechanism is lightweight, distributed and stateless, requiring no overload detection or microservice coordination. Service A retains rejected requests and retries them up to the class‑specific budget before dropping them permanently. The analysis uses a fluid model for overload and a queueing model (M/M/1/m) for no‑overload to predict rejection rates. The resulting equations are solved iteratively to obtain per‑class rejection probabilities across a network of services.
Result
The authors validate the analytical predictions in both simulation and a live Kubernetes deployment, observing that the measured rejection rates closely match the model’s predictions across overload and no‑overload scenarios.
Why it matters
System designers and operators of large microservice deployments should consider DiffTry to protect high‑priority traffic and mitigate retry‑storm overhead during overload or attack conditions.
Method details
- Fluid‑model approximation captures steady‑state load and rejection probability under persistent overload
- Queueing‑specific blocking expression for M/M/1/m model used to handle no‑overload regime
- Implemented as a drop‑in service‑mesh plugin on a live Kubernetes deployment with no application changes
Limitations
The paper does not provide formal guarantees for very small buffer sizes where the fluid approximation deviates, though a mixed approximation is proposed to improve robustness.
DiffTry ensures that high‑priority requests receive preferential treatment under overloadFound in the source text, word for word.
Picked because: Provides concrete retry strategies for microservice coordination, directly applicable to cloud and DevOps automation.