Riak behind a Load Balancer

Armon Dadgar armon.dadgar at gmail.com
Fri Aug 31 13:46:12 EDT 2012

> Message: 2
> Date: Fri, 31 Aug 2012 10:07:01 +0100
> From: Guido Medina <lic_gma at hotmail.com (mailto:lic_gma at hotmail.com)>
> To: riak-users <riak-users at lists.basho.com (mailto:riak-users at lists.basho.com)>
> Subject: Re: Riak behind a Load Balancer
> Message-ID: <BLU0-SMTP26A5BB00D2B81D336444E19DA60 at phx.gbl (mailto:BLU0-SMTP26A5BB00D2B81D336444E19DA60 at phx.gbl)>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> Hi,
> We use HA proxy on a 4 nodes cluster for a J2EE application, before 
> using HA proxy we delegated on the Java Riak cluster client config to 
> handle the 4 nodes, but too many errors were generated, once we switched 
> to HA proxy and a single Java Riak client config, the errors were 
> reduced dramatically.
> I don't know how accurate an article can be, but my experience comes 
> from transferring 10+ millions records from PostgreSQL to Riak several 
> times, running processes for 48 to 72 hours continuously, so IMHO, HA 
> proxy + new client client (The one that comes with Protobuf 2.4.1+, not 
> the old 2.3.0) is the way to go. To add more, we have autossh tunnels on 
> the Java application server connected to each Riak node and behind it, 
> HA proxy.
> With the new protobuf I have the transferring running for the last 48 
> hours and not a single error.
> Regards,
> Guido.
We have been running Riak behind HAProxy since day one, using the
Protocol Buffers interface. Hasn't ever been a problem, and makes cluster
changes transparent to the application.

Best Regards,

Armon Dadgar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120831/5db588ad/attachment.html>

More information about the riak-users mailing list