Load Worker is the individual task execution unit of the Load Effect application.
Load Worker instances are spun up by the Master Server and actively communicate with the Master Server. Load Workers will immediately perform a POST request to the Master Server, requesting a bundle of jobs. Load Workers will then execute each piece of work using site-script's library. Results of the work are returned to the Load Worker, and the Load Worker writes results to the database. Then the Load Worker, again, sends a POST request to the Master Server and will shut itself down if it receives no tasks from the Master Server.
- Retrieval of tasks from master server
- Automatic shutdown of server upon completion of task
- Synchronous saving of results to database
From within the root directory:
npm install
npm start
npm test
Run:
npm test
- Scrum Master: Felix Feng
- Product Owner: Tai Huynh
- Development Team Members: Bill Ramsey, Christian Haug, Felix Feng, Tai Huynh
- Fork the repo.
- Clone it to your local computer
- Cut a namespaced feature branch from master and name it appropriately
- Make commits and prefix each commit with the type of work you were doing
- BEFORE PUSHING UP YOUR CHANGES, rebase upstream changes into your branch, fix any potential conflicts, and then push to your fork.
- Submit a pull request directly to the master
- Someone else will perform code review to keep codebase clean
- Fix any errors or issues raised by the reviewer and push the fixes as a single new commit
- Repeat until the pull request is merged.
See CONTRIBUTING.md for contribution guidelines in detail.
M.I.T