If my Riak cluster is filled with 5 machines (riak1, riak2...) , should I create a RiakClient
with a single host or the complete list of 5 machines in order to achieve redundancy, is there automated discovery of node members ?
RiakClient(protocol='http', host='riak1', http_port=8098)
or
RiakClient(protocol='http', nodes=[{
host:'riak1',
host:'riak2',
host:'riak3',
host:'riak4',
host:'riak5'
}])
Is there any alternative to this, such as a load balancer host in front of the riak cluster nodes ?