[rrd-users] reduce graph generation times

Simon Hobson linux at thehobsons.co.uk
Sun Nov 8 20:02:37 CET 2015

Alex van den Bogaerdt <alex at vandenbogaerdt.nl> wrote: some very good advice.

The only thing I can add is to, if you have the storage, the --lazy option. That way, while each graph will take the same time to create, it only needs to be created once.
So if (for example) you have a page with several graphs of the same thing over different timescales (eg day, week, month, year) then you really only need to create the day graph the first time the page is shown in any day - and after that it won't change again until tomorrow.
Using --lazy means it'll keep that first image on disk and just serve it up rather than re-render it.

It really depends on your workload, but can significantly reduce the number of graphs you need to draw.

More information about the rrd-users mailing list