Also, if you want to use protobufs instead of REST with HAProxy, just
setup your HAProxy configuration with something like the following:
listen riak 192.168.1.1:8087
server servername1 192.168.1.2:8087 weight 1 maxconn 1000
server servername2 192.168.1.3:8087 weight 1 maxconn 1000
server servername3 192.168.1.4:8087 weight 1 maxconn 1000
(where 192.168.1.1 is the HAProxy server IP, servername1 and 192.168.1.2
is the first Riak node, etc.)
- Bob Feldbauer
On 2/19/2011 7:36 AM, Jeremiah Peschka wrote:
You could use HAProxy to handle the load balancing:
http://buffered.io/2010/09/12/webmachine-erlydtl-and-riak-part-2/
--
Jeremiah Peschka
Microsoft SQL Server MVP
MCITP: Database Developer, DBA
On Saturday, February 19, 2011 at 7:19 AM, Mike Stoddart wrote:
The Python client connects to one specific node. The downside to this
is that the client has to have knowledge of the node and the node has
to be up. If that pre-configured node goes down the client is stuck.
What options are there for letting a client connect to the cluster
through any node?
Thanks
Mike
-- Sent from my Palm Pre
_______________________________________________
riak-users mailing list
[email protected] <mailto:[email protected]>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com