Hasty Briefsbeta

Show HN: Drop-in Redis replacement in Rust with 5M+ GET/s

15 hours ago
  • #database
  • #redis
  • #performance
  • Extreme Performance: 3.8M+ SET/s, 5M+ GET/s (redis-benchmark with 50 clients and pipeline depth 64)
  • Redis Protocol Compatible: Drop-in replacement for Redis workloads
  • Thread-per-Core Architecture: Scales linearly with CPU cores
  • Lock-Free Operations: Built on FeOxDB's lock-free data structures
  • 2x faster for typical cache workloads with 45-50% lower latency
  • Consistent performance across different read/write ratios
  • Better p99 latency consistency under load
  • Installation options: from crates.io or build from source
  • Custom configuration options available (port, bind, threads, data-path)
  • Supports basic Redis operations (SET, GET, INCR, EXPIRE, etc.)
  • Supports lists, counters, expirations, multi-key operations, and pub/sub
  • Client management commands available (CLIENT ID, LIST, INFO, etc.)
  • Additional operations: JSONPATCH, CAS (Compare-and-swap)
  • Configuration options: port, bind, threads, data-path, log-level, requirepass
  • Security recommendations: bind to localhost, use SSH tunnels, firewalls
  • System requirements: Rust 1.70+, Linux/macOS (Windows experimental)
  • Benchmarking tips: use redis-benchmark with -r flag for random keys
  • Limitations: concurrent updates to same key may cause errors
  • Missing features: Sets, Sorted Sets, Hashes, Transactions, Lua scripting
  • License: Apache License 2.0