A simple Redis clone implemented in C++ for educational purposes. This project demonstrates the basic functionality of Redis, including in-memory data storage, basic key-value operations, and persistence.
- In-memory data store
- Basic Redis commands:
SET
,GET
,DEL
,EXISTS
- Data persistence to disk
- Simple command-line interface
- C++ compiler (supporting C++11 or later)
- CMake (version 3.10 or later)
-
Clone the repository:
git clone https://github.com/samarthshetty09/redis-clone-cpp.git cd redis-clone
-
Create a build directory and navigate to it:
mkdir build cd build
-
Configure the project with CMake:
cmake ..
-
Build the project:
make
After building the project, you can run the Redis clone server:
./redis-clone