Redis_Go
A Redis-compatible database built from scratch in Go. Works with the official redis-cli, redis-benchmark and client libraries, with AOF persistence and crash recovery, leader-follower replication, and automatic failover through Raft-inspired majority elections.
- Profiling beats guessing: batching reply writes gave a 2.9× throughput jump.
- Failover is the hard part of a database: majority elections, split-brain write protection and WAIT for synchronous replication.
- Diffing 100,000 randomized commands against real Redis is a much stronger check than hand-written test cases.