15 / 16 · Reliability
Resilience and capacity
How a service survives slow and failing dependencies and heavy load: timeouts and deadlines, retries with backoff and jitter, retry amplification, circuit breakers, bulkheads, rate limiting, load shedding, backpressure and idempotency keys, Little's law, queueing delay against utilization, and capacity planning.
On this page 13
The previous note showed that a service’s availability is at most the product of the availabilities of its hard dependencies, and that the error budget is spent by every failure users see. This note is about keeping failures small: making sure that a slow or broken dependency costs a few failed requests rather than the whole service, and that heavy load produces quick refusals rather than a queue that never drains. The tools are a short list of patterns, timeouts, retries, circuit breakers, bulkheads, load shedding and idempotency, and one piece of mathematics, queueing, which says how much load a service can take before its latency explodes.
Setup. Python examples ran on CPython 3.14.7 (macOS, Apple M1) with only the standard library; their output is pasted as printed. The Istio configuration in the Example was written against the Istio documentation of October 2026 and not executed.
Baseline: call and wait#
The simplest client calls a dependency and waits for the answer. The checkout service calls the payment service, and the payment service calls the bank:
response = requests.post("https://payments.example.com/charge", json=order) # no timeout given
Most HTTP clients, Python’s requests among them, wait forever by default when no timeout is given. As long as everything is healthy, this works. Then the bank becomes slow, not down, just slow, answering in 30 s instead of 300 ms:
- Each checkout request now holds a worker thread and a connection for 30 s instead of 0.3 s.
- At 200 checkouts per second, the number of requests in flight grows from 60 to 6,000 (the section on Little’s law makes this exact). The worker pool of, say, 256 threads fills within seconds.
- New checkouts queue behind them, then time out at the gateway. Requests that have nothing to do with payments, such as browsing the catalogue, share the same threads and fail too.
- Users and the gateway retry. The load on the already saturated service doubles.
One slow dependency has taken down a service that was itself healthy. This is a cascading failure, and almost every pattern in this note exists to prevent one (Beyer et al., 2016, ch. 22).
How distributed calls fail#
A call over the network can fail in more ways than a local function call (Nygard, 2018, ch. 4):
- Fast failure. Connection refused, a 503, a reset: the caller learns at once. This is the easy case.
- Slow failure. No answer, or an answer after a long time: a hung process, a lost packet that TCP retransmits after a timeout of a second or more (the ACOS course), a database waiting on a lock. The caller learns nothing and keeps waiting, holding resources. Slow is worse than down.
- Partial and gray failure. One replica of ten is broken, or a server passes its health check while failing real requests (Huang et al., 2017). Averages look fine; some users see errors.
- Overload. The dependency works but has more requests than capacity, and every additional request makes the latency of all of them worse.
- Ambiguous failure. A timeout says nothing about whether the request was carried out. The payment service may have charged the card and lost the response. Retrying such a call is only safe if it is idempotent, a point the section on idempotency keys returns to.
Timeouts and deadlines#
A timeout bounds how long a caller waits for one call. Choose it from the dependency’s latency distribution: a little above its high percentile, so that a healthy dependency almost never hits it. If the payment service has a p99.9 of 180 ms, a timeout of 250 to 300 ms fails fewer than one healthy call in a thousand and releases resources quickly when something is wrong. A timeout of 30 s protects against nothing.
Timeouts on separate calls do not compose. A deadline is an absolute point in time by which the whole request must be answered, and deadline propagation passes what is left of it to every downstream call. The SRE book’s example: a request with a 30 s deadline spends 7 s in server A, so A gives B a deadline of 23 s; B spends 4 s and gives C 19 s (Beyer et al., 2016, ch. 22). With the checkout’s own numbers:
- The gateway accepts
POST /checkoutwith a deadline of 2 s from now. - After 40 ms of its own work it calls the checkout service with 1.96 s left.
- The checkout service spends 300 ms on stock and pricing, then calls payments with at most 1.66 s left, minus a margin for sending the answer back over the network (the latency budget per hop of the networking note counts those round trips).
- If payments sees that less time remains than its fastest possible answer, it fails at once instead of starting work that nobody will wait for.
Without propagation, a payment service with a hard-coded 5 s timeout of its own keeps working, and keeps calling the bank, for three seconds after the user has been told the checkout failed. gRPC propagates deadlines automatically in the grpc-timeout header (grpc-timeout: 1660m is 1,660 milliseconds); over plain HTTP, services pass the remaining time or the absolute deadline in a header of their own.
Retries, backoff and jitter#
Many failures are transient: a replica restarting, a dropped connection, a brief overload. Retrying turns them into successes. Three rules make retries help rather than hurt.
Retry only what can succeed and is safe to repeat. A connection refused, a 503 or a timeout may succeed on a second try; a 400 Bad Request or a 403 Forbidden will not. A request that changes state (a payment, an order) may be retried only if it is idempotent.
Wait before retrying, exponentially longer each time. With a base delay and a cap , the -th retry waits
With ms the delays are 0.1, 0.2, 0.4, 0.8 and 1.6 s, and the attempts happen at 0.1, 0.3, 0.7, 1.5 and 3.1 s after the first failure. Backing off gives a struggling dependency time to recover instead of hitting it again at once.
Add jitter. If a thousand clients failed at the same moment, say because the dependency restarted, plain exponential backoff makes them all retry at exactly the same moments: a thousand requests at 0.1 s, a thousand at 0.3 s, and so on. Each synchronized wave can knock the recovering service over again. Full jitter draws each delay uniformly between zero and the exponential value (Brooker, 2015):
Exponential backoff without and with full jitter
In the figure, 1,000 clients each make five retries after a failure at time 0. Without jitter, every retry of every client falls into the same 20 ms slot: five spikes of 1,000. With full jitter, the same 5,000 retries spread over 2.9 s, and the busiest 20 ms holds 313 of them. The total work is the same; the peak load is a third. The SRE book puts it as a rule: always use randomized exponential backoff (Beyer et al., 2016, ch. 22). TCP’s own retransmission timer has backed off exponentially since the 1980s for the same reason.
Retry amplification#
Retries at one layer are reasonable. Retries at every layer multiply. Let a request pass through layers that each retry, and let each layer make up to attempts (the first try and retries) at the layer below. If the bottom fails completely, every attempt at every layer fails, so each call at one layer becomes calls at the next:
The checkout path has three retrying layers, the API, the orders service and the inventory service, in front of the database. With :
Retries multiply at every layer
A script that simulates the call chain against a database that always fails, counting the calls each layer receives, printed:
3 attempts per layer, database down: {'api': 1, 'orders': 3, 'inventory': 9, 'db': 27}
4 attempts per layer, database down: {'api': 1, 'orders': 4, 'inventory': 16, 'db': 64}
One user click becomes 27 database calls, and with four attempts per layer, the figure the SRE book uses, 64 (Beyer et al., 2016, ch. 22). Worse, the multiplication happens exactly when the database is weakest. If each database call fails independently with probability , one call at a layer makes attempts on average, and a call fails only if all its attempts fail, with probability . Carried up three layers with :
| Database failure probability | 0.01 | 0.1 | 0.5 | 0.9 | 1.0 |
|---|---|---|---|---|---|
| Database calls per user request | 1.01 | 1.11 | 2.00 | 9.42 | 27.00 |
When failures are rare, retries are almost free. When the database is overloaded and failing nine calls in ten, retries multiply its load by more than nine, which guarantees that it stays overloaded. The fixes:
- Retry at one layer only, usually the one closest to the failing dependency or the one closest to the user, and have the others fail fast.
- Use a retry budget. Allow retries only up to a fraction of normal traffic, say 10 % per client or per process; the SRE book’s example is at most 60 retries a minute per process. With a 10 % budget per layer, the worst-case amplification over three layers is instead of 27.
- Do not retry on overload. A response that says “overloaded, do not retry” (a 429, or a 503 with
Retry-After) should stop retries at every layer above.
Circuit breakers#
If a dependency is failing, calling it at all wastes the caller’s resources and adds load to the dependency. A circuit breaker wraps calls to one dependency and has three states (Nygard, 2018, ch. 5):
- Closed: calls pass through; failures are counted over a sliding window.
- Open: after failures exceed a threshold (for example, more than 50 % of the last 20 calls), calls fail immediately without being sent, for a cool-down period such as 30 s.
- Half-open: after the cool-down, a few trial calls are let through. If they succeed, the breaker closes; if not, it opens again.
While the breaker is open, the caller does something cheaper than waiting: returns a cached answer, a default, or a fast error. A service mesh offers a per-host variant, outlier detection, which removes one bad replica from the load-balancing pool after a run of errors, as the Example shows.
Bulkheads#
A ship is divided into watertight compartments, bulkheads, so that one hole floods one compartment. In a service the compartments are separate resource pools per dependency. The checkout service gives payments a pool of 20 connections and recommendations a separate pool of 10. When recommendations hang, its 10 connections fill and calls to it fail fast, while the 20 for payments are untouched. Without bulkheads, the slowest dependency eventually holds every thread in the process, which is the baseline’s failure.
Rate limiting and load shedding#
Rate limiting caps how many requests a client may send. The common algorithm is the token bucket: a bucket holds up to tokens and is refilled at tokens per second; each request takes a token, and a request that finds the bucket empty is rejected with 429 Too Many Requests. With /s and , a client may send a burst of 20 at once and then 100 per second; a burst of 50 at once gets 20 through and 30 rejected.
Load shedding protects the server rather than fairness between clients. When a server is beyond its capacity, it is better to reject some requests quickly than to accept all of them and serve all of them slowly, because a quick rejection costs almost nothing while a slow request holds resources and probably times out anyway. A server sheds load when its in-flight requests or its queue exceed a limit, answering 503 at once, and preferably sheds by priority: background jobs and prefetching before user checkouts (Beyer et al., 2016, ch. 21).
Clients can shed too. In adaptive throttling, each client tracks over the last two minutes how many requests it sent and how many the backend accepted, and drops new requests locally with probability
with in the SRE book’s description (Beyer et al., 2016, ch. 21). If a client sent 1,000 requests and only 400 were accepted, it rejects of new requests itself, without sending them; as long as the backend accepts at least half, it sends everything.
Backpressure#
Backpressure is a consumer telling its producer to slow down. Its opposite, an unbounded queue between them, is a hidden failure: when the producer is faster, the queue grows without limit, and the system converts overload into ever-growing latency and memory until something crashes. The remedy is to make every queue bounded and to decide what happens when it is full: block the producer (TCP does this with its receive window, Python’s queue.Queue(maxsize=...) with put), reject new work, or drop the oldest items when only fresh data matters. The SRE book recommends queues that are small relative to the thread pool, 50 % of it or less, so that a full queue is a signal rather than a buffer that hides the problem for minutes (Beyer et al., 2016, ch. 22).
Idempotency keys#
A retried payment that charges a card twice is worse than a failed one. An operation is idempotent if doing it twice has the same effect as doing it once: PUT and DELETE are idempotent by definition in HTTP, POST is not. An idempotency key makes a POST safe to retry. The client generates a unique key per logical operation and sends it with every attempt; the server records the key with the result and, for a repeated key, returns the recorded result instead of acting again. The header is being standardized as an IETF Internet-Draft (Jena and Dalal, 2026):
POST /charge HTTP/1.1
Host: payments.example.com
Idempotency-Key: "8e03978e-40d5-43e8-bc93-6894a57f9324"
Content-Type: application/json
{"order_id": "o-1042", "amount_cents": 4599}
- The first attempt reaches the server, which stores the key as “in progress”, charges the card, stores the result under the key and sends the answer. The answer is lost in the network.
- The client times out and retries with the same key. The server finds the key with a stored result and returns that result,
201 Createdwith the same charge, without charging again. - If the retry arrives while the first attempt is still running, the draft says to answer
409 Conflict; if the same key arrives with a different body,422 Unprocessable Content.
The key must be stored atomically with the effect, in the same database transaction where possible, and kept at least as long as clients may retry, typically a day.
Capacity and queueing#
Every pattern above handles overload once it happens. Capacity planning tries to keep it from happening, and it rests on two results from queueing theory.
Little’s law#
Let be the average rate at which requests arrive (per second), the average time a request spends in the system, and the average number of requests in the system at once. Then
for any system in a steady state, whatever the distribution of arrivals and service times (Little, 1961). The first note derived it for changes in a delivery pipeline; for requests in a server the argument is the same. Over a long time , the area under the curve of , the number of requests inside at time , counted by time is ; counted by request it is , each of the requests contributing a strip of height 1 for as long as it is inside (up to the few that straddle the ends). Equating the two, .
Applied.
- Concurrency from rate and latency. The checkout service receives 200 requests per second, each taking 250 ms on average: requests in flight. A pool of 64 workers suffices. If a slow dependency raises the average to 2 s, , and the same pool overflows: this is the arithmetic of the baseline.
- Throughput from a pool. A pool of 20 database connections, each held for 40 ms per query, can complete at most queries per second. At 600 per second the extra 100 per second queue, whatever the database’s CPU says.
Latency against utilization#
How long do requests wait as a server gets busier? The simplest model, M/M/1, has requests arriving as a Poisson process at rate (discrete distributions), one server, and exponentially distributed service times with rate , a mean of . The utilization is , the fraction of time the server is busy; the model needs .
Optional depth: the derivation of the M/M/1 formula. The rest of the note uses only its result. The number of requests in the system is a Markov chain that moves up by one at rate and down by one at rate . In the stationary distribution , the flow from state to equals the flow back: , so and . The probabilities sum to 1, , so . The mean number in the system is
using . Little’s law gives the mean time in the system, :
The time in the system is in fact exponentially distributed with rate , so its p99 is .
A simulation of 2 million requests per row, with ms, against the formula:
rho W formula W simulated p99 formula p99 simulated
0.5 20.0 ms 20.0 ms 92.1 ms 91.8 ms
0.7 33.3 ms 33.2 ms 153.5 ms 152.0 ms
0.8 50.0 ms 49.7 ms 230.3 ms 226.4 ms
0.9 100.0 ms 99.7 ms 460.5 ms 457.9 ms
0.95 200.0 ms 200.1 ms 921.0 ms 910.5 ms
Latency grows like 1/(1−ρ)
At half load a request takes twice its service time; at 80 %, five times; at 90 %, ten; at 95 %, twenty. The p99 at 80 % is 230 ms for 10 ms of work.
Why to run below about 70–80 %#
Four reasons, each one enough on its own, put the practical limit for a latency-sensitive service well below 100 %:
- The curve is steep at the top. The slope is : per unit of at 50 %, at 80 %, at 90 %. At 80 %, a 10 % rise in traffic (to 88 %) raises the mean from to ; at 50 %, the same rise (to 55 %) moves it from to .
- Real traffic is burstier than Poisson, and real service times vary more than exponential ones. Both make the queue longer at the same utilization; for a single server with arbitrary service times, the mean wait grows with the squared coefficient of variation of the service time (Harchol-Balter, 2013).
- Failures move load. With replicas at utilization , losing one puts the rest at . Four replicas at 60 % go to 80 % when one fails; at 75 % they go to 100 %.
- Autoscaling is slow. New pods take tens of seconds to minutes to start and warm up; the headroom must carry the load until they do.
Many servers sharing one queue do better than one: pooling lets busy and idle servers balance, so large pools can run hotter at the same latency. The shape of the curve, flat and then vertical, is the same.
Load testing and capacity planning#
Load testing measures what the formulas only model: the throughput at which one replica stops meeting its latency objective. Tools such as k6, Locust, Gatling and wrk2 generate controlled traffic. Two details decide whether the result means anything:
- Open against closed load. A closed-loop generator sends the next request only after the previous one returns, so when the service slows down, the generator slows down too and the measured latency looks better than users would see. An open-loop generator sends at a fixed rate regardless, like real users. Measuring with a closed loop and correcting nothing is called coordinated omission (Tene, wrk2).
- Ramp, and find the knee. Increase the rate step by step and record the p99 at each step. The knee is where latency starts rising steeply; the capacity of a replica is the highest rate at which the p99 still meets the SLO.
Capacity planning turns that measurement into a number of replicas. Worked example:
- The forecast peak for the next quarter is 3,000 requests per second.
- A load test shows that one replica meets the latency SLO up to 400 requests per second.
- Plan to run at no more than 70 % of that at peak: 280 per replica, so , rounded up to 11 replicas.
- The service runs in three zones and must survive the loss of one. The two remaining zones must carry the whole load, so the total is , rounded up to 18 so that every zone gets the same number, six.
- Check: with one zone lost, 12 replicas at 280 per second carry 3,360 per second, above the peak. With all zones up, the replicas run at of their tested capacity.
Repeat the test after every significant change; capacity is a property of the code as well as of the hardware.
Graceful degradation#
When capacity or a dependency is lost anyway, a service can still serve something useful by doing less (Beyer et al., 2016, ch. 22):
- serve stale data: product prices from a cache a few minutes old rather than an error;
- drop optional features: show a product page without recommendations or reviews;
- switch to a read-only mode: browsing works, ordering is paused with a clear message;
- lower quality: smaller images, fewer search results, cheaper ranking.
Each degraded mode is a code path that is rarely used, and code paths that are never used tend not to work when they are finally needed. Switch degradations behind feature flags and exercise them regularly, for example in a scheduled test or the chaos experiments of the next note.
What changed#
| Call and wait (the baseline) | Bounded calls, shed load, planned capacity | |
|---|---|---|
| A slow dependency | holds every thread; the whole service fails | a timeout releases resources; the deadline stops wasted work downstream |
| A transient failure | the request fails | a retry with jittered backoff succeeds |
| A dead dependency | 27 database calls per click from retries at three layers | one layer retries within a budget; the breaker opens and fails fast |
| One bad dependency among several | takes all the workers | a bulkhead limits it to its own pool |
| More traffic than capacity | everything slows, then times out | the excess is rejected at once; important work is served first |
| A retried payment | may charge twice | the idempotency key returns the first result |
| How many replicas | guessed | load-tested capacity, a 70 % target, and enough to lose a zone |
Limitations#
- The patterns interact. Timeouts that are too short cause retries; retries trip circuit breakers; a breaker that opens moves load to the remaining replicas, which may then fail. Each setting needs to be chosen with the others and tested under failure.
- M/M/1 is a model. Its exact numbers hold only for Poisson arrivals and exponential service; real systems have caches, garbage-collection pauses, multiple resources and bursty traffic. Its shape, latency rising like , is what transfers.
- Load tests are not production. Synthetic traffic has a different mix of requests, a warmer cache, and none of the slow clients of real users. Production capacity should be confirmed with real-traffic metrics, for example by gradually concentrating traffic on fewer replicas.
- Idempotency needs storage. Keys must be stored durably, atomically with the effect, and expired; a store that loses keys silently reintroduces double effects.
- Not covered: hedged requests, which send a second copy of a slow request to another replica to cut the tail (Dean and Barroso, 2013); consistency trade-offs during partitions; multi-region failover.
What you should remember#
- Slow is worse than down: a call without a timeout can take down a healthy caller. Set timeouts from the dependency’s high percentiles, and propagate deadlines.
- Retry only transient failures of safe operations, with exponential backoff and full jitter: .
- Retries multiply across layers: attempts at each of layers give calls at the bottom, 27 for three layers of three. Retry at one layer, within a budget.
- Circuit breakers fail fast while a dependency is broken; bulkheads keep one dependency from taking every resource.
- Rate limits protect fairness, load shedding protects the server: a fast
503beats a slow timeout. Bound every queue. - Idempotency keys make retried
POSTrequests safe. - Little’s law: , for any stable system.
- M/M/1: ; twice the service time at 50 %, five times at 80 %, ten at 90 %. Plan for 70–80 % at peak, and for losing a zone.
Example#
The checkout service calls the payment service through a service mesh: a proxy (Envoy, in Istio’s case) runs next to every pod and handles its traffic, so that timeouts, retries, connection limits and outlier detection are configured once, declaratively, instead of in every client library. The two Istio resources below set those policies for calls to payments. They were written against the Istio documentation (API version networking.istio.io/v1, October 2026) and checked to be valid YAML; they were not applied to a cluster.
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: payments
namespace: shop
spec:
hosts:
- payments.shop.svc.cluster.local
http:
- timeout: 2s
retries:
attempts: 2
perTryTimeout: 600ms
retryOn: connect-failure,refused-stream,503
route:
- destination:
host: payments.shop.svc.cluster.local
port:
number: 8080
---
apiVersion: networking.istio.io/v1
kind: DestinationRule
metadata:
name: payments
namespace: shop
spec:
host: payments.shop.svc.cluster.local
trafficPolicy:
connectionPool:
tcp:
maxConnections: 100
connectTimeout: 250ms
http:
http1MaxPendingRequests: 50
http2MaxRequests: 200
maxRetries: 20
outlierDetection:
consecutive5xxErrors: 5
interval: 10s
baseEjectionTime: 30s
maxEjectionPercent: 50
Read line by line:
VirtualServicedescribes how requests to a host are routed;hostsnames the Kubernetes service it applies to, and theroutesends everything to its port 8080.timeout: 2sis the overall budget for one request from the caller’s proxy, including every retry. It bounds what the checkout service can lose to payments.retries.attempts: 2means up to two retries, three attempts in all; in Istio,attemptscounts retries, not tries. Envoy waits between them with jittered exponential backoff starting at 25 ms by default.perTryTimeout: 600msbounds each attempt. Three attempts of 600 ms plus the backoff fit inside the 2 s overall timeout; a per-try timeout as long as the overall one would leave no time for a retry.retryOn: connect-failure,refused-stream,503retries when no connection could be made, when the server refused the stream before processing it, and on503. The first two are safe for any request because the payment service never saw it. The proxy does not check whether a request is idempotent, so retrying503onPOST /chargeis safe only because the checkout service sends an idempotency key.- Only this one layer retries. The checkout code itself must then not retry calls to payments, or the attempts multiply as in the amplification section.
DestinationRulesets policies for the traffic once it is routed to the host.connectionPoolis a bulkhead. Envoy applies its limits in each calling proxy to the destination service as a whole, not per payments pod: at most 100 connections, a connect timeout of 250 ms (the default is 10 s), at most 50 requests queued while waiting for a connection, and at most 200 active requests (the field is namedhttp2MaxRequests, but the documentation describes it simply as the maximum number of active requests to a destination). Requests beyond these limits fail at once with a503from the proxy instead of queueing.maxRetries: 20caps the number of retries in flight to the whole payments service at once, across all of this client’s requests: a retry budget in absolute numbers, so that a broken payments service receives at most 20 extra concurrent requests from retries.outlierDetectionis a per-replica circuit breaker: a payments pod that returns 5 consecutive5xxerrors, checked every 10 s, is removed from load balancing for 30 s (longer each time it is ejected again), but never more than half of the pods at once, so that a service-wide problem does not eject everything.
Next#
The patterns in this note keep most failures small, and capacity planning keeps most overloads from happening. Some failures still get through: a bad configuration that every replica accepts, a dependency outage that no fallback covers, a leaked credential. The next note, the last of the course, is about those: how to run an incident and learn from it without blame, how to remove the repetitive work that wears out an on-call team, and how to keep the operation itself secure, from secrets and permissions to the software supply chain.
References#
- B. Beyer, C. Jones, J. Petoff, N. R. Murphy (eds.). Site Reliability Engineering. O’Reilly, 2016. Ch. 21, Handling Overload (load shedding, criticality, client-side adaptive throttling); ch. 22, Addressing Cascading Failures (retry amplification, retry budgets, deadline propagation, queue sizes, graceful degradation).
- B. Beyer, N. R. Murphy, D. K. Rensin, K. Kawahara, S. Thorne (eds.). The Site Reliability Workbook. O’Reilly, 2018. Ch. 11, Managing Load.
- M. T. Nygard. Release It! Design and Deploy Production-Ready Software, 2nd ed. Pragmatic Bookshelf, 2018. Ch. 4 (stability antipatterns: integration points, cascading failures, slow responses) and ch. 5 (stability patterns: timeouts, circuit breaker, bulkheads, shed load, back pressure).
- M. Brooker. Exponential Backoff And Jitter. AWS Architecture Blog, 2015. And Timeouts, retries, and backoff with jitter. Amazon Builders’ Library, 2019.
- P. Huang, C. Guo, L. Zhou, J. R. Lorch, Y. Dang, M. Chintalapati, R. Yao. Gray Failure: The Achilles’ Heel of Cloud-Scale Systems. HotOS, 2017.
- J. Dean, L. A. Barroso. The Tail at Scale. Communications of the ACM, 56(2), 2013.
- J. Jena, S. Dalal. The Idempotency-Key HTTP Header Field. IETF Internet-Draft draft-ietf-httpapi-idempotency-key-header-08, October 2026 (
409for a concurrent duplicate,422for a reused key with a different body). - R. Fielding, M. Nottingham, J. Reschke (eds.). HTTP Semantics. RFC 9110, 2022. §9.2.2 (idempotent methods), §15.6.4 (503 and
Retry-After). - J. D. C. Little. A Proof for the Queuing Formula L = λW. Operations Research, 9(3), 1961.
- M. Harchol-Balter. Performance Modeling and Design of Computer Systems: Queueing Theory in Action. Cambridge University Press, 2013. (Little’s law, M/M/1, the M/G/1 waiting time and its dependence on service-time variability.)
- gRPC documentation. Deadlines. Accessed October 2026.
- Istio documentation: VirtualService (
HTTPRetry:attempts,perTryTimeout,retryOn, the 25 ms backoff base); DestinationRule (ConnectionPoolSettings,OutlierDetection). Accessed October 2026. - G. Tene. wrk2: a constant-throughput, correct-latency recording variant of wrk (coordinated omission).
- University of Helsinki. DevOps with Kubernetes (mooc.fi, 2026): service meshes.