This project is an implementation of a simple Redis-like key-value store in C/C++. It follows the principles outlined in the Build Your Own X From Scratch series of books. The project aims to build a basic Redis server with simplified features. It covers fundamental aspects such as handling basic data types, client-server communication, and storage mechanisms.
To make the compilation process more convenient, scripts have been provided in the scripts
folder.
if you use windows
, I not provide the compiler.bat
file. You need to compile the server and client manually.
IMPORTANT NOTE: you need the install the dependencies of c++ compiler first, you can do that by running the following command:
sudo apt-get install g++
Compile Server and Client
./scripts/compiler.sh
the output files will be on folder ./outputs
.
Run Server.
./output/server
Run Client.
./output/client