Skip to content

Akhilkumar31/kvstore-cpp

Repository files navigation

KVStore (C++)

Build License: MIT

A Redis-style key-value database written in C++17.
Implements a simple text protocol (PING, SET, GET, DEL), a multithreaded TCP server, and append-only file (AOF) persistence with replay on startup.


🚀 Quickstart

# install build tools
sudo apt update && sudo apt install -y build-essential cmake git

# build
cd kvstore-cpp/scripts && ./build.sh

# run server
cd .. && ./scripts/run_server.sh

# new terminal: try commands
echo -e "PING\nSET foo bar\nGET foo\nDEL foo\n" | ./build/kvclient 127.0.0.1 6380

About

A Redis-style key-value store built in C++17 with sockets, threads, and append-only persistence.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published