Our great sponsors
Master programming by recreating your favorite technologies from scratch.
You're probably thinking of https://codecrafters.io/. I've been meaning to check them out with my education stipend from work, just haven't had the time to devote to it.
A very tiny clone of Redis for experimenting with PubSub
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).
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Code for "Zero To Production In Rust", a book on API development using Rust.
A performant Redis server implemented in SwiftNIO.
Rewrite Redis in Rust.
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
I guess that's what you're looking for
(educational) build your own disk based KV store in Go
I am a big fan of Build Your Own X educational projects. Recently, I released a Go version of my build your own KV Store project. I have set up this project in TDD fashion with the tests. So, you start with simple functions, pass the tests, and the difficulty level goes up. There are hints if you get stuck (e.g. link). When all the tests pass, you will have written a persistent key-value store.
go - https://github.com/avinassh/go-caskdb
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Playground to practice "Designing Data-Intensive Applications" concepts
Shameless plug; I've been playing with a [Redis Server implementation in Go](https://github.com/jan-carreras/ddia) for the past weeks. Mainly as a way to try out things explained in Designing Data-Intensive Applications book (favourite of mine!). Those are the [commands implemented](https://github.com/jan-carreras/ddia/blob/master/commands.md), + TTL + AoF files (for state replication) + config file, ... The "challenge" was to do it without any external dependency other than go stdlib.
> I actually build minimal Redis clones in every new language or runtime, or when I want to explore threading models.
100% agree with your advice; I'll definitively try to implement other parts of the Redis service in Go (eg: pub/sub, replication, clustering...) and probably repeat the same exercise when learning any new language.
Sharing Saturday #371
3 projects | reddit.com/r/roguelikedev | 16 Jul 2021
Anything C can do Rust can do Better
58 projects | dev.to | 1 Dec 2022
how did u guys learn how to code (apart from school classes)?
2 projects | reddit.com/r/OntarioGrade12s | 21 Oct 2022
Rust project Ideas
3 projects | reddit.com/r/learnrust | 17 Aug 2022
3 projects | reddit.com/r/rust | 15 Jun 2022