Engineering glossary
Plain-English definitions of the technical terms that come up across the ShareCode blog. Each entry is written for this site and linked back to the article where the term lives.
Awareness protocol
The small, ephemeral channel that broadcasts presence information — cursor positions, user names, colour assignments — alongside the durable document edits in a CRDT-backed editor.
CRDT
Conflict-free Replicated Data Type
A family of data structures that let multiple users edit the same document offline and still merge into a consistent state when they reconnect.
Driver / Navigator
Driver and navigator pairing roles
The two roles in a classic pair-programming session — one types, the other thinks ahead — and the small protocol that keeps them from stepping on each other.
Firestore Security Rules
Cloud Firestore Security Rules
A small declarative language that runs on Google's servers to decide whether each Firestore read or write is allowed — the layer that turns Firebase from a public database into a multi-tenant one.
Hydration
React/Next.js hydration
The process where a server-rendered HTML page becomes interactive in the browser — React attaches event listeners, restores state, and takes over the DOM the server produced.
ICE
Interactive Connectivity Establishment
The protocol WebRTC uses to discover the best network path between two peers, given that one or both of them are likely behind a NAT or firewall.
JWT
JSON Web Token
A compact, signed token format used to carry identity and claims between a client and an API — the format Firebase Authentication issues to every signed-in user.
LRU Cache
Least-Recently-Used Cache
A fixed-size cache that evicts whichever entry was accessed longest ago — the canonical data-structure interview question and a genuinely useful production primitive.
NAT
Network Address Translation
The middleware on a home or office router that maps many private IP addresses to one public address — and the reason peer-to-peer connections need ICE, STUN, and TURN to find each other.
Operational Transform
Operational Transformation (OT)
An older approach to real-time collaborative editing that resolves conflicts by transforming operations relative to each other through a central server — historically powered Google Docs.
Refresh token
A long-lived credential a client exchanges for a fresh short-lived access token (a JWT, in Firebase's case) — the mechanism that keeps users logged in across sessions.
SDP
Session Description Protocol
A plain-text format that describes what a media session looks like — codecs, encryption parameters, network addresses — so two WebRTC peers can agree on how to talk to each other.
State vector
A compact summary of what a CRDT replica has seen — used to figure out exactly which updates a peer is missing without re-sending the entire document.
STUN
Session Traversal Utilities for NAT
A lightweight protocol that lets a peer behind a NAT discover its own public IP address, so it can advertise that address to the other side of a WebRTC call.
Tombstone
CRDT tombstone
In a CRDT, a marker left behind when a character is deleted — kept around so concurrent edits referencing the deleted character can still be ordered correctly.
TURN
Traversal Using Relays around NAT
A relay server that carries WebRTC media on behalf of two peers when they can't reach each other directly — the last resort when STUN fails.
WebRTC
Web Real-Time Communication
A browser API and protocol stack that lets two browsers exchange audio, video, and arbitrary data peer-to-peer without a media server in the middle.
WebSocket
WebSocket protocol
A long-lived, bidirectional connection between a browser and a server — the transport that makes server-pushed updates feel real-time without polling.
Yjs
Yjs CRDT library
An operation-based CRDT library for JavaScript that powers most of the production-grade collaborative editors built in the browser today, including ShareCode's editor.
Missing a term you hit in one of the posts?
The glossary expands when a new post lands and introduces a term worth standing on its own page. If a word in one of the articles tripped you up, let us know and we'll add it.