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

DNS dependancy

2 replies [Last post]
  • Login or register to post comments
Wed, 05/18/2011 - 05:48
bhughes
Offline
Joined: 05/18/2011
Groups: None

Hi all,

I was reading the recommendations for membase in the cloud at http://techzone.couchbase.com/wiki/display/membase/Using+Membase+in+the+... and I have a question about that. If your hostnames are bound by their dns name instead of IP, how big of a dependancy on DNS does that create? If the DNS server is unavailable, do things immediately start failing or are the lookups cached? If it is heavily linked to DNS, how hard is the DNS server going to be hit. If it's cached, how is that cache cleared when the server address changes?

-Brent

Top
  • Login or register to post comments
Wed, 05/18/2011 - 11:23
perry
Offline
Joined: 10/11/2010
Groups:

The DNS name is only used within our out-of-band clustering logic for each node to identify itself. Internally, the names are mapped to IP addresses which are then used for any communication between nodes.

I will check with our engineers on how often we refresh this info (if at all) and what the dependency on a DNS server is.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Wed, 05/18/2011 - 11:34
alkondratenko
alkondratenko's picture
Offline
Joined: 12/01/2010
Groups: None

We normally resolve hostnames only once on startup. And then Erlang keeps connections between nodes. Only if some connections are disconnected we'll try connecting again. In this case Erlang will use OS name resolver caching. So we don't expect any heave DNS traffic.

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