Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

How to configure the python client to access couchbase cluster via moxi?

4 replies [Last post]
  • Login or register to post comments
Sun, 02/03/2013 - 17:13
alexe001
Offline
Joined: 09/18/2012
Groups: None

It appears that the python client is NOT cluster aware, can this be solved with connecting the python client to a moxi proxy?
Thanks!
A

Top
  • Login or register to post comments
Thu, 02/07/2013 - 09:08
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello Alexe,

I am not a Python specialist but the Python SDK like many others leverage the libcouchbase library that is for sure cluster aware.

So before looking at moxi, I would like to understand why you are saying that the Python client is not cluster aware? (this is just to help me found the good person in the community to answer)

Thanks

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Thu, 02/07/2013 - 17:50
alexe001
Offline
Joined: 09/18/2012
Groups: None

Maybe cluster aware wasn't the right word but basically if you have a cluster with 3 nodes. when using the couchbase client you connect to a single node that then fetches a list of nodes and populate the self.servers array from CouchbaseClient. now if you terminate the node that the couchbase client connected to the client loose connection with the cluster. since the client now have a list of servers I would expect that it wouldn't care that node1 is offline. Each bucket is replicated on all the nodes.
This is a single point of failure, the client should not be affected by losing 1 or 2 nodes since all of the data is also on node 3 minus the replication queue.

Top
  • Login or register to post comments
Wed, 02/20/2013 - 06:46
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

I see what you mean.
So the Python client is today cluster aware as you stated, but it is true that it is not today "change aware" this is a known issue that should be fixed when working on the new version of the Python library.

I will continue to investigate and look to your moxi issue.

So do you have some code, error, and explanation about what happens with moxi?

Tug

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Wed, 03/27/2013 - 16:56
alexe001
Offline
Joined: 09/18/2012
Groups: None

Hi,

Sorry I don't. We have totally abandoned Moxi and the official python client. We are writing our own client and will be releasing it on github at some point.

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