Front End System Design Playbook · Chapter 2 of 11

The RADIO framework

Front end system design interviews are open-ended on purpose. Without a structure, candidates tend to either ramble through requirements for 20 minutes or jump straight to drawing components and miss what the interviewer actually cares about. RADIO is a five-step structure that keeps the conversation moving and makes sure you cover what interviewers score.

What RADIO stands for

LetterStepCore questionMain output
RRequirements explorationWhat exactly are we building, for whom, and under what constraints?Functional and non-functional requirements, explicit scope
AArchitecture (high-level design)What are the major pieces and how do they talk to each other?Component diagram with data flow (client, server, CDN, stores)
DData modelWhat data exists on the client, where does it live, and who owns it?Entities, fields, client state shape, server vs client vs URL state
IInterface definition (API)How do the pieces communicate?Server API endpoints and payloads, plus key component APIs and props
OOptimizations and deep divesWhat makes this fast, robust, accessible, and scalable?2–4 deep dives with trade-offs

Each step builds on the one before. Requirements decide the architecture, the architecture decides where data lives, the data model shapes the API, and the API and constraints decide which optimizations matter.

Time allocation

45-minute round (about 40 minutes of design)

StepMinutes%Notes
Intro and prompt2–3—Restate the problem
Requirements5–6~15%Get to agreed scope quickly
Architecture8–10~22%Diagram by minute 10
Data model5–6~13%Entities plus client store shape
Interface6–8~17%1–2 key endpoints, 1–2 key component APIs
Optimizations10–12~28%This is where levels get separated
Wrap-up1–2—Summarize trade-offs and what's next

60-minute round (about 52 minutes of design)

StepMinutesNotes
Intro and prompt3
Requirements6–8Room for one or two non-obvious constraints
Architecture10–12Compare alternatives explicitly
Data model6–8Include normalization and caching keys
Interface8–10Pagination, real-time channel, error shapes
Optimizations15–183–4 deep dives
Wrap-up and questions3–5

The most common failure is running out of time before O. Keep a visible timer, and if you're behind, tell the interviewer you're compressing: "I'll keep the API brief so we have time for performance."

R: Requirements exploration

Goal: turn a one-line prompt into a scoped problem in five minutes.

Functional requirements: which user actions must work? List them, then agree on the 3–5 core ones.

Non-functional requirements: these drive most of the architecture:

  • Scale: number of items, users, update frequency.
  • Devices and network: mobile-first? low-end Android? offline?
  • Performance targets: LCP, INP, time to first message.
  • Accessibility and internationalization needs (RTL, locales).
  • SEO: does it matter? (Decides between SSR and CSR.)
  • Real-time needs: is polling fine, or is push required?

Template to say out loud:

"So the core is: view a feed, create a post, like and comment. Out of scope: ads, stories, DMs. Mostly mobile web, global users, so variable networks. Feed must be fast on first load and smooth when scrolling; new posts can appear within a few seconds rather than instantly. Accessibility to WCAG AA. Does that match what you had in mind?"

A: Architecture

Draw the major modules and the direction of data flow. For a typical application:

Describe each box in one sentence. Then make the rendering decision explicit:

StrategyChoose when
CSR (SPA)Logged-in app, SEO irrelevant, heavy interactivity
SSR / streaming SSRFirst paint matters, SEO matters, personalized content
SSG / ISRContent changes rarely or on a schedule
React Server ComponentsLarge static-ish trees with small interactive islands, and you're on a framework that supports them

D: Data model

List the entities with their key fields, then say where each piece of state lives:

type User = { id: string; name: string; avatarUrl: string };
type Post = {
  id: string;
  author: User['id'];
  text: string;
  media: { url: string; width: number; height: number; alt: string }[];
  createdAt: string; // ISO
  likeCount: number;
  viewerHasLiked: boolean;
};
type FeedPage = { items: Post['id'][]; nextCursor: string | null };
State kindExamplesWhere it lives
Server cacheposts, users, feed pagesNormalized query cache (TanStack Query, Apollo, RTK Query)
Client UI stateopen modals, composer draftComponent state or a small store
URL statefilters, selected tab, search queryRouter search params
Persistent localdrafts, offline queueIndexedDB / localStorage

Bring up normalization (store entities by id so a like updates everywhere) and derived state (don't store what you can compute).

I: Interface definition

Define the contracts that matter, both server and component:

GET /api/feed?cursor=abc&limit=20
200 { "items": [Post], "nextCursor": "def" }

POST /api/posts/{id}/like
200 { "likeCount": 42, "viewerHasLiked": true }
<Feed
  queryKey={['feed', userId]}
  renderItem={(post) => <PostCard post={post} />}
  onEndReached={fetchNextPage}
/>

Choices worth calling out: cursor vs offset pagination, REST vs GraphQL, the real-time transport (SSE vs WebSocket vs polling), error shapes, and idempotency for mutations.

O: Optimizations and deep dives

Pick the 2–4 areas that matter most for this product, and say why you picked them:

  • Performance: code splitting, image optimization, virtualization, prefetching, caching.
  • Network: request dedupe, retries with backoff, optimistic updates, offline queue.
  • Rendering: SSR and streaming, hydration cost, avoiding layout shift.
  • Accessibility: keyboard navigation, focus management, live regions for new content.
  • Internationalization: RTL, pluralization, date and number formatting.
  • Security: XSS from user content, CSP, token storage.
  • Observability: RUM, error tracking, feature flags for rollout.

For each one, use problem, options, choice, cost: "Feed items have variable heights, so naive virtualization causes jumps. Options are fixed heights, measuring with ResizeObserver, or skipping virtualization and capping the DOM. I'd measure and cache heights; the cost is complexity in scroll restoration."

Navigating the conversation

  • Signpost each transition: "Requirements are set; moving to architecture."
  • Check in: "Is there an area you'd like me to focus on?" Interviewers often have a deep dive in mind.
  • Revisit when needed: if a deep dive changes an earlier decision, say so. That shows good judgment.
  • Don't recite the framework mechanically. RADIO is a scaffold, not a script. If the interviewer jumps to the API, follow them and come back later.

Adapting RADIO to component questions

For component-level prompts (autocomplete, modal, data grid), the weighting changes:

StepApplication questionComponent question
RequirementsProduct scope, scaleUse cases, configurability, a11y requirements
ArchitectureClient and server modulesInternal subcomponents, controller vs view
Data modelEntities, storesInternal state, props vs state
InterfaceHTTP APIsComponent props/API is the centerpiece
OptimizationsNetwork, rendering, scaleKeyboard and screen reader support, performance with large data, theming

One-page checklist

  • Restated the prompt and agreed on 3–5 core features
  • Listed non-functional requirements that drive the design
  • Diagram drawn by about minute 10, with data flow arrows
  • Made the rendering strategy explicit and justified it
  • Defined entities and where each kind of state lives
  • Defined at least one server API and one component API with real fields
  • Went deep on 2–4 areas using problem, options, choice, cost
  • Summarized the trade-offs at the end

Spotted a mistake or a rights concern? Report an issue