Keep live clients connected across nodes
Distribute relevant product events through shared PubSub.
Home / Product / Clustering and distributed state
Coordinate more than one nodeShare cache entries, live event fanout, counters, and queue claims across every Daptin node.
With more than one application instance, a change on node A may need to reach a WebSocket on node B. Give rate counters, permission caches, and queue claims a cluster-wide shared view.
Daptin uses Olric-backed distributed state for cache, PubSub, counters, and claims, with configured peer discovery. This supports live fanout and coordination for selected runtime concerns.
The shared database and storage remain separate architectural responsibilities. Use Daptin clustering for shared runtime state and provide highly available databases, storage, networking, and load balancing.
Distribute relevant product events through shared PubSub.
Coordinate counters and short-lived work claims.
Invalidate configured caches when underlying policy or content changes.
Clustering and distributed state does more when it can reuse the records, people, access rules, and workflows already in your application.
Nodes join through the configured peer topology.
Use distributed cache, topics, counters, and claims.
Propagate relevant changes and invalidations.
Continue to rely on the chosen database, storage, and network architecture.
Start from the experience you want to create; the backend capability supports the work behind it.
Place several Daptin nodes behind a load balancer.
Reach live subscribers regardless of the node holding their connection.
Reduce duplicate work with a cluster-visible claim.
These capabilities share the same application context, so each one makes clustering and distributed state more useful.
Combine Daptin clustering with redundant databases, shared storage, load balancing, health checks, capacity planning, and recovery tests. Operate peer discovery, load balancing, shared databases, shared storage, rolling updates, capacity, and cluster recovery tests.
Run Daptin locally, explore the live administration surface, and follow one complete application path.