Generic connection pooling for Ruby
