Home

Awesome

LoadMaster


Description

Load Master is the load distributing component of the Load Effect application. This server receives requests from the Load Effect web server and spins up docker instances based on the request specifications. The Load Master features a custom-built job queue which will distribute work through the /api/requestJob end point, job de-packaging capabilities, etc. Worker servers interact with the Master server by asking for additional additional packets of work. If no more work is available, masters will shut down workers.

Features

Master Server Architecture

image

Table of Contents

  1. Usage
  2. Getting Started
    1. Prerequisites
    2. Installing Dependencies
  3. Core Team
  4. Contributing
  5. Licensing

Getting Started

Prerequisites

Installing Dependencies

From within the root directory:

npm install

Running The App

npm start

Testing

npm test

Run:

npm test

Core Team

Contributing

  1. Fork the repo.
  2. Clone it to your local computer
  3. Cut a namespaced feature branch from master and name it appropriately
  4. Make commits and prefix each commit with the type of work you were doing
  5. BEFORE PUSHING UP YOUR CHANGES, rebase upstream changes into your branch, fix any potential conflicts, and then push to your fork.
  6. Submit a pull request directly to the master
  7. Someone else will perform code review to keep codebase clean
  8. Fix any errors or issues raised by the reviewer and push the fixes as a single new commit
  9. Repeat until the pull request is merged.

See CONTRIBUTING.md for contribution guidelines in detail.

License

M.I.T