Avoiding network roundtrip
Mon, 09/20/2010 - 12:46
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?
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!