Skip to content

rishavvajpayee/CRedis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic Redis Implementation in C

Overview

This project is a basic implementation of Redis, developed to deepen understanding of systems programming, network communication, and socket programming. It includes core features like a simple in-memory key-value store, command parsing, and client handling using multiplexing.

Features

  • Key-Value Store: Set, get, and delete key-value pairs.
  • Multiplexing: Efficient handling of multiple client connections using the select() system call.
  • Command Parsing: Supports basic Redis commands such as SET, GET, and DEL.
  • Graceful Shutdown: A special "nuke" command to gracefully shut down the server.
  • User-Friendly Prompt: Displays a prompt for client interactions similar to the Redis CLI.

Getting Started

Prerequisites

  • GCC compiler
  • Make (optional, but recommended for easy build)

Installation

  1. Clone the repository:
    git clone https://github.com/rishavvajpayee/CRedis.git
    cd Credis/

About

Basic Redis Implementation in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages