Sidnei da Silva of Canonical wrote a StatsD server with Twisted. I thought it was pretty neat, and thus worth sharing with twisted-python@.
jml ---------- Forwarded message ---------- From: Sidnei da Silva <sidnei.da.si...@canonical.com> Date: Tue, Jun 21, 2011 at 7:27 AM Subject: [Canonical-tech] txStatsD - A Twisted-based StatsD server To: Canonical Tech <canonical-t...@lists.launchpad.net> Since we're looking into using Graphite in Landscape, and since I know UbuntuOne is adding Graphite stats left and right and saw their struggle with getting nodejs backported to Lucid so that they could run StatsD, I thought I could sharpen my Twisted axe by porting StatsD to Twisted. http://launchpad.net/txstatsd For reference, StatsD (https://github.com/etsy/statsd/blob/master/stats.js) is a UDP-based server which collects and aggregates data at a configurable minimum resolution, then forwards it to Graphite (which talks TCP). UDP was chosen by StatsD since it's stateless, which means that the StatsD server can be down without taking the application being graphed down (some data can be lost but no downtime is incurred). Bonus points to Twisted for ReconnectingClientFactory, LineOnlyReceiver and LoopingCall, which make the Twisted version not just more fun but also more robust. Reviews from people with Twisted experience are more than welcome. -- Sidnei Make the most of Ubuntu with Landscape http://landscape.canonical.com _______________________________________________ Mailing list: https://launchpad.net/~canonical-tech Post to : canonical-t...@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-tech More help : https://help.launchpad.net/ListHelp _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python