Skip to content

ch1n3du/pico-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a tiny redis implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published