Technical recruiter screen: duplicate requests and a streaming chat UI
I was asked this
No reports yet. Sign in to say where you were asked it.
A system design interview question asked in OpenAI's recruiter screen, last asked Apr 2026. It tests idempotency, streaming and frontend.
The first recruiter call is more technical than most. After the background questions (how much of the last year you spent writing code, whether you lean frontend, backend or full stack, and the languages and frameworks you use every day), expect short design and fundamentals questions:
- How do you make sure the same request is never processed twice?
- How would you build a chat UI that streams model replies reliably?
- A chatbot backend gets a flood of messages: what fails first, and if the bot system goes down, how do you bring it back to its earlier state?
- Front-end basics, for example how JavaScript handles threads and the difference between
useStateanduseRefin React.
Short, concrete answers that name the mechanism (idempotency keys, retries, state recovery) land best.
Clarifying questions
- For duplicate requests: client retries, a queue redelivering messages, or both? Must the side effect happen exactly once?
- For the streaming chat UI: a web client, over SSE or WebSockets?
- How deep should each answer go in a recruiter call: a couple of minutes each?
What a strong answer covers
- Background answers that are concrete: how much of the last year was coding, the stack used daily, one recent project.
- Duplicates: a client-generated idempotency key stored with the result under a unique index, so the same key returns the stored result; consumers that deduplicate when the queue delivers at least once.
- Streaming chat: SSE or a WebSocket with message ids and numbered chunks, reconnecting and resuming from the last chunk received, rendering partial Markdown, a stop button, and backoff on errors.
- A flood of messages: what fails first (provider rate limits, connection limits, growing queues), with rate limiting, queues and shedding; recovery from saved conversation state and from a durable queue of unprocessed messages.
- Front-end basics: JavaScript runs on one thread with an event loop (Web Workers for parallel work);
useStatetriggers a re-render,useRefholds a mutable value that does not.
Follow-ups
- How long do you keep idempotency keys, and why?
- How does the UI show a reply that was cut off mid-stream?
- What would you change for a chat system used by millions?
Where it's asked
- OpenAI · Recruiter screen · Last asked Apr 202630 min · Call with a recruiter (sometimes the hiring manager)
What it tests
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
