optuna-dashboard icon indicating copy to clipboard operation
optuna-dashboard copied to clipboard

Automatic API polling interval control for live-updating graphs.

Open c-bata opened this issue 3 years ago • 0 comments

To display latest information of Optuna's execution, Optuna Dashboard polls JSON API periodically. Optuna Dashboard users can choose the interval second via drop-down menu on the AppBar (e.g. 10s, 30s, 60s, and stop).

However, I actually hope that any kinds of settings are removed as possible as I can. It makes Optuna Dashboard simpler and easy-to-use, I believe. We may control the polling interval automatically like following approaches:

  • Start with the short interval such as 5 seconds.
  • Make the interval longer if there are no updates within last two API requests (5sec -> 10sec -> 30sec -> 60sec -> 10min).
  • Make the interval shorter if there are updates every time.

c-bata avatar Jun 01 '22 11:06 c-bata