Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.26 KB

README.md

File metadata and controls

64 lines (43 loc) · 1.26 KB

MemoDB

MemoDB is a toy key-value database. It's essentially an implementation of the popular in-memory data store, Redis, written in Go.

This database can act as a drop-in replacement for a Redis server as any Redis client in the world would be able to interact with it.

Note: This project is an attempt at diving into the internals of Redis and is for learning purposes only. It's not intended for any production level use.

Run Locally

Clone the project

  git clone https://github.com/rajarshisg/memodb.git

Go to the project directory

  cd memodb

Run the server

  make

MemoDB in action

Server:
Screenshot 2024-11-04 at 4 24 32 PM
Using redis-cli:
Screenshot 2024-11-04 at 4 24 53 PM

Utility commands for local development

Build the Docker image

  make build

Run the Docker container

  make run

Stop the Docker container

  make stop

Clean-up the Docker image

  make clean

Force Docker image re-build

  make rebuild