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

Why is a WebSocket less suitable for simple, infrequent request-response calls?

Short interview answer

It requires maintaining an open connection and a message-based protocol for what could be a single stateless request, adding server-side connection management overhead without a real benefit.

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