Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.23 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.23 KB

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