The interesting part is how LiteFS works - it sits between your application and SNKV using FUSE, intercepts WAL writes, and streams them to replica nodes. The application just sees a regular filesystem. I'm using Consul for leader election, but LiteFS also supports static configuration.
Setup guide with working code: https://github.com/hash-anu/snkv/blob/master/litefs_setup_gu...
Verified with 10MB of data replicating correctly across nodes. The guide includes architecture diagrams and both writer/reader programs with full byte-by-byte verification.
Would appreciate your feedback.