Re: Problem with multithreadeding in Java

2017-04-14 Thread Alex Moore
Hi Allexandre, Could you share your code for setting up the RiakNode/RiakCluster/RiakClient objects on the Java side, and how you are sharing them amongst your worker threads? Thanks, Alex Clients Team Lead On Thu, Apr 13, 2017 at 6:09 PM, Allexandre Sampaio wrote: >

Problem with multithreadeding in Java

2017-04-14 Thread Allexandre Sampaio
Hi, I'm using Riak TS in a multithreaded application, running on an Ubuntu 16.04 server, for a college project. The library I'm using is riak-client-2.1.1, with all of its dependencies. The problem starts when I try to set more than some dozens threads, so the Riak service starts to refuse the

Re: ClusterOffline Unable to access functioning Riak node

2017-04-14 Thread Charles Solar
Thanks for the tip Luke - I updated those timeouts to 30s each and not seeing anymore failures. I guess ideally updates should happen in under 4 seconds though so I'll have to find out why certain saves are taking so long! Charles On Fri, Apr 14, 2017 at 12:33 PM, Luke Bakken

Re: ClusterOffline Unable to access functioning Riak node

2017-04-14 Thread Luke Bakken
Hi Charles - Extend the read and write timeouts using this setting: https://github.com/basho/riak-dotnet-client/blob/develop/src/RiakClientTests.Live/App.config#L24 The above example extends it to 60 seconds. The default is 4 seconds which may be too short if you are running long queries. If 4