utahstreetlabs/accession — pull request #2 by travis (2012-03-21 16:39:54+00:00)
Title: Allow socket reuse by isolating sockets inside agents

Rather than introducing connection pooling, use agents to enable
socket reuse. Requests are now sent to the socket agent and responses
are returned via a promise.

This currently only supports a single redis socket per connection spec
(ok-ish since redis is single threaded anyway?) but could be easily
expanded to support a pool of socket agents per connection spec.

TODO: deal with socket errors