Yamikura is a high-performance Redis-compatible in-memory cache system written in Go.
- High-performance in-memory cache with sharding (1024 shards)
- Redis protocol (RESP) compatibility
- Support for commands: GET, SET, DEL, TTL, KEYS, PING
- Key expiration (TTL) functionality
- Pattern matching for KEYS command using prefix tree
- TCP server with TLS support
- Colorful interactive CLI client
go get github.com/dostonlv/yamikura# Basic usage
go run cmd/yamikura/main.go
# With custom options
go run cmd/yamikura/main.go -addr 127.0.0.1:6380 -tls -cert server.crt -key server.keygo run cmd/yamikura-cli/main.go -host 127.0.0.1 -port 6379Benchmarks show Yamikura performs 1.8-2.6x faster than Redis for basic operations.
MIT