real-time
Happening immediately, as events occur, rather than when a user reloads or asks again.
In more detail
Real-time features such as live notifications and chat need the server to push data, using Server-Sent Events or WebSockets. They also need plans for reconnection and missed messages.
Related terms
- Server-Sent Events — A standard way for a server to keep an HTTP response open and push a stream of text events to the client, in one direction only.
- WebSocket — A protocol that turns an HTTP connection into a long-lived, two-way channel where client and server can each send messages at any time.
Taught in
- Multi-Tenant Identity: Tenant Isolation & Middleware — Production Full-Stack Engineering
- Optimistic UI Architecture: Cache & Rollback Protocols — Production Full-Stack Engineering
- Server-Sent Events: Streaming Updates & Recovery — Production Full-Stack Engineering
- Bidirectional WebSockets: Reconnection & Heartbeats — Production Full-Stack Engineering