in-memory redis
redis in-memory testing
0

Configure Feed

Select the types of activity you want to include in your feed.

16 1 2

Clone this repository

https://git.vm.fail/zzstoatzz.io/burner-redis https://git.vm.fail/did:plc:mtvonsgztkwgbpcmrfwi3v2t
ssh://git@knot1.tangled.sh:2222/zzstoatzz.io/burner-redis ssh://git@knot1.tangled.sh:2222/did:plc:mtvonsgztkwgbpcmrfwi3v2t

For self-hosted knots, clone URLs may differ based on your setup.


README.md

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.zigsrc/store.rs — key-value/hash/set/sorted-set/stream/list data structures
  • src/scripting.zigsrc/scripting.rs — embedded Lua (via ziglua, Lua 5.1 to match Redis)
  • src/commands/*.zigsrc/commands/*.rs — per-command parsers/dispatchers
  • src/persistence.zigsrc/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.