Thank you for sharing it. I built similar application already (pool + multi-node connections) after I had got confirmation that there is no "official way" :) Lucky it wasn't hard at all and laid down into existing prototype nicely (mostly because it's in-house app).
Thank you, Konstantin. On Mon, Jul 15, 2013 at 2:43 PM, Igor Karymov <ingha...@gmail.com> wrote: > Hi. Maybe this will be usefull for you: > https://github.com/unisontech/uriak_pool > > We was have to write our own solution, because poolboy was not be able > handle riak nodes ups and downs gracefully. > Also our library provide interface wrapper and multicluster configuration. > > > 2013/7/11 Sean Cribbs <s...@basho.com> > >> We intend to overhaul the Erlang client soon. In the meantime, Riak CS >> has done exactly what Jeremy has suggested. Look here: >> https://github.com/basho/riak_cs/blob/develop/src/riak_cs_riakc_pool_worker.erl >> >> >> On Wed, Jul 10, 2013 at 5:46 PM, Konstantin Kalin < >> konstantin.ka...@gmail.com> wrote: >> >>> Oops… was looking at wrong column. Sorry and thanks for the advice. >>> >>> Thank you, >>> Konstantin. >>> >>> On Jul 10, 2013, at 3:41 PM, Jeremy Ong wrote: >>> >>> The X there indicates that it does not support connection pooling out of >>> the box in contrast to the check. I'd look at poolboy (to use in >>> conjunction with riakc_pb_socket) and riakpool (which pulls in >>> riak-erlang-client as a dependency). >>> >>> >>> On Wed, Jul 10, 2013 at 3:33 PM, Konstantin Kalin < >>> konstantin.ka...@gmail.com> wrote: >>> >>>> Looking at >>>> http://docs.basho.com/riak/latest/references/Client-Libraries/ I see >>>> that Erlang riak client should support Cluster connections/pools. But >>>> looking at Erlang riak client source code I would say that it doesn't >>>> support Cluster connections/pools out of box. And I have to develop my own >>>> code to have load balancing/connection pool. Is it right and the >>>> documentation is incorrect and needs to be updated? >>>> >>>> Thank you, >>>> Konstantin. >>>> >>>> _______________________________________________ >>>> riak-users mailing list >>>> 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 >>> >>> >> >> >> -- >> Sean Cribbs <s...@basho.com> >> Software Engineer >> Basho Technologies, Inc. >> http://basho.com/ >> >> _______________________________________________ >> riak-users mailing list >> 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 > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com