Adding servers in php client
Hi
We have a setup with 3 membase servers. This would mean that not all servers have the entire data set. We have a load balancer that includes all three servers. The client connects to the load balancer and all requests go through the load balancer. We don't have the Moxi client installed. I was wondering if are more likely to get vbucket misses since the loadbalancer is picking the server.
Another alternative would be to add each of the 3 servers using memcached.addServer(server1, port) on the client. Are we likely to get more accuracy this way. Also if a server goes down and we have to failover, do we then have to update the server list on the client. If we use a loadbalancer that would be taken care of by removing the server from the VIP.
Is there a preferred way to do it?
Thanks!
RV
Do you have 3 Membase servers running that are not aware of each other. I may have misread your post, but if this is the case you are not using Membase correctly. One of the great features of Membase is the ability to be able to cluster servers together easily. There is not a need for a load balancer and also Moxi is running by default on all of the servers. If your configuration 3 Membase servers that don't know of each others existence and they are sitting behind a load balancer let me know and I will help you get things into the best possible state.