SocialGouv / monitorer

A highly customizable deploy-in-one-click application to monitor your web services uptime and latency.
https://socialgouv.github.io/monitorer/
Apache License 2.0
15 stars 8 forks source link

Admin panel is slow to load when database is large #66

Open infinitepower18 opened 4 years ago

infinitepower18 commented 4 years ago

🐛 Bug Report

After the database size grows to something like 3.5 MB, loading the admin panel takes an extremely long time, up to a minute of waiting.

Expected behavior

The admin panel should immediately load.

Environment

Status page hosted on Glitch, worker on Heroku. Same database. Trying to access dashboard on Windows 10 Build 18363.752 with Microsoft Edge Chromium 80.0.361.69 64 bit.

ivangabriele commented 4 years ago

Hi @codeinteger6,

Sorry for the delay, I will drastically improve the loading time this week-end by pre-generating charts aggregated data.

infinitepower18 commented 4 years ago

Hi @codeinteger6,

Sorry for the delay, I will drastically improve the loading time this week-end by pre-generating charts aggregated data.

I updated to the latest commit and now the configuration loads quickly, but the database management takes a while to load.