Kvrocks
official ● signeddoze/kvrocks A local Apache Kvrocks server: the Redis protocol backed by RocksDB on disk. Durable and memory-frugal — a drop-in Redis API when you want persistence without holding the dataset in RAM. Supports namespaces with per-namespace tokens.
Usage
Drop it in doze.hcl and run doze up.
kvrocks "store" {
version = 2
port = 6380
workers = 4
password = "admin"
settings = {
rocksdb.block_cache_size = "256"
}
namespace "tenant_a" {
token = "tenant-a-token"
}
namespace "tenant_b" {
token = "tenant-b-token"
}
} Versions you can run
The version = you write is the engine's own version — the only version that's yours. Declare a series and doze pins its newest published build, or declare an exact build; either way it's fetched, verified, and pinned in doze.lock, so it never moves on its own.
| version = | pins (today) | exact builds |
|---|---|---|
| 2 | 2.16.0 | 20 |
every exact build, per series
Configuration
Arguments and nested blocks the engine accepts — generated from the module itself, so it can't drift.
| Name | Type | Default | Description |
|---|---|---|---|
| version REQ | number | — | Engine major to run — 2. |
| workers | number | — | Number of worker threads. |
| password | string | — | requirepass auth password (the admin namespace); required when namespaces are declared. |
| settings | map(string) | — | Arbitrary kvrocks.conf directives, applied verbatim. |
namespace"<name>" { }
nested block · repeatableA logical namespace with its own access token.
| Name | Type | Default | Description |
|---|---|---|---|
| token REQ | string | — | Auth token scoped to this namespace. |
Under the hood — module releases you never write these; doze picks and pins automatically
The plugin releases that provide this engine. doze selects the newest one compatible with your doze and your declared versions, pins it in doze.lock, and the index is cumulative — older releases stay resolvable for pinned lockfiles. modules { kvrocks { version = "…" } } pins one exactly (the escape hatch for bisecting a regression).
| release | protocol | engine support | platforms |
|---|---|---|---|
| 0.2.1 stable | 1 | 2 | 3 platforms |
raw signed data: index.yaml ↗ · meta.yaml ↗