Show HN: Zedis – A Redis clone I'm writing in Zig
6 hours ago
- #Redis
- #Zig
- #In-Memory Database
- Redis-compatible in-memory data store written in Zig for learning and experimentation.
- Supports Redis Serialization Protocol (RESP) and core data types like strings and integers.
- Implements essential Redis commands: GET, SET, INCR, DECR, DEL, EXISTS, TYPE.
- Features high performance, thread safety, and connection management for multiple clients.
- Includes disk persistence (RDB snapshots) and Pub/Sub functionality.
- Future plans: AOF logging, more Redis commands, lists/sets support, key expiration, clustering.
- Built with Zig (minimum version 0.15.1) for memory safety and performance.
- Easy to build and run with commands provided.
- Follows Zig conventions: type-safe operations, explicit error handling, memory safety, and logging.
- Contribution guidelines include adding commands, tests, and following Zig formatting.