You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this is not the right place for a Q&A section but lack of attention to the SO post and unable to figure out any other alternative or resource has brought me over here.
I'm integrating RIAK on our application which heavily uses thread to get the job done. But I'm not sure how to define a pool of connections so that no a connection is shared between threads.
Although I found the Pooling library internally used by RIAK called innertube but no clue on how to use it. And also use of ||= in the client code for fetching bucket detail has kept me sceptical thus far.
My best bet right now is to use ConnectionPool library for managing RIAK client pools but since ConnectionPool recommended on use Client that can auto reconnect. I'm not entirely sure if that is the right thing to do here?
Other details
Riak-client (2.3.2)
JRuby 9.1.15.0
Riak version
The text was updated successfully, but these errors were encountered:
Maybe this is not the right place for a Q&A section but lack of attention to the SO post and unable to figure out any other alternative or resource has brought me over here.
I'm integrating RIAK on our application which heavily uses thread to get the job done. But I'm not sure how to define a pool of connections so that no a connection is shared between threads.
Although I found the Pooling library internally used by RIAK called innertube but no clue on how to use it. And also use of
||=
in the client code for fetching bucket detail has kept me sceptical thus far.My best bet right now is to use ConnectionPool library for managing RIAK client pools but since ConnectionPool recommended on use Client that can auto reconnect. I'm not entirely sure if that is the right thing to do here?
Other details
The text was updated successfully, but these errors were encountered: