This repository contains my Client for the COMP3100 project.
It is designed to connect to ds-server which you can find here:
https://github.com/distsys-MQ/ds-sim
- Run server from ds-sim
$ ds-server -n
- Run client
$ java MyClient [LRR | FC | FA]
Schedules all jobs to the largest (most cores) server in a round robin fashion.
Schedules a job to the first server in the response to GETS Capable regardless of how many running and waiting jobs there are.
Schedules a job to the first available server. If there aren't any available servers, it schedules to the first capable server.
This algorithm is optimised to reduce the turnaround time.