[rrd-users] api for iterating over single rows in a rrd file
Tobias Oetiker
tobi at oetiker.ch
Fri Jul 4 12:00:35 CEST 2014
Today Daniel Pocock wrote:
> > Neither ... my question is, what is the purpose of such an
> > endevour on the API level.
>
>
> >From a technical perspective, if rrdtool provided such an API:
> - it would make programming easier for people accessing data in this way
> - it could be optimized for efficiency (e.g. the IO subsystem would be
> reading 4KiB of data from each file at a time, the iterator would then
> return values from that buffer and the IO subsystem would only do more
> reads when the iterator advances over a page boundary)
>
> >From a user perspective, it would enable people to look across all their
> RRDs, e.g. to answer questions like "which CPUs were over 90% utilized
> at any time between 09:00 and 10:00"
rrdtool 2.x will provide cooler apis ;)
cheers
tobi
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi at oetiker.ch +41 62 775 9902
More information about the rrd-users
mailing list