All Questions
Ai Coding And Product Systems easy

Your chat assistant takes about 8 seconds to generate a full answer, and users report that the app feels frozen or broken while they wait. Which change best improves the experience?

  1. A Wait for the full response, then return it at once so users never see a partially written answer.
  2. B Stream tokens to the client over SSE as they generate, so first text appears in under a second.
  3. C Cache every answer by exact prompt text so repeated questions return instantly from storage.
  4. D Switch to a much smaller model for all chat so the full answer finishes in under one second.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions