KeyDB Multi-Threaded Redis

KeyDB Multi-Threaded Redis

docs.keydb.dev

2

About this website

KeyDB is a high-performance, multi-threaded fork of Redis (Remote Dictionary Server) that enables full utilization of multi-core CPUs, delivering significantly higher throughput than single-threaded Redis on the same hardware. Originally developed by John Sully and Ben Osher at EQ Firewall Inc. (headquartered in Victoria, Canada) and released as open source in 2019, KeyDB was later acquired by Snap Inc. (Snapchat) in 2022 and continues as an open-source project. Key features: multi-threaded architecture: unlike Redis which runs on a single thread, KeyDB runs the event loop on multiple threads (default: number of CPU cores), enabling near-linear throughput scaling. Active replication (ACTIVE-REPL): bidirectional active-active replication where both nodes accept writes simultaneously, providing high availability without read-only replicas. If one node goes down, the other continues serving all traffic. Flash storage support: KeyDB can utilize NVMe SSDs as extended memory for less frequently accessed data, effectively increasing cache capacity 10-100x beyond RAM at a fraction of the cost. Full Redis protocol compatibility: KeyDB supports all Redis commands, data types, modules, and client libraries, enabling drop-in replacement without code changes. RESP3 protocol support. Module compatibility: RedisJSON, RediSearch, RedisBloom, and other Redis modules work with KeyDB. TLS encryption. ACL (Access Control Lists) for security. Lua scripting via LuaJIT. Keyspace notifications. Pub/Sub. MEMORY STATS and OPS/SEC per-thread monitoring. Snapshotting and AOF (Append-Only File) persistence. Performance benchmarks: 2-5x throughput improvement over Redis on 8+ core machines for typical workloads. Cross-platform: Linux (production), macOS and Windows (development). Open source under BSD-3-Clause.

Tags & Categories

Statistics

2
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!