cd cmd
go run main.go
# on another terminal
redis-cli -p 8080
- Compatible with Redis CLI
- Single-threaded architecture
- Multiplexing IO using epoll for Linux and kqueue for MacOS
- RESP protocol
- Graceful shutdown
- Simple eviction mechanism
- PING
- SET, GET, TTL
- String
- Hash table
- Other data types: number, array, boolean, date, ...
- Other eviction strategies: LRU, LFU