Hi Matt.
Ignoring that you really shouldn't be running an app server on a
machine that's also a database server, I'm confused as to why you
would use any load balancing features of a client if that's the way
you're doing things.
Presumably you have something load balancing to your app servers, so
2014-02-08 19:54 GMT+01:00 Sean Cribbs :
> Would you please file an issue
> We'll investigate it further for the next major client release.
Done: https://github.com/basho/riak-python-client/issues/306
Thank you, Sean.
Bye
___
riak-users mailing list
ria
No, not a counter. An integer register that keeps either the minimum or
the maximum value ever assigned to it (there be two variants, one for
minimum and one for maximum).
In our particularly use case we'd like to keep the earliest and latest
observed time of certain events, and it would be usefu
On 8 Feb 2014, at 23:00, Jason Campbell wrote:
> My understanding of what Elias wanted was a counter that simply stored the
> minimum and maximum values it has ever reached, an optional reset would
> probably be nice as well. It would be quite helpful when dealing with
> statistics counters
My understanding of what Elias wanted was a counter that simply stored the
minimum and maximum values it has ever reached, an optional reset would
probably be nice as well. It would be quite helpful when dealing with
statistics counters that can decrement.
Then again, I could be wrong.
-
Hi Elias,
This is a great time for you to ask, if you’re asking what I think you’re
asking.
On 8 Feb 2014, at 22:35, Elias Levy wrote:
> Does Basho have any plans for implementing a CRDT that maintains the minimum
> or maximum value for an integer? It would come in handy in our application
Hi Elias,
Yes, they are very simple to implement and we intend to do that in the next
release after 2.0. New PRs are appreciated, of course, but Sam started an
implementation here: https://github.com/basho/riak_dt/pull/59
On Sat, Feb 8, 2014 at 11:35 PM, Elias Levy wrote:
> Does Basho have any
Hi Sean,
Thanks! I just realized that. It resolved my issue -- and thank you for
the super quick reply. Its always very comforting to know that you guys
are always so fast to respond. Much appreciated!
Cheers,
Bryan
On 2/8/14, 2:40 PM, Sean Cribbs wrote:
Hi Bryan,
You'll want to use a 1.4
Hi Bryan,
You'll want to use a 1.4 branch/tag of riakc if you are connecting to Riak
1.4.x. The master branch is for Riak 2.0. Consider changing your dependency
to be this:
{riakc, "1.4.*", {git, "git://github.com/basho/riak-erlang-client.git",
{branch, "1.4"}}}
If that does not resolve your iss
Does Basho have any plans for implementing a CRDT that maintains the
minimum or maximum value for an integer? It would come in handy in our
application and it would be very simple to implement.
Elias Levy
___
riak-users mailing list
riak-users@lists.bas
Hi Matt,
I'm not positive of the implementation details, but I know for certain that
the "new" (unreleased) Java client allows you to provide a load-balancing
strategy yourself. This documentation should be a good start:
http://basho.github.io/riak-java-client/2.0.0-SNAPSHOT/com/basho/riak/client/
Howdy,
Was wondering if anyone can give me some help into what is going on. I
made the mistake and decided to do a clean build, including getting all
new deps and sure enough, and am suddenly having problems with rebar.
Understand everything built prior to pulling new deps just a few minutes
I have the same use case as Massimiliano. We are using the java client and
our app runs on the same servers as the Riak cluster. We have found that
connecting to the Riak instance running on local host provides the best
performance. It would be nice if the cluster client could be told to prefer
one
Hi all
Is there a reason there's no 2i querying methods in DomainBucket?
That requires to keep both Bucket and DomainBucket references which makes it
a bit awkward when passing those around.
Thanks
Daniel
--
View this message in context:
http://riak-users.197444.n3.nabble.com/Java-client-query
I think the answer is that the selection strategy needs to be extracted
such that it can be configurable. It is entirely reasonable that you would
want to connect to the local node unless it is down. Would you please file
an issue on https://github.com/basho/riak-python-client/issues ? We'll
invest
Hi Sean,
thanks for your answer!
> I believe it may still be possible for the node to be selected if no other
> connections are available in the pool, because the logic used to establish a
> new connection might not use the filter.
My problem is not to avoid that a node will be selected again aft
Hi Massimilliano,
The list of nodes does not imply an order of connection. Usually, a random
node is chosen after nodes with error rates greater than a threshold are
removed from the candidates. You can see the implementation in
RiakClient._choose_node:
https://github.com/basho/riak-python-client/
Hi all,
I'm using python client to connect to a five nodes riak server.
Since I'm running my app on the same servers on which is running Riak,
I want that the app on server x get and store data asking to the Riak
on the same server. If the Riak on the same server is not available,
tha app must conn
18 matches
Mail list logo