Skip to content

A simple in memory store with CRUD operations for storing key-value pairs

License

Notifications You must be signed in to change notification settings

Sahilb315/Key-value-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Key Value Store

Overview

A basic key value store implementation in Go that writes data into disk.

Installation

  1. Clone this repo locally & cd into the cloned folder
  2. Run the server (default PORT - 8000)
 go run main.go
  1. You can send requests for CRUD operations
  2. It will create 2 files - data.json for storing data & logs.log for storing logs

Features

  • Supports TTL(Time To Live)
  • Can handle multiple requests concurrently
  • Implements basic CRUD (Create, Read, Update, Delete) operations for key-value pairs.
  • Has simple persistence to disk (Writes to disk after every specified count or time)
  • Implements basic logging for operations

License

MIT

About

A simple in memory store with CRUD operations for storing key-value pairs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages