Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yamikura

Yamikura is a high-performance Redis-compatible in-memory cache system written in Go.

Features

  • 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

Installation

go get github.com/dostonlv/yamikura

Running the Server

# 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.key

Using the CLI

go run cmd/yamikura-cli/main.go -host 127.0.0.1 -port 6379

Performance

Benchmarks show Yamikura performs 1.8-2.6x faster than Redis for basic operations.

Yamikura fully support redis client library

License

MIT

About

its not redis but my cache server and has interactive cli

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages