Communication protocol providing full-duplex communication over a single TCP connection. Like having a phone conversation where both parties can talk simultaneously.
Chat applications use WebSocket to enable real-time messaging where messages appear instantly without refreshing.
WebSocket is a protocol, not a single cloud service. AWS offers a managed WebSocket API via API Gateway; Azure provides a purpose-built managed service (Web PubSub) for WebSocket-style real-time messaging; GCP commonly runs WebSocket servers on Cloud Run or behind Cloud Load Balancing; OCI typically supports WebSockets through its Load Balancer while you host the WebSocket server on compute (e.g., OCI Compute/OKE).