-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide "progress" in batch job status #772
Comments
in Open-EO/openeo-python-driver@16f324a I already added progress 0 to status "created"/"queued" and 100 to status "finished" |
I toyed with some back-of-the-envelope math to get a very simple approximation of the "progress" fraction. Assume the wall clock run time of batch jobs follow an exponential distribution. While this is a very simple (one-parameter) model, it's still reasonably close to the actual "long tail" distribution in reality. The single parameter (typically called lambda or Interestingly, because of the mathematical properties of the exponential distribution, the expected remaining run time of a job that already has been running for some time, say This gives a pretty simple progress estimate (you just need the actual run time and the average wall clock time for batch job completion). While you could argue that it is somewhat fake, I think it still gives a better user experience than giving no progress at all. |
did a quick proof of concept PR Open-EO/openeo-python-driver#340 |
In the category "nice to have"
GET /jobs/{job_id}
has a fieldprogress
:This progress indicator can then be shown in clients (python client, web editor).
The text was updated successfully, but these errors were encountered: