[Twisted-Python] txStatsD - A Twisted-based StatsD server

Glyph Lefkowitz glyph at twistedmatrix.com
Tue Jun 21 12:56:08 EDT 2011


On Jun 21, 2011, at 6:15 AM, Jonathan Lange wrote:

> Sidnei da Silva of Canonical wrote a StatsD server with Twisted. I
> thought it was pretty neat, and thus worth sharing with
> twisted-python at .

Always glad to hear about a new thing with a 'tx' in it.  Thanks Sidnei! :)

> jml
> 
> ---------- Forwarded message ----------
> From: Sidnei da Silva <sidnei.da.silva at canonical.com>
> Date: Tue, Jun 21, 2011 at 7:27 AM
> Subject: [Canonical-tech] txStatsD - A Twisted-based StatsD server
> To: Canonical Tech <canonical-tech at 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-tech at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~canonical-tech
> More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110621/7f909263/attachment.htm 


More information about the Twisted-Python mailing list