engine-resource-allocate-service

module
v0.0.0-...-adb0196 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT

README

engine-resource-allocate-service

Build Status License

engine-resource-allocate-service 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
Example
# start master quorum
./engine-resource-allocate-service-master --http_endpoint=:18081 --grpc_endpoint=:18091 --id=localhost:18091
./engine-resource-allocate-service-master --http_endpoint=:18082 --grpc_endpoint=:18092 --id=localhost:18092
./engine-resource-allocate-service-master --http_endpoint=:18083 --grpc_endpoint=:18093 --id=localhost:18093

# join workers
./engine-resource-allocate-service-worker --id=worker-1 --spec=conf/worker_1.json
./engine-resource-allocate-service-worker --id=worker-2 --spec=conf/worker_2.json
./engine-resource-allocate-service-worker --id=worker-3 --spec=conf/worker_3.json
./engine-resource-allocate-service-worker --id=worker-4 --spec=conf/worker_4.json
./engine-resource-allocate-service-worker --id=worker-5 --spec=conf/worker_5.json

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
internal

Jump to

Keyboard shortcuts

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