Konstantin,

Doing a HTTP Ping request[1] to Riak is one approach. You could also
do a HTTP Fetch[2] for a specific bucket/key pair.

Another thing worth noting is that the all-new v2.0 of the Java client
we'll be releasing for Riak 2.0 is much, much better in terms of load
balancing and node management. It's built from the ground up to work
with a cluster vs. the old client which just sort of had it tacked on.

Operationally, for example, you'll be able to just push a properties
file out that your application can monitor and reconfigure the running
client.
[1] http://docs.basho.com/riak/latest/dev/references/http/ping/
[2] http://docs.basho.com/riak/latest/dev/references/http/fetch-object/

Thanks,
- Roach

On Sun, Feb 2, 2014 at 10:23 AM, Konstantin Kalin
<[email protected]> wrote:
> Sorry jumping into the discussion. What is a best way to monitor Riak node
> health? Most loadbalancer uses HTTP request to check if a node is alive.
>
> Currently we use Riak Java client to load balance requests to Riak. The
> issue is if a node gets removed or added all Java servers need to update
> configuration to reflect the changes. It's kinda annoying for operation
> team. So we started thinking about putting LB between Riak cluster and Java
> clients.
>
> Thank you,
> Konstantin.

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to