[50248] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: PSINet/Cogent Latency

daemon@ATHENA.MIT.EDU (Richard A Steenbergen)
Tue Jul 23 11:04:18 2002

Date: Tue, 23 Jul 2002 11:02:47 -0400
From: Richard A Steenbergen <ras@e-gerbil.net>
To: nanog@merit.edu
In-Reply-To: <20020723135340.GC29320@alcor.net>
Errors-To: owner-nanog-outgoing@merit.edu


On Tue, Jul 23, 2002 at 09:53:41AM -0400, Matt Zimmerman wrote:
> 
> There is a C library, librrd.  That is how the other language APIs are
> built.  As to efficiency, there is a lot of stringification, which is
> inconvenient and unnatural in C, but this should not be the bottleneck in
> the collection operation.

Yeah that thing, but I don't consider "rrdtool(argc, argv);" to be an 
actual lib interface. :)

Where the bottleneck happens is dependant on a lot of things. I've seen
libsnmp using code (which is vile at best) put out more than enough
queries, so it can be done. After that, your bottleneck probably would be
all the string parsing and file opening for every transaction in RRD.

For a laugh, consider the fact that mrtg used to PREPEND data to its 
.log files on every poll. :)

-- 
Richard A Steenbergen <ras@e-gerbil.net>       http://www.e-gerbil.net/ras
PGP Key ID: 0x138EA177  (67 29 D7 BC E8 18 3E DA  B2 46 B3 D8 14 36 FE B6)

home help back first fref pref prev next nref lref last post