Glossary coding Term Page

WebSocket

A long-lived bidirectional channel for realtime communication

websocket #javascript#svelte#realtime
Korean version

Aliases

web socket

Prerequisites

Related Concepts

Core Idea

A WebSocket keeps one connection open so both client and server can send messages whenever needed. That makes it useful for chat, collaborative editing, and dashboards where the state changes constantly.

Why It Matters Here

Mathbong introduces WebSockets as the upgrade path beyond SSE and polling. They cost more to manage, but they provide the clearest realtime model when many users must stay in sync.

Posts Mentioning This Concept