{"repo":"barddoo/zedis","free":true,"listed":false,"github":"https://github.com/barddoo/zedis","clone":"git clone https://github.com/barddoo/zedis.git","description":"Redis in Zig","language":"Zig","stars":295,"topics":["cache","redis","zig","caching","in-memory"],"license":"MIT","category":"databases-storage","readme_excerpt":"Zedis A Redis-compatible in-memory data store written in Zig, designed for learning and experimentation. Zedis implements the core Redis protocol and data structures with a focus on simplicity, performance, and thread safety. Made for learning purposes. Not intended for production use for now . Features - Redis Protocol Compatibility : Supports the Redis Serialization Protocol (RESP)locks. - Multiple Data Types : String and integer value storage with automatic type conversion. - Core Commands : Essential Redis commands including GET, SET, INCR, DECR, DEL, EXISTS, and TYPE. - High Performance : Written in Zig for optimal performance and memory safety. - Key Expiration : Set time-to-live (TTL) for keys with background expiration handling. - Disk persistence (RDB) : Point-in-time snapshots of your dataset. - Append-only file (AOF) : Durable write-ahead logging for data recovery. - Memory Budgeting : Eviction-aware KV allocator, fixed client slot pool, and separate temporary allocation paths. - Pub/Sub : Decoupled communication between services. - Time Series : Time series data structure. Now with Gorilla compression! Caveats - Zedis is intentionally single-store. It does not support multiple logical databases and does not expose Redis SELECT . It adds complexity and segment memory. This follows the reasoning Salvatore Sanfilippo gave when he called Redis multiple databases one of his worst design decisions: https://groups.google.com/g/redis-db/c/vS5wX8X4Cjg/m/8ounBXitG4sJ Roadma","default_branch":null,"files":null,"tree":[],"storefront":"/r/barddoo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/barddoo/zedis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}