REST, WebSocket or Server-Sent Events?
Compare REST over HTTP, WebSocket and Server-Sent Events. Which would you choose for the runtime of an AI agent that takes a request and streams its answer, and why?
Answer out loud in under a minute: a definition, one concrete example, and one pitfall or trade-off.
Hints
Hint 1
Ask who initiates messages, in which direction they flow, and what has to sit between the client and the server.
Asked at
Sign in to talk to the interviewer — ask what's in scope, what scale to design for, or for a nudge when you're stuck. Conversations save to your account.
Sign in to use the assistant — ask what the problem means, get a hint when you're stuck, or have your current work reviewed. Conversations save to your account.