Network Request Waterfall
A network request waterfall is a chain of HTTP requests that must happen one after another because each depends on data from the previous response. Each step adds a full round trip, so total load time grows with the length of the chain.
Technical Architecture & Deep-Dive
A typical mobile screen might fetch the user, then their organization, then billing, then recent activity. On a 200 millisecond mobile round trip, four sequential requests cost nearly a second before rendering.
Moving these dependencies to an edge BFF collapses the waterfall: the client makes one request, and the edge runs dependent steps over fast backbone links while executing independent steps in parallel.
Key Architectural Benefits
Implement Network Request Waterfall at the Edge
Deploy lightweight API aggregation, edge caching, and secret injection in minutes without Docker containers or complex servers.
Frequently Asked Questions
Q:How do I find request waterfalls?
Use the browser DevTools Network panel or a mobile proxy tool to visualize request timing. Staggered bars that start only after earlier ones finish indicate a waterfall.
Related Architecture Concepts
Underfetching occurs when an API endpoint returns insufficient data for a view, requiring the frontend to initiate secondary cascading requests to retrieve related details. This creates latency waterfalls (the N+1 request problem), severely slowing down mobile and web application responsiveness.
Upstream Fan-out is an execution strategy where an edge gateway dispatches multiple HTTP subrequests to separate origin services concurrently rather than sequentially. The total latency is bound by the single slowest subrequest (max time) rather than the cumulative sum of all subrequests.
API Aggregation is the process of combining multiple distinct API calls into a single unified HTTP request. An intermediate edge gateway queries multiple upstream services in parallel, merges the returned data, and delivers a consolidated response to the client, drastically reducing mobile latency and network overhead.
Ready-to-Use Edge Recipes
FlutterFlow browsers cannot call https://jsonplaceholder.typicode.com/users/{{query.userId}} directly because of CORS and hidden credentials. RealComposer responds to OPTIONS and proxies authorized traffic.
To call two rest apis in parallel and return merged payload, configure parallel steps for REST API. Frontend / Web performs one authorized GET/POST to RealComposer and receives a merged payload.