Skip to content

redis-server clone: key based in-memory data storage

Notifications You must be signed in to change notification settings

realaryann/keystore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeyStore: A Redis-Server Clone

Info

KeyStore is a mock-up redis server that is capable of managing concurrent clients on a network. It utilizes a custom implementation of the RESP protocol over TCP which works natively with redis-cli.

Supported Commands (Jan 2026)

Command Description
SET SET an individual key to a value
GET GET an individual key's value
HSET SET a field and value associated with a key
HGET GET a value associated with a key's field
EXPIRE Add a TTL (seconds) to an existing key
DEL DELETE a key from KeyStore
PING/HELLO PING the server and get a demo response

Build Instructions

    go build -o keystore main.go
    ./keystore

CLI Arguments

Options Type Description
-p string Custom TCP port number. Default: 6000

Model:

img

Releases

No releases published

Packages

No packages published

Languages