[rrd-developers] Demo: RRD - Web 2.0 style

Peter Stamfest peter at stamfest.at
Thu Oct 14 08:01:08 CEST 2010

Steve Shipway <s.shipway at auckland.ac.nz> schrieb am 14.10.2010 00:15:44:

> Now that is rather nice… might be a bit demanding on the backend RRD
> server, though, to have to render graphs so frequently.  How do you 
> pass the image back to the browser?

It is just a servlet sending out an image. The move/zoom logic is 
implemented in javascript on the client side. The meta data for an image 
can be accessed by the script through a (separate) AJAX call. 

The drawback of this extremely simple approach is, that it takes two HTTP 
requests to get the image AND the metadata.

And in order to lower the pressure on the server, I queue up move events 
and handle them only every 100ms, or so.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20101014/bb8263d2/attachment.htm 

More information about the rrd-developers mailing list