v2.0.0 — Redis 7.x Compatible

Lightning-fast Redis,
built in Rust.

rLightning is a high-performance, Redis 7.x compatible in-memory data store. 400+ commands, full persistence, cluster mode, Lua scripting, and ACL security.

docker pull nxrvl/rlightning

Why rLightning?

Blazing Fast

Built in Rust with lock-free concurrent data structures, jemalloc, and async I/O via Tokio for maximum throughput.

🔄

Redis 7.x Compatible

Full RESP2/RESP3 protocol support. Drop-in replacement for Redis with 400+ commands across all data types.

📦

All Data Types

Strings, hashes, lists, sets, sorted sets, streams, bitmaps, HyperLogLog, and geospatial indexes.

🔒

ACL Security

Per-user command, key, and channel permissions. Password and named-user authentication with ACL LOG tracking.

🌐

Cluster & Sentinel

Hash slot distribution, gossip protocol, automatic failover, and Sentinel monitoring with quorum-based detection.

📜

Lua Scripting

Lua 5.1 engine with redis.call()/pcall() bindings. EVAL/EVALSHA and Redis 7.0 Functions support.

💾

Persistence

RDB snapshots, AOF logging, and hybrid mode. Background saves with configurable sync policies.

🐳

Multi-arch Docker

Pre-built images for amd64, arm64, and armv7. Lightweight Debian-based runtime with non-root user.

Quick Start

Docker

docker pull nxrvl/rlightning
docker run -d -p 6379:6379 nxrvl/rlightning

From Source

git clone https://github.com/nxrvl/rLightning.git
cd rLightning
cargo build --release
./target/release/rlightning