Skip to content

Glossary · Updated Oct 31, 2026

WebSocket

A WebSocket is a long-lived, two-way connection between a browser or app and a server, so either side can send a message at any time.

A WebSocket starts as an ordinary HTTP request and then upgrades into a persistent connection. That suits work where both sides talk often, such as chat, collaborative editing, multiplayer tools and live market data, because neither side has to keep asking whether anything is new.

The cost is state. Each open connection holds resources on a server, load balancers and proxies must be configured to allow long-lived connections, and the application has to handle reconnecting and catching up on whatever it missed. If the browser mostly listens, server-sent events are simpler, and many teams reach for a WebSocket when they do not need one.

See how an idea becomes a working solution.

Explore how we scope, build and hand over AI projects, with clear decisions at each stage.