Thanks Aphyr, I don't really know ruby very well, but your code is definitely a good reference
eric On Thu, Dec 8, 2011 at 11:18 AM, Aphyr <ap...@aphyr.com> wrote: > I don't know about Python, but we've been attacking this problem in the > Ruby client. You might find these useful: > > Re-entrant threadsafe resource pooling: > https://github.com/seancribbs/**ripple/blob/master/riak-** > client/lib/riak/client/pool.rb<https://github.com/seancribbs/ripple/blob/master/riak-client/lib/riak/client/pool.rb> > > Node configuration/error tracking: > https://github.com/seancribbs/**ripple/blob/master/riak-** > client/lib/riak/client/node.rb<https://github.com/seancribbs/ripple/blob/master/riak-client/lib/riak/client/node.rb> > > Client checking out conns ("backends") from pools: > https://github.com/seancribbs/**ripple/blob/master/riak-** > client/lib/riak/client.rb<https://github.com/seancribbs/ripple/blob/master/riak-client/lib/riak/client.rb> > > Methods of interest: > #http > #new_http_backend > #protobuffs > #new_protobuffs_backend > #recover_from > #choose_node > > --Kyle > > > On 12/08/2011 11:13 AM, Eric Siegel wrote: > >> Hey everyone, I'm sure this has been asked before but I was wondering >> what other people are doing for pooling clients using python? >> I've noticed that HttpPoolTranport is deprecated, and there doesn't seem >> to exist an analogous PBuffers version. >> I could just go ahead and write my own, but I thought that something >> must exist. >> >> I'm a relative Riak novice, and as such, am probably not grasping some >> of the difficulties involved in it implementation. >> >> Eric >> >> >> >> ______________________________**_________________ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/**mailman/listinfo/riak-users_**lists.basho.com<http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com> >> >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com