API fanout and request amplification
Estimate how many downstream requests are generated by requests arriving at one entry API
Calculate expected requests over the same period for an acyclic API call graph. Enter measured or assumed branch probabilities and cache hit rates.
Results
—requests
—×
- Requests to downstream APIs
- —requests
- Downstream amplification
- —×
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
Expected transmissions on edge i→j = stage-specific requests to API i × calls per invocation mᵢⱼ × branch probability pᵢⱼ × (1−cache hit rate hᵢⱼ). Stage 0 contains the initial requests; stage d+1 contains all edge transmissions generated from stage d. Sum expected requests across stages and APIs; total amplification = all-stage total ÷ initial requests. Calls reaching the same API through different paths are counted separately.
Worked example (hypothetical values)
Example: 100 requests enter A. A→B: 2 calls, probability 1, hit rate 0.25; A→C: 1 call, probability 0.5, hit rate 0; B→D: 3 calls, probability 0.4, hit rate 0.5. Stage 0 has 100 requests, stage 1 has 200 (B: 150, C: 50), and stage 2 has 90 (D: 90). Total: 390 requests; downstream: 290; amplification: 3.9×.
Applicability and limitations
An acyclic dependency graph with an initial request count and per-edge call counts, branch probabilities and cache hit rates specified for the same observation period. Excludes cyclic calls, retries, fallback calls on errors, timeouts, batching, automatic call deduplication, estimating cache hit rates from TTL, concurrency, latency, peak load and API fees. Results are expected values, not observed counts.
Methods used
- Expected requests in an acyclic call graph (DAG-expected-requests v1.0): scope A steady call structure with specified call counts, conditional branch probabilities and per-edge cache hit rates; region global
Method and sources
Method: Expected-value DAG propagation v1.0 (independent expectation arithmetic informed by Microsoft Gateway Aggregation and AWS API Gateway cache definitions). Data recorded: 2026-11-13.