Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 915 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 915 Bytes

pico-redis

Terminal Demo

A tiny reimplentation of Redis. My main goal with this was to learn more about async programming in Rust using Tokio. src/app.rs contains most of the logic.

Note: This is a very naive implementation, the database is just a non-sharded hashmap.

Running the code

Make sure you have Rust installed and run:

$ cargo run
  ...

Supported Commands

Possible Future stuff

There's a lot of room for optimizations with stuff like LSM-trees but I don't yet have the time to learn how to implement them.