aphyr/riemann — pull request #22 by banjiewen (2012-09-14 04:13:23+00:00)
Title: Use a pool of sockets for riemann.graphite.

If the handler returned by riemann.graphite/graphite is used concurrently,
using a single socket will cause nontrivial levels of lock contention.

This socket pool implementation used here could surely be improved, but it
appears to be correct and functional.

Also cleaned up some unnecessary reflection.