Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Memcached Server 1.0.3

Clustering

4 replies [Last post]
  • Login or register to post comments
Sun, 07/11/2010 - 13:07
FaisalAbid
Offline
Joined: 07/11/2010
Groups: None

If I cluster my membase instances, sa x1 and x2. When I connect to x1 from my java spymemcached client, will x1 distribute the load to x2? or do i have to use the smart java client to do this?

Thanks,
Faisal Abid

Top
Sun, 07/11/2010 - 13:16
ingenthr
Offline
Joined: 03/16/2010
Groups:

The smart client is the best approach, as it's just a wrapper around spymemcached anyway. Dustin Sallings, the author of spymemcached, is one of NorthScale's founders and our Chief Architect. Several of us contribute to and work on spy.

The smart client will automatically adjust to whatever nodes you add to the cluster. You can use spymemcached directly as well, but then you'll have to reconfigure it to add nodes whenever you cluster changes. The advantage of the smart client is that it maintains a connection to the cluster and will adjust nearly immediately.

Top
Sun, 07/11/2010 - 13:40
FaisalAbid
Offline
Joined: 07/11/2010
Groups: None

Ahh Okay Interesting, so If i understand correctly there are two options.

1. Make a cluster in the admin console, then use spymemcached and define the list of all the clusters . Here the only reason for the admin console is for the analytics of the overall cluster and buckets

2. Make the cluster and use the smart client which auto adjusts the incoming connections to the connections.

Top
Sun, 07/11/2010 - 14:25
ingenthr
Offline
Joined: 03/16/2010
Groups:

FaisalAbid;690 wrote:
1. Make a cluster in the admin console, then use spymemcached and define the list of all the clusters . Here the only reason for the admin console is for the analytics of the overall cluster and buckets

It's more 'define the list of all nodes in the cluster' if using spymemcached directly, yes.

This is not an option for everyone, since there are only smart clients for C# and Java.

FaisalAbid;690 wrote:
2. Make the cluster and use the smart client which auto adjusts the incoming connections to the connections.

Correct. This is an option for you since you're using spymemcached already.

Top
Sun, 07/11/2010 - 22:24
FaisalAbid
Offline
Joined: 07/11/2010
Groups: None

Cool! Thanks, you guys have an amazing product. Keep up the great work!!

Top
  • 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