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

Client side Moxi for Java on Couchbase Server 2.0.

2 replies [Last post]
  • Login or register to post comments
Tue, 10/04/2011 - 20:50
dchilmak
Offline
Joined: 08/19/2011
Groups: None

Hi,

Do we need to have a client side moxi set up for java on Couchbase Server 2.0 ? if not ,then how do we maintain the database connection pool ?

- Thanks

Top
  • Login or register to post comments
Wed, 10/05/2011 - 09:48
ingenthr
Offline
Joined: 03/16/2010
Groups:

Assuming you're using the 2.8 developer preview linked off of the Couchbase server 2.0 page, no.

The Java client library is cluster aware, so it will automatically build connections to the correct nodes and manage them. No moxi is needed.

There is not a connection pool, as it has a non-blocking connection to each server and we manage the individual requests your calls to the client API will create. In fact, in the client we deduplicate requests for the same item/document for efficiency reasons. We've not usually seen a need for a connection pool except in extreme situations like data loading, and in that case it's easier to just give each loader it's own CouchbaseClient.

Top
  • Login or register to post comments
Thu, 10/06/2011 - 11:44
dchilmak
Offline
Joined: 08/19/2011
Groups: None

Got you ! Thanks for the response .

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