DEV Community

Cover image for I Built a Redis Alternative in Rust — MnemeCache
VUSAL RAHIMOV
VUSAL RAHIMOV

Posted on

I Built a Redis Alternative in Rust — MnemeCache

Redis is great. But it has problems I could not ignore:

  • TLS is off by default
  • No per-request consistency control
  • Basic user permissions

So I built MnemeCache — named after Mnemosyne,
the Greek goddess of memory.


How It Works

Two types of nodes:

Core (God Node) — holds everything in RAM, serves all requests, never touches disk

Keepers — save data to disk via WAL + snapshots, push data back when Core restarts


What Makes It Different

TLS always on — auto-generated, no configuration needed

Per-request consistency:

EVENTUAL  → fastest
QUORUM    → majority must confirm (default)  
ALL       → every node must confirm
Enter fullscreen mode Exit fullscreen mode

Real RBAC — admin, readwrite, readonly roles with per-database restrictions


Honest Status

Not production ready yet. No published benchmarks. Linux only. Custom protocol so Redis clients do not work.

I am sharing this for feedback from people who use cache systems daily.


GitHub → github.com/vusalrahimov/mnemecache

Thoughts? Leave a comment below.

Top comments (0)