This is a hobby project of coding Redis fundamentals in C++. I use it to gain more experience in C++.
It uses multithreading for serving client requests and snapshot its current state to/from disk by using a background process through fork()
.
cmake --build build
./build/database [port]
Default port is 3000.
You can connect via TCP.
The current version supports multiple types inside a hashmap. I might extend the types if there is something interesting to learn from it.
- LADD
- LGET
- LDEL
- SET
- GET
- DEL
- HSET
- HGET
- HDEL
- SAVE
- LOAD