zzgandClaude Opus 5.5 f53594fe10 In-memory ZooKeeper-style store
Znode tree with versioned CAS, ephemeral/sequential nodes, sessions,
and one-shot watches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 13:01:12 -07:00
2026-10-20 13:01:12 -07:00
2026-10-20 13:01:12 -07:00
2026-10-20 13:01:12 -07:00
2026-10-20 13:01:12 -07:00
2026-10-20 13:01:12 -07:00

zk

In-memory ZooKeeper-style coordination store in Go.

  • Znode tree with versioned data and compare-and-set Set/Delete
  • Persistent, ephemeral, and sequential nodes
  • Sessions: closing one deletes its ephemeral nodes
  • One-shot watches via Get, Exists, and Children
  • Stat with czxid/mzxid/pzxid, version, cversion
s := zk.New()
c := s.NewSession()
defer c.Close()
c.Create("/election", nil, zk.Persistent)
me, _ := c.Create("/election/n-", nil, zk.EphemeralSequential)

go test -race ./...

S
Description
In-memory ZooKeeper-style coordination store in Go
Readme
35 KiB
Languages
Go 100%