Examples
Causal Synchronization

Causal synchronization

The multiprocess synchronization example demonstrates signed causal records, catch-up, a failed-closed partition, key rotation and restart recovery.

append objective → append work → catch up peers
peer loss → frontier threshold unavailable
peer returns → catch up and restore readiness
key rotation → stale certificate rejected → revalidated catch-up
restart → durable frontier restored

Run it with the repository's PostgreSQL example configuration. The output includes whether the partition failed closed, the recovered sequence and whether restart restored readiness.

Source: examples/collective-sync-multiprocess (opens in a new tab).