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

Connection creation/teardown costs..

1 reply [Last post]
  • Login or register to post comments
Tue, 11/22/2011 - 07:43
Aquineas
Offline
Joined: 11/22/2011
Groups: None

How expensive or problematic is it for a client to open and then subsequently close connections to Membase only for the duration of the request/response (as opposed to having a constant connection to the server?)

I ask because the request/response paradigm aligns more closely to our evaluation use case, which is using it to store session data.

Top
  • Login or register to post comments
Sat, 11/26/2011 - 12:22
ingenthr
Offline
Joined: 03/16/2010
Groups:

The quick answer is it's not that bad, and many people do that exactly. You may wish to configure the bucket to be running on a particular port or use a client side moxi so you don't have the SASL auth overhead (must be done before each connection). In fact, in either of these cases, especially the client side moxi case, you are really minimizing the overhead for that initial connection establishment.

Have a look at http://docs.couchbase.org/moxi-manual-1.7/moxi-standalone.html

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