Skip to content
Networking·Intermediate·Conceptual·1 min read

Why might a system use REST, GraphQL, and WebSockets together?

Short interview answer

Each solves a different problem: REST or GraphQL for typical request/response reads and writes, and a WebSocket or SSE channel specifically for the subset of data that must update in real time, like a live order status.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to REST, GraphQL, and WebSockets

Related questions