arXiv:2610.20567cs.NIOct 2026

Manuscript Offprint

arXiv:2610.20567

Prioritizing Microservice Requests via Retries

Ofek Lavi, Jhonatan Tavori, Hanoch Levy, Anat Bremler-Barr

Ofek Lavi* Jhonatan Tavori§ Hanoch Levy* Anat Bremler-Barr*

*Tel Aviv University §Columbia University

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.

I. INTRODUCTION

Cloud service providers have largely converged on microservice architectures, decomposing monolithic applications into hundreds, often thousands, of loosely coupled services [1], [2]. This paradigm allows each component (microservice) to scale elastically in response to demand, implementing capacity scaling, retries, timeouts, and circuit breakers autonomously.

While these mechanisms achieve high microservice independence and simplicity in design, their coordination is challenging and their operations can get miscoordinated. During periods of miscoordination, in particular, miscoordination of service capacity, some microservices may become overloaded due to their service capacity not up-scaled to the load generated by upstream services. Such overload periods may result in significant losses of transactions, due to their blocking/rejection by the downstream overloaded microservice.

The negative economic effects of such rejection periods are further compounded when they affect high-value (high-priority) transactions. These may include premium transactions (such as a customer with a loaded cart, or a preferred customer), mission critical transactions and others.

Two main overload-prevention methodologies are used in the literature and in practice: (i) local auto-scaling approaches (e.g., [3]), and (ii) network-wide centralized approaches (e.g., TopFull [4], which offers network-wide source throttling). Local auto-scaling reacts to overload by increasing resources at individual nodes. While it can respond quickly, it lacks a global view and therefore cannot address traffic miscoordination across services. Centralized approaches have such a global view, but require collecting network-wide information and are therefore slower to react. The resulting time gap can create temporary periods of miscoordination and overload, during which high-value transactions may still be rejected. Malicious users can exploit this weakness by injecting spikes of cheap low-value transactions, overloading critical microservices and causing mass rejections of innocent high-value traffic, thereby inflicting economic damage on the service [5].

In this paper, we propose DiffTry as a mechanism for service differentiation and load control using retries.

References (39)