Closed vieyahn2017 closed 5 years ago
kvs This is an experimental simple key value store for shared storage.
The database is on logical volume on a shared LUN, or on NFS or GlusterFS mount.
The user must ensure that there is a single writer in the cluster. One way is using sanlock exclusive lease.
Multiple readers can access the database while the writer is modifying it without any locking.
Multiple concurrent readers on a host can see stale pages mapped by a concurrent reader instead of fresh pages read from the shared storage. This can be solved by ensuring single reader, but I'm not sure it is really needed if all readers are quick.
https://github.com/nirs/kvs