reredis
miniredis
Our great sponsors
reredis | miniredis | |
---|---|---|
1 | 1 | |
32 | 52 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | about 1 month ago | |
Rust | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reredis
-
The “Build Your Own Redis” Book Is Completed
I did something similar by building Redis in Rust a few years ago. It’s a really good learning and exercise to a lot of topics like network programming. https://github.com/huangjiahua/reredis
miniredis
-
The “Build Your Own Redis” Book Is Completed
I actually build minimal Redis clones in every new language or runtime, or when I want to explore threading models. It all started with https://github.com/rcarmo/miniredis (which I forked to add and experiment with pub/sub), and I just found myself doing it again and again because Redis is the quintessential network service:
By implementing it, you learn about socket handling, threading models, data representation, concurrency (if you want to do a multi-threaded version), etc. None of my "ports" are fully functional, but they all helped me sort out some of the above plus build tools, packaging, dependencies, etc.
It's "hello world" for core cloud native microservices, if you will (and without having to do REST or JSON stuff).
What are some alternatives?
redi-s - A performant Redis server implemented in SwiftNIO.
go-caskdb - (educational) build your own disk based KV store in Go
build-your-own-x-in-rust
build-your-own-x - Master programming by recreating your favorite technologies from scratch.
ddia - Playground to practice "Designing Data-Intensive Applications" concepts
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.