# Realtime sync

**Source:** https://promtable.com/glossary/realtime-sync

> Realtime sync is the pattern where every connected client receives updates within milliseconds of a database change — without polling — via WebSockets, server-sent events, or similar live-channel mechanisms.

---
Realtime sync is the pattern where every connected client receives updates within milliseconds of a database change — without polling — via WebSockets, server-sent events, or similar live-channel mechanisms.

Realtime sync underlies multiplayer apps, collaborative tools, live chat, and notifications. By 2026 Convex makes every query reactive by default; Supabase ships realtime channels backed by Postgres logical replication; Firebase pioneered the pattern; Liveblocks specialises in presence + collaboration primitives. The hard problems: ordering, conflict resolution, scale (broadcasting to many clients), and authorization (which clients see which updates). Modern frameworks handle ordering via vector clocks or CRDTs and authorization via RLS rules tied to the realtime channel.

## When to use

- Collaborative apps (docs, design tools, dashboards).
- Chat and messaging.
- Live dashboards and notifications.

## Common mistakes

- Polling instead of realtime — wastes resources at scale.
- Forgetting to scope realtime by user / org — security via RLS or channel auth is non-negotiable.

## Related terms

- [serverless-database](https://promtable.com/glossary/serverless-database)

*Last updated: 2026-06-01*
---

Original page: https://promtable.com/glossary/realtime-sync
Maintained by Promtable (https://promtable.com). Content: CC BY 4.0. Cite as "Promtable — https://promtable.com/glossary/realtime-sync".
Contact: info@vibecodingturkey.com.