Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Adding servers in php client

1 reply [Last post]
  • Login or register to post comments
Wed, 07/27/2011 - 14:09
RV
Offline
Joined: 05/17/2011
Groups: None

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

Top
  • Login or register to post comments
Fri, 08/05/2011 - 18:33
mikew
Offline
Joined: 03/14/2011
Groups:

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.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker