JupiteX Get the app
Science & Technology28 Nov 2026 · about 7 min

Presentation: From Fan-Out to Fast: Sub-100ms API Design in Distributed Systems

The brief

A sub-100-millisecond API target means a user’s request should travel through the complete system and receive a response in under 100 milliseconds. The clock includes the work across the request path, not only the application’s own processing. The article frames latency as a journey with multiple hops, each needing a budget. For example, a request might pass through an edge, a gateway, an application, and other services. Each hop adds time, and retries or a slow dependency can add more. The article’s recommendation-engine example sets a 50-millisecond response goal, showing that the right target depends on how the feature will be used. The article emphasizes that a target is not automatically achieved or maintained. Traffic peaks, system failures, queues, and retries can make latency drift even when code stays the same. Teams need to measure the full journey and keep reviewing the budgets; the article does not specify a particular percentile or measurement tool.

01

What does it mean for an API to respond in under 100 milliseconds?

A sub-100-millisecond API target means a user’s request should travel through the complete system and receive a response in under 100 milliseconds. The clock includes the work across the request path, not only the application’s own processing. The article frames latency as a journey with multiple hops, each needing a budget.

For example, a request might pass through an edge, a gateway, an application, and other services. Each hop adds time, and retries or a slow dependency can add more. The article’s recommendation-engine example sets a 50-millisecond response goal, showing that the right target depends on how the feature will be used.

The article emphasizes that a target is not automatically achieved or maintained. Traffic peaks, system failures, queues, and retries can make latency drift even when code stays the same. Teams need to measure the full journey and keep reviewing the budgets; the article does not specify a particular percentile or measurement tool.

02

How can a 100-millisecond latency target be divided among the edge, gateway, application, and downstream services?

A latency budget divides a total response-time goal across the request’s steps, so one slow hop does not consume the whole allowance. The article says to assign each hop its own budget and to avoid letting one station become a bottleneck. It does not prescribe numbers for the edge, gateway, application, or downstream services.

As an illustrative starting point—not a split from the article—a 100-millisecond budget could reserve 10 milliseconds for the edge, 10 for the gateway, 30 for application work, and 50 for downstream calls. Those amounts total 100 milliseconds. Teams would need to account for their actual request path, including time spent waiting and any retries, rather than treating the figures as universal.

The practical allocation should follow measurement. The article warns that peak traffic, dependency problems, retries, contention, and queues can push latency above a normal cap. Teams can measure which hop is using its allowance, then adjust the design or targets together. The article presents budgets as a way to support prioritization and alignment, not as a guarantee of performance.

03

What is fan-out in an API, and how can calling multiple services affect response time?

Fan-out generally means that one incoming API request leads to calls to multiple downstream services. The provided transcript uses “fanout” in the talk title, but it does not define the term or describe a specific fan-out design. In a distributed system, this matters because the response depends on work happening across several parts of the request path.

For example, an application might request information from several services before it can answer. Each call can add time; if a downstream service slows, the request may wait longer, and retries can add still more delay. The article explicitly describes slow downstreams, retries, and cache misses that lead to retries and database fallbacks as sources of added time.

The effect depends on how calls are arranged and how slow each service is; the transcript does not give a formula or a specific fan-out example. Its broader advice is to treat the request as a journey, budget every hop, and look for bottlenecks. Measuring the full path helps teams see where latency accumulates and make the journey faster.

04

What happens to an API’s response time when a downstream service slows down and requests are retried?

When a downstream service slows, the API request can take longer because it depends on work beyond its own process. If the caller retries, it performs more work and waits through additional attempts. The article uses this as an example of why latency should be considered across the complete request journey, rather than judged from one service alone.

It also describes a cache miss followed by another retry and a fallback to a database. Each of those steps adds time. If a dependency wobbles, the total response time can rise sharply; the article gives an example of latency moving from a normal cap of 30 to 60 during peak traffic, then to 120 when a dependency wobbles.

The transcript does not prescribe a retry policy or explain how many attempts are appropriate. It stresses assigning budgets to each hop and preventing one station from bottlenecking the journey. Teams should account for retries and fallbacks when evaluating the complete path, because a design that looks simple on a diagram may behave differently in a real request.

05

Why can latency rise during peak traffic even when the code has not changed?

Unchanged code does not mean an unchanged response time. Latency depends on what happens across the system while a request is being served. The article says scale can make latency drift, and that users feel the resulting delay as friction rather than as an abstract number.

Its example starts with a normal latency cap of 30, which rises to 60 when peak traffic hits and reaches 120 when a dependency wobbles. The code remains the same. Instead, the article points to friction from systems going down, retries, thread contention, and queuing. These can stretch different parts of the request journey.

The article’s proposed response is to inspect the complete journey and assign a budget to every hop, rather than relying on a single system diagram or an unchanged codebase. It also says there is no quick shortcut: keeping a low-latency system consistently fast takes engineering. Measuring the path helps teams find where the extra time appears and prioritize a fix.

06

How can teams measure whether an API is meeting its latency target across its full request path?

To assess an API target across its full request path, teams need to measure the journey rather than only the application’s local processing time. The article states that “without measurement, there is no success” and proposes dividing the complete request path into parts, with a latency budget for each hop. That approach can show whether the overall goal is being met and where time is spent.

For example, a team could record elapsed time at the edge, gateway, application, and downstream calls, then compare the combined duration with its target. This is a general measurement approach, not a tool or procedure named in the transcript. The article’s examples show why it matters: retries, database fallbacks, contention, and queues can all add time.

The transcript does not specify percentiles, dashboards, tracing products, or a sampling method. It does emphasize that latency changes under peak traffic and dependency problems, so measurements should reflect the real journey and its changing conditions. Teams can use the results to identify bottlenecks, set priorities, and align product, engineering, and quality groups around a shared goal.

07

What is a distributed system, and why does one user request often need to travel through several services?

In general computing terms, a distributed system is made of separate computers or services that communicate to carry out work. The transcript does not give a formal definition. It compares system design to a Tube map: diagrams show boxes and arrows, but the actual journey can include pauses and unexpected problems.

A user request may need several services because different components handle different parts of the work. The transcript gives examples of a downstream service, a cache, and a database: a slow downstream may prompt a retry, while a cache miss can lead to another retry and a database fallback. Those steps add time to the request.

The article’s central point is that the real journey matters more than a comforting diagram. Each hop needs a latency budget, and teams should find any station that bottlenecks the whole request. Peak traffic, retries, contention, and queuing can affect the journey even if the code has not changed. The transcript does not detail a particular architecture or explain why a specific request uses multiple services.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web