Engine v2.2 — Live

Real-Time Sync
at 50,000 ops/sec

Production-grade CRDT collaboration engine with native Rust merge, batch processing, and sub-5ms latency. Watch it handle real operations live.

sync-engine://hero-demo
Converged
0ops/s
Throughput
0.0ms
P50 Latency
0
Total Ops

System Architecture

Data flows through five core components — from client SDK through the sync engine to persistence and cache — ensuring consistency and sub-5ms latency at 50,000 ops/sec.

Client SDKChannel multiplexing & offline queue
WebSocket frames
Broadcast deltas
Connection ManagerWebSocket gateway & routing
Routed operations
Merged deltas
Sync EngineCRDT merge & conflict resolution
Persist ops & snapshots
PersistencePostgreSQL ops & snapshots
State updates
CacheRedis state & pub/sub

Hover over nodes to explore component details

Performance at Scale

Battle-tested under load. Every metric backed by property-based tests and live benchmarks.

0+Operations / Second
<0msP50 Latency
<0msP99 Latency
0+Concurrent Connections
0Queue Capacity
0Property Tests

Live Interactive Demos

Every demo below connects to the live Sync Engine via WebSocket. Real operations, real metrics, real-time convergence.

Loading Stress Test...
Loading Split-Screen Sync...

Collaborative Whiteboard

Draw on the canvas — a simulated collaborator will mirror the multi-user experience in real-time.

Learn More →
Loading Collaborative Whiteboard...

Live Metrics

connected

Live metrics from all active sessions — ops/sec, latency percentiles, and connection counts.

Learn More →
Ops/sec
1,247
P50
2.3ms
P99
12.8ms
Conns
14
Rooms
3
Total
48k
Throughput (60s rolling)

Conflict Resolution

0 events

Watch how the CRDT engine resolves concurrent edits with LWW timestamps.

Learn More →

Verified CRDT Properties

All 21 properties verified through property-based testing using fast-check

#PropertyExplanation
1CommutativityOperations can be applied in any order and produce the same result
2AssociativityGrouping of operations does not affect the final result
3IdempotencyApplying the same operation multiple times has no additional effect
4ConvergenceAll replicas eventually reach the same state
5Causal OrderingOperations respect causal dependencies via HLC timestamps
6Last-Writer-WinsConcurrent conflicts resolve deterministically by timestamp
7Monotonic ClockHLC timestamps always increase across operations
8Bounded DriftPhysical clock drift is bounded and detectable
9Add UniquenessEach add operation creates a unique item identity
10Remove SemanticsRemoves are tombstoned, preserving history
11Update AtomicityField updates are applied atomically
12Delta MinimalityOnly changed fields are included in state deltas
13Delta CompletenessAll changes from an operation appear in the delta
14Merge DeterminismSame inputs always produce the same merged state
15State ValidityMerged state always satisfies invariants (non-negative qty, valid names)
16Operation IntegrityOperations are validated before processing
17Offline AccumulationOperations queue correctly during disconnection
18Reconnection SyncQueued operations replay correctly after reconnection
19Concurrent SafetyConcurrent operations from multiple clients merge safely
20Snapshot ConsistencySnapshots reflect a valid point-in-time state
21Ordering PreservationOperation order is preserved within each client's stream

Tech Stack

Runtime

⬢Node.jsTSTypeScript▲Next.js 14🦀Rust (napi-rs)

Networking

⚡WebSocket🔐JWT Auth🕐HLC Timestamps

Data

🔀CRDT (LWW)🐘PostgreSQL🔴Redis

Testing

⚡Vitest✓fast-check🧪RTL