This question evaluates a candidate's competency in analyzing and optimizing end-to-end web request latency, covering client-side rendering, network/CDN behavior (HTTP/2 or HTTP/3, TLS, caching), server processing, datastore interactions, and observability for p95 TTFB targets.
You are designing a user-facing web experience that fetches HTML/JSON from an origin and additional static assets from a CDN. Users are global (desktop and mobile). The goal is to reduce end-to-end latency (from user action to usable content), with a target of p95 TTFB < 300 ms for the primary HTML/JSON endpoint and a fast, stable render.
Analyze a single web request end-to-end and do the following:
Assume HTTP/2 or HTTP/3 is available, TLS is required, and the primary response is cacheable for 60 seconds. Keep your analysis focused and practical for a technical phone screen.
Login required