All Projects → tidwall → Cache Server

tidwall / Cache Server

Licence: mit
A minimal key/value server written in Rust with Redis API support.

Programming Languages

rust
11053 projects

cache-server

A minimal Key/Value store written in Rust.

This is my very first project in Rust. I wanted to throw myself into the deep end by using event-based networking, multithreading, and memory synchronization patterns.

Features

  • Multithreaded
  • Compatible with existing Redis clients
  • Optimized for command pipelining

Build

You need to install Rust.

cargo build --release
target/release/cache-server

The options --threads is available to define the number of threads to use.

Commands:

SET key value
GET key
DEL key
KEYS pattern
FLUSHDB
QUIT
PING

Contact

Josh Baker @tidwall

License

Source code is available under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].