implement load balancing / resource broker on the backend
now that we have decided to drop fabio and do all service discovery calls via consul, the load balancing will have to be done manually on the backend. however, right now integration-testing work by consul calling the first running service. therefore only one request can be processed by the backend in the testing mode. (this is done by limiting the number of giblab-ci pipelines on the testserver to max 1 at a time. however, for the live platform (i'd say even alpha) this is not an option.
so we will need some sort of code on the [probably nunet-adapter] which will query consul for endpoints of all services, figure out which ones are free and bind the workflow to them.
Related issues;
- the ones dealing with workflow construction -- linked below
Edited by kabir