Skip to content

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

Notifications You must be signed in to change notification settings

rajarshisg/memodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published