burner-redis#
zig 0.16 port of prefectlabs/burner-redis — an embedded, in-process Redis-compatible database.
The original is a Rust crate with Python bindings. This port is the Rust core translated to Zig, with the Python/PyO3/Tokio layer removed (we don't need it — Zig consumers call the engine directly).
status#
Experimental. Translation in progress. Track via the upstream:
src/store.zig←src/store.rs— key-value/hash/set/sorted-set/stream/list data structuressrc/scripting.zig←src/scripting.rs— embedded Lua (via ziglua, Lua 5.1 to match Redis)src/commands/*.zig←src/commands/*.rs— per-command parsers/dispatcherssrc/persistence.zig←src/persistence.rs— MessagePack snapshot (deferred)
why#
docket needs a memory backend so prefect-server can ship distributed background tasks without a Redis dependency. The dual-backend rule for prefect-server features says memory + redis matrices must land together — this is the memory half.
credit#
All credit for the design, command set, semantics, and the data-structure choices goes to the original Rust project, prefectlabs/burner-redis. This repo is just a Zig translation.
license#
MIT — see LICENSE.