timeMachine

module
v0.0.0-...-9c428b3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT

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

Directories

Path Synopsis
cmd
cli command
integrationtest command
This package contains tools for basic testing of time machine DB
This package contains tools for basic testing of time machine DB
server command
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.
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
publisher
Publihser is responsible for publishing jobs to appropriate routes.
Publihser is responsible for publishing jobs to appropriate routes.
utils

Jump to

Keyboard shortcuts

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