Frontend System Design
/Expert
Streaming SSR
Definition
Instead of waiting for an entire React app to render to HTML on the server before sending it, Streaming SSR sends the HTML in chunks over a persistent HTTP connection. The user sees the header instantly while the heavy body content is still generating.
Explain Like I'm New
Like watching a YouTube video while it's still downloading. The server sends you the top half of the webpage instantly while it's still calculating the bottom half.
Architecture & Flow
Interview Questions
basic
- What are the core requirements for Streaming SSR?
intermediate
- How do you handle edge cases and accessibility in Streaming SSR?
advanced
- How do you scale and optimize Streaming SSR for millions of concurrent users?
trick
- What happens to Streaming SSR if JavaScript is disabled?