Thrift RPC connection pool, java implementation, based on apache commons pool