https://github.com/aep/kane
key value database ORM for golang
https://github.com/aep/kane
Last synced: about 1 year ago
JSON representation
key value database ORM for golang
- Host: GitHub
- URL: https://github.com/aep/kane
- Owner: aep
- Created: 2025-04-11T08:28:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-12T14:30:05.000Z (about 1 year ago)
- Last Synced: 2025-05-07T14:56:54.677Z (about 1 year ago)
- Language: Go
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
KANE
====
an opinionated key value database ORM for golang.
drop any object into a KV and search for any of its fields.
this is a reduced version of apogy, rebuilt on rawkv instead of relying on tikvs percolator,
which suffers under high contention.
if we are willing to sacrifice multi-object transactions,
we can make single object commits using zero-phase CAS and the timestamp oracle to create unique index keys.
contention still requires retrying the CAS because of a limitation in rawkw,
but indexing is longer involved in the contention, making the retry significanly more likely to pass.