github / github/gh-ost

ETA to use PID calculation

Open
#48 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

Current ETA heuristic is oversimplistic, and uses `(runtime so far)*(total number of rows)/(copied number of rows)`

This is susceptible to momentary pauses, spikes etc. We need to be able to better predict ETA. [PID](https://en.wikipedia.org/wiki/PID_controller) is a classic solution and easy to implement.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.