BACK_TO_FEEDAICRIER_2
Lux drops MIT Redis replacement in Rust
OPEN_SOURCE ↗
HN · HACKER_NEWS// 27d agoOPENSOURCE RELEASE

Lux drops MIT Redis replacement in Rust

Lux is an open-source, drop-in Redis replacement written in Rust that uses a sharded, multi-threaded architecture to scale across CPU cores. It claims up to 5.6x throughput over Redis at high pipeline depths, ships in a 856KB Docker image, and commits to MIT licensing — a pointed contrast to Redis's 2024 license switch to RSALv2/SSPL.

// ANALYSIS

The Redis license rug-pull created a real opening, and Lux is betting that MIT plus meaningful perf gains is enough to pull teams away from Valkey and KeyDB in the same space.

  • The 5.6x figure applies specifically to pipelined workloads (depth 256); at pipeline depth 1, Lux is actually marginally slower than Redis — worth disclosing upfront
  • Multi-threaded sharding via tokio + parking_lot RwLocks is the same architectural bet KeyDB and Dragonfly made; Lux differentiates on Docker image size (856KB vs Dragonfly's 180MB) and license clarity
  • Zero-copy RESP parser and byte-level command dispatch are real engineering choices that reduce allocation pressure — not just marketing copy
  • Supports 80+ Redis commands with full wire compatibility, meaning ioredis, redis-py, and go-redis clients work unchanged
  • Lux Cloud at $5/mo/1GB is an interesting managed angle, but community traction is still very low — minimal HN engagement and no Product Hunt presence found
// TAGS
luxopen-sourceinfrastructureapidevtoolself-hosted

DISCOVERED

27d ago

2026-03-16

PUBLISHED

27d ago

2026-03-15

RELEVANCE

6/ 10

AUTHOR

mattyhogan