I was bored over the holidays and decided to try build REDIS using Gleam!!
My first time using a functional language to this extent.
Was a bit tricky working without mutability, if statments and loops... but I got used to it eventually :)
This challenge was taken from Code Crafters
-
Install Redis (Used for client CLI)
-
Run
./spawn_redis_server.sh
orgleam run
-
In another terminal run
redis-cli
and start playing with redis!!
Right now, I've only implemented a subset of redis features
- Resp 2.0 serialisation protocol
- Echo
- Ping
- Get
- Set
- Set with expiry
- Replication
- RBD Persistence
- Streams
- Resp 3.0