basho/riak-php-client

Working with a cluster

Closed this issue · 2 comments

This probably isn't the best place to post this, but I'm not quite clear how you would use this client with a cluster of > 1 nodes (on separate machines). Could anyone point me in the right direction? Happy to do some reading/watching but no idea where to look :-)

For the moment your two options are to use a load balancer to spread load over >1 node or to simply have your client connect to a random node from a list your supply. The client will get smarter about this in the future time-permitting.

I would shoot any follow up questions on this to the mailing list.

Does that answer your question?

Ah right, yeah that makes sense. Thanks :-) I wasn't sure if I was missing some magic.