Skip to content

ChakshuGautam/stylusdb-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylusdb-js

A minimalistic implementation of a distributed KV Store

Configuration

Modify config.json

Installation

nvm install 16
nvm use 16
npm install

Starting Server

Open four terminals and start a 4 node cluster.

DEBUG=* node index.js --port 8081
DEBUG=* node index.js --port 8082
DEBUG=* node index.js --port 8083
DEBUG=* node index.js --port 8084

Benchmarks

Coming soon

REPL

Coming soon

TODOs

  • Dockerization
  • Memory profiling
  • Scripts to deploy to edge
  • Client implementation

Caveats

  1. WIP (Bleeding edge) - use it at your own risk.
  2. Built for learning puposed only

Contribution

  1. Project is actively looking for contributors. Look at open tickets

References

  1. REPL
  2. Axon - Message Queue
  3. RAFT Implementation, copied in the project to simplify making changes and packaging.
  4. RAFT Protocol PDF
  5. RAFT Simplified 1
  6. RAFT Simplified 2

About

A distributed KV store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published