Zero-Copy Change Data Capture (CDC)
Kill polling forever. Stream database mutations into agent memory in under 500 nanoseconds.
The Polling Tax
Periodic database polling (SELECT ... WHERE updated_at > ...) burns CPU cycles and delays event processing. Modern agent loops and real-time security pipelines require instant reactive push notifications.
The UniDB CDC Engine
- Direct Ring Buffer Attachment: Subscribers attach directly to the shared-memory ring buffer, receiving state mutations in < 500 nanoseconds at > 3,000,000 events/sec.
- Domain Topic Subscriptions: Filter events by domain (
DOMAIN_TASKfor agent state,DOMAIN_ASTfor code changes,DOMAIN_TELEMETRYfor system events). - Slow Consumer Protection: Automatic lapped ring detection prevents data corruption and triggers a stateful snapshot reconciliation handshake when needed.
# Stream MCP agent task transitions in real time unidb listen --domain task --follow --format json | jq '.payload'