Re: Question about RiakCluster - Java client - 2.x

2016-12-01 Thread Alex Moore
Hi Konstantin, The RiakClient class is reentrant and thread-safe, so you should be able to share it among the different workers. You may have to adjust the min / max connection settings to get the most performance, but that's relatively easy. One other thing to notice is RiakClient's cleanup()

Question about RiakCluster - Java client - 2.x

2016-11-21 Thread Konstantin Kalin
I'm currently migrating Java client from 1.4 to 2.1 and I have a question about RiakCluster class. We hide Riak Java API by our interface since we use multiple backends and Riak is one of them. Let's say I have two independent business activities that makes calls to Riak cluster. Both activities