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

Avoiding network roundtrip

1 reply [Last post]
  • Login or register to post comments
Mon, 09/20/2010 - 12:46
btb
Offline
Joined: 09/20/2010
Groups: None

I was wondering if i can avoid network traffic in the following scenario:

3 windows www-servers, each with IIS 7 and membase installed. And membase configured with 2 replicas. I assume in this scenary that all data put into membase will be present on all 3 physical machines.

My question is then, if I try to fetch data using the Enyim Memcached Client from asp.net, will it then know to lookup the data on the membase server on localhost, thus avoiding network traffic+latency hit?

Top
  • Login or register to post comments
Mon, 09/20/2010 - 13:24
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Bo, at the moment, any replica copy of data is solely for high availability. To maintain perfect consistency, there is only one authoritative copy for any given piece of data. These "masters" are spread throughout the whole cluster for the best load distribution.

While the Enyim client natively supports Membase (thanks to the amazing work by Attila Kisko) this only avoids the extra network latency from having to go through our proxy (Moxi). Any request for data will go directly to the server that owns it. However, to your point, this will not necessarily be the server on localhost. If it is, then yes you will avoid having to traverse the network but this will only be the case for a portion of your data (1/3 when you have 3 servers).

Hope that helps to clarify, let me know if there is anything else I can help with.

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 Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

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