timeMachine

command module
v0.0.0-...-37eefcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 23 Imported by: 0

README

Time Machine DB 🐓

Slack Status

A distributed, fault tolerant scheduler database that can potentially scale to millions of jobs.

The idea is to build it with a storage layer based on B+tree implementation, distributed hash table for load balancing, and raft for consensus.

🧬 Documentation

Cluster animation

🎯 Quick start

# Build 
❯ go build

# Clean and create 5 data folders
❯ ./scripts/clean-create.sh 5

# Spawn 5 instances
❯ ./scripts/spawn.sh 5 true

# Create a cluster
❯ ./scripts/join.sh 5

# Specify the slots per node
❯ ./scripts/configure.sh 4

# Check status
❯ ./scripts/status.sh 5

Checkout the detailed guide

🎬 Roadmap

You can find the roadmap here

🛺 Tech Stack

Time machine is built on

For more details checkout our Tech stack

⚽ Contribute

  • Choose a component to work on.
  • Research the component thoroughly.
  • Reach out to me, so that I can mark it as "Work in Progress" to prevent duplication of efforts.
  • Build, code, and test the component.
  • Submit a pull request (PR) when you are ready to have your changes reviewed.

Refer Contributing for more

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
components
dht
jobstore
Package jobstore contains the methods necessary to perform all operations on the DB.
Package jobstore contains the methods necessary to perform all operations on the DB.
wal
handlers
models
process
cordinator
This package is used to access the data layer from APIs like REST, GRPC and CLI
This package is used to access the data layer from APIs like REST, GRPC and CLI
utils

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL