Re: Demo: RRD - Web 2.0 style
"Peter Stamfest" <[email protected]>
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <OF981EA153.55CAD57B-ONC12577BC.00207E39-C12577BC.0020F5F8@domino.stamfest.net> |
Steve Shipway <[email protected]> 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. peter _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers