Subscribe. Watch. React.

ws://localhost:7117/subscribe?pattern=agent:*
WebSocket key-change subscriptions, scoped per principal

A write happens. Subscribers matching the key pattern receive the event within a millisecond. No polling. No message bus. Just WebSocket.

Use cases

What subscriptions become

Cache invalidation

Subscribe to mutations. Invalidate downstream caches instantly.

key:cache:*
Webhook triggers

Fire webhooks on config changes. Replace cron with events.

key:config:*
Live dashboards

Stream metrics to frontends. Zero polling.

key:metrics:*
Agent coordination

Agents subscribe to shared state. No message bus.

key:queue:*

Stop polling. Start subscribing.

Sub-millisecond delivery. Pattern matching. Principal-scoped filtering.

Next: Redis Compatible →Back to Audit