Chiosa
Systems & Infrastructure

Different retry limits help protect important service requests

Prioritizing Microservice Requests via Retries · arXiv:2610.20567

3 min
Updated

In plain words

Microservices are small services that pass requests to one another. When one is overloaded, it may reject important requests, and retries can add more work. This paper introduces DiffTry, which lets each request class have its own retry limit, set locally by the service sending the request.

In a tested hotel-reservation service network, a numerical model found that unequal retry limits reduced rejection of high-priority requests during the heaviest tested overload. A live deployment's measured rejection was also close to the model's prediction. These results cover the tested setup, not every service network.

The research

When independently managed services become miscoordinated, an overloaded downstream service can reject valuable requests. Retries can make that overload worse by adding traffic. Can retry rules give important requests a better chance without requiring services to coordinate or sense overload?

DiffTry assigns each request class a local retry limit, using the limits to shift overload rejections toward lower-priority traffic.

The paper asks whether retries can protect valuable requests when a downstream microservice is overloaded, without waiting for services to coordinate or detect overload.

DiffTry assigns request classes different retry limits locally, so requests with fewer permitted retries are more likely to be dropped when service remains unavailable.

In a modeled hotel-reservation network under the heaviest tested flood, high-priority rejection fell from about 54% with equal retry limits to about 15% with unequal limits, while low-priority rejection rose to about 61%.

A live deployment's measured rejection was close to the model's prediction, supporting the claim that local retry choices can produce network-wide prioritization in this tested setup.

The general question of whether the network equations have a unique solution for cyclic service networks remains open.

The live comparison also uses the application's native fan-out, while the analytical model assumes probabilistic routing, so the close match applies to this tested application and setup.

What the evidence shows

  • When services fall out of step

    Microservices manage their capacity and retries independently, so their actions can become miscoordinated. If a downstream service cannot keep up, it may reject requests, including valuable high-priority ones.

    Retries that ignore priority can add still more load. The paper asks how retries might protect important requests during overload without requiring services to coordinate or explicitly detect overload.

  • Use retries to set priorities

    DiffTry (Differential Retries) assigns each request class a local retry limit. A request that reaches its limit without being served is dropped, so a class with fewer permitted retries can absorb more rejections during overload.

    This turns the retry decision into a way to prioritize which requests are more likely to complete, while limiting retry traffic from classes with smaller budgets.

  • Check the local tradeoff

    The authors first examine a single downstream service. They fix the high-priority retry limit, vary the low-priority limit, and sweep low-priority arrivals while keeping high-priority arrivals fixed.

    A simulation closely matches two calculations of the service. Across the tested traffic mixes, the class with the larger retry limit has substantially lower rejection; increasing the lower-priority limit also increases retry traffic and total load.

  • Test the network effect

    The authors extend the calculations across routed services, then compare unequal retry limits with equal limits in the hotelReservation application. At the heaviest tested flood, the numerical model predicts high-priority rejection drops from about 54% to about 15%, while low-priority rejection rises to about 61%.

    A live Kubernetes deployment's measured rejection differs from the model prediction by about 0.03 in absolute probability.

  • Read the result within bounds

    The network equations converge when the standard open-network traffic equations have a solution, and the authors prove a result connecting higher relative retry limits with higher class completion rates under stated conditions.

    But they leave uniqueness open for general cyclic networks. The live application also uses native fan-out, unlike the model's probabilistic routing, bounding what the close model-to-deployment match establishes.

Deep

Next paperA GPU tokenizer preserves IDs while speeding cached requests