Open GoogleCodeExporter opened 9 years ago
If we can generate ETAs (probably an ETA to /begin/ the job), then that would
be enough. ETA to complete the job is probably incomputable :). In the recipe,
I would probably just see if the job could be accepted within 5 minutes, and if
not, do it locally. Even ETA to begin the job would be hard to compute, unless
we had:
* homogenous tasks within a dimension set
* a huge number of workers within a dimension set
Additionally, we also plan to use this to avoid hard-coding which tasks should
be done on swarming and which ones should not. In particular, we would need
this to return 'infinity' for requests for Vista task capacity, so the recipe
would decide to do them locally (until we added Vista capacity).
The other way to implement this would be to put it in the task request
protocol, e.g.:
START_TASK({dimensions}, min_start_eta=300seconds, ...) -> 40x Cannot Start
Task In Time
Original comment by iannucci@chromium.org
on 18 Sep 2014 at 9:13
Original issue reported on code.google.com by
maruel@chromium.org
on 18 Sep 2014 at 7:22