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

Question on Moxi on Client

1 reply [Last post]
  • Login or register to post comments
Mon, 03/05/2012 - 22:52
sjpark9
Offline
Joined: 03/01/2012
Groups: None

I was wondering about two things

First one is the Moxi on Client side. I do understand how it looks like in architecture mode. However, I am having trouble thinking about how to code this part. It will be great if I could see any examples using Client side moxi.

Second one is that when you connect to one of the servers of Couchbase, does the client get the all available server lists?
This is because I've tried with connecting with one uri list and when that server goes down in the middle of gets and sets, it seems the client cannot connect to the server anymore. Doesn't the client should receive all connectable servers ips and if one goes down, connect to alternate servers? I've tried with three URIs and they seem to alternate when one goes down. Does this mean the CLient must know as many server IPs as possible in order to prevent "unable to connect to servers"?

Thank you

Top
  • Login or register to post comments
Wed, 03/07/2012 - 12:03
mikew
Offline
Joined: 03/14/2011
Groups:

1. To set up moxi on the client side you just need to download moxi, install it on the same machine that you run your client, and tell it where Couchbase is and how to communicate with Membase. Then you just tell you client to talk to moxi. So basically tell you client to connect to localhost:moxi_port. If you run moxi on the server side then you potentially have to do two network hops to get to the correct server, but if you run it on the client side you will only have to do one.

2. We recommend that you give your client more than one address to your Couchbase cluster for exactly the reason you described.

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