Skip to content
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

Feature to load each segment separately #116

Open
IzzySoft opened this issue Oct 6, 2015 · 3 comments
Open

Feature to load each segment separately #116

IzzySoft opened this issue Oct 6, 2015 · 3 comments

Comments

@IzzySoft
Copy link

IzzySoft commented Oct 6, 2015

On "small devices" (e.g. Raspi, Banana Pi), page loading takes "ages" – most likely as the graphs are created on request, and only sent to the browser once they're all complete. I'd suggest two possible improvements:

  • give each graph/section a link/switch to just reload that one (I often find myself in the situation where the page was already opened a while ago, an I just need to re-check a single graph – so reloading only that one would suffice, no need to reload everything)
  • start "sending" each section as soon as it's done (instead of sending all together once the entire preparation is done)

Optionally, make that configurable (as it might be no issue on "big systems").

@mikaku
Copy link
Owner

mikaku commented Mar 20, 2018

With the new enable_parallelizing option (enabled by default), Monitorix should generate graphs faster in multi-core systems.

@IzzySoft
Copy link
Author

Thanks, that's a start. Still, with 20+ graphs on a "low-spec" device (think: RasPi, BananaPi) it won't help that much – especially for single-core devices. On my BananaPi (DualCore) it should speed up things by ~50..75%. Still, often it's a specific graph one needs to refresh without being interested in all the others, so a "reload" link on each (as described in my initial post) would be much appreciated.

@mikaku
Copy link
Owner

mikaku commented May 8, 2019

@IzzySoft, I recently introduced a new option which may help you here.

With this option, you might include the RRDtool option called --lazy RRDtool documentation which, as documentation says, Only generate the graph if the current graph is out of date or not existent.

Just let me know if that helped you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants