Keep live clients connected across nodes
Distribute relevant product events through shared PubSub.
Home / Product / Clustering and distributed state
Coordinate more than one nodeUse the distributed runtime for cache, live event fanout, counters, and shared claims when one application instance is no longer the whole topology.
With more than one application instance, a change on node A may need to reach a WebSocket on node B. Rate counters, permission caches, and queue claims also need a shared view or the cluster behaves like unrelated servers.
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. Clustering coordinates Daptin nodes; it does not automatically make every dependency highly available.
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.
Clustering is not automatic high availability. You own peer networking, discovery, load balancing, shared database and storage, split-brain risks, rolling changes, capacity, and recovery testing.
Run Daptin locally, explore the live administration surface, and follow one complete application path.