Skip to content

fffzlfk/distrikv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to distributed-key-value 👋

Twitter: fffzlfk

A simple distributed key value store in golang

Main idea

SetKey & GetKey

Using hash(key) to get the index, if that is not euqal to current index, then redirecting to the index-matched server

Replication

Created a Queue on the Masters, this queue stores key-values that have not yet been written to replicas, Slaves loop get datas from the queue and delete them from Master.

Usage

./launsh.sh

Configuration

sharding.toml

Author

👤 fffzlfk

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

a simple distributed key value store in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published