I built a Redis-alternative distributed cache in Rust โ with WAL persistence, mTLS, and Raft consensus
MnemeCache is an open-source distributed in-memory cache written in Rust. It speaks the Redis protocol over TLS, so any existing Redis client works with zero changes. ๐ GitHub: github.com/mneme-la...
Source: DEV Community
MnemeCache is an open-source distributed in-memory cache written in Rust. It speaks the Redis protocol over TLS, so any existing Redis client works with zero changes. ๐ GitHub: github.com/mneme-labs/mneme ๐ณ Docker Hub: hub.docker.com/r/mnemelabs What makes it different WAL + Keeper nodes โ writes stream over mTLS to dedicated Keeper processes that own all disk I/O. Core stays pure in-memory. Raft consensus โ 3-node HA cluster with automatic leader election and sub-second failover. Read replicas โ horizontal read scaling with eventual consistency. Auto mTLS โ Core generates a CA on first boot and shares it across the cluster via a shared volume. Zero manual cert management for Docker deployments. Prometheus metrics on every node, Grafana dashboard included. Four node types, four Docker images Image tag Role mnemelabs/mnemecache:latest Solo โ Core + Keeper in one process mnemelabs/mnemecache:core Cluster primary mnemelabs/mnemecache:keeper Persistence layer mnemelabs/mnemecache:replica