bees

module
v0.0.0-...-fb670e6 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: MIT

README

Bees

What I cannot create, I do not understand -- by Richard Feynman.

Build Status Coverage Status License

Bees is designed to provide high-available distributed task scheduling management service.

Feature

  • RESTful/gRPC API for task management.
  • Strong consistency for task CRUD and assignment.
  • HA for master.

Get Started

Prerequisites
  • OS: Linux
  • Golang: v1.12+
Installation
Clone
Setup
# build the binary
make build

# start master quorum
./bees-master --http_endpoint=:18081 --grpc_endpoint=:18091 --id=master-1
./bees-master --http_endpoint=:18082 --grpc_endpoint=:18092 --id=master-2
./bees-master --http_endpoint=:18083 --grpc_endpoint=:18093 --id=master-3

# join workers
./bees-worker --id worker-1 --spec conf/worker_1.json
./bees-worker --id worker-2 --spec conf/worker_2.json
./bees-worker --id worker-3 --spec conf/worker_3.json
./bees-worker --id worker-4 --spec conf/worker_4.json
./bees-worker --id worker-5 --spec conf/worker_5.json
Example

Documentation

Api Design

Contributing

Step 1
  • 🍴 Fork this repo!
Step 2
  • 🔨 HACK AWAY!
Step 3

FAQ

  • refer to FAQ.

Support

License

  • This project is licensed under the MIT License - see the MIT license for details.

Directories

Path Synopsis
Package api is a reverse proxy.
Package api is a reverse proxy.
cmd

Jump to

Keyboard shortcuts

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