bees

module
v0.0.0-...-d60fe65 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT

README


Architecture

Feature

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

Usage

1. 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

2. 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

3. task management with restful api

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