<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 21, 2011, at 6:15 AM, Jonathan Lange wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Sidnei da Silva of Canonical wrote a StatsD server with Twisted. I<br>thought it was pretty neat, and thus worth sharing with<br>twisted-python@.<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><div><br></div><div>Always glad to hear about a new thing with a 'tx' in it. &nbsp;Thanks Sidnei! :)</div><br><blockquote type="cite"><div>jml<br><br>---------- Forwarded message ----------<br>From: Sidnei da Silva &lt;<a href="mailto:sidnei.da.silva@canonical.com">sidnei.da.silva@canonical.com</a>&gt;<br>Date: Tue, Jun 21, 2011 at 7:27 AM<br>Subject: [Canonical-tech] txStatsD - A Twisted-based StatsD server<br>To: Canonical Tech &lt;<a href="mailto:canonical-tech@lists.launchpad.net">canonical-tech@lists.launchpad.net</a>&gt;<br><br><br>Since we're looking into using Graphite in Landscape, and since I know<br>UbuntuOne is adding Graphite stats left and right and saw their<br>struggle with getting nodejs backported to Lucid so that they could<br>run StatsD, I thought I could sharpen my Twisted axe by porting StatsD<br>to Twisted.<br><br>&nbsp;<a href="http://launchpad.net/txstatsd">http://launchpad.net/txstatsd</a><br><br>For reference, StatsD<br>(<a href="https://github.com/etsy/statsd/blob/master/stats.js">https://github.com/etsy/statsd/blob/master/stats.js</a>) is a UDP-based<br>server which collects and aggregates data at a configurable minimum<br>resolution, then forwards it to Graphite (which talks TCP). UDP was<br>chosen by StatsD since it's stateless, which means that the StatsD<br>server can be down without taking the application being graphed down<br>(some data can be lost but no downtime is incurred).<br><br>Bonus points to Twisted for ReconnectingClientFactory,<br>LineOnlyReceiver and LoopingCall, which make the Twisted version not<br>just more fun but also more robust.<br><br>Reviews from people with Twisted experience are more than welcome.<br><br>--<br>Sidnei<br><br>Make the most of Ubuntu with Landscape<br><a href="http://landscape.canonical.com">http://landscape.canonical.com</a><br><br>_______________________________________________<br>Mailing list: https://launchpad.net/~canonical-tech<br>Post to &nbsp; &nbsp; : canonical-tech@lists.launchpad.net<br>Unsubscribe : https://launchpad.net/~canonical-tech<br>More help &nbsp; : https://help.launchpad.net/ListHelp<br><br>_______________________________________________<br>Twisted-Python mailing list<br>Twisted-Python@twistedmatrix.com<br>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<br></div></blockquote></div><br></body></html>