NCache 4.3 - Online Documentation

Memcached

 
Introduction:
NCache has implemented Memcached integration and allowing you to plug-in NCache into your existing or new Memcached applications without any code changes. You only need to change your application config files to take advantage of the NCache distributed caching system.
 
NCache provides support for Memcached in two different ways.
 
  • Memcached Client Plug-In for .NET: NCache has implemented NCache API supported client libraries for popular .NET Memcached clients. There is no code change or recompilation of application required. These modified Memcached client libraries are provided along with their source code in NCache installation. .NET based Memcached client applications can use these client libraries to use the NCache distributed caching system.
 
  • Memcached Gateway Approach: NCache provides a Memcached gateway server to use NCache without any application code changes or recompilation.  Memcached gateway for NCache is implemented based on the Memcached socket protocol and acts as a Memcached server for Memcached applications. However, it only serves as a proxy and in fact connects to the NCache cluster. The Memcached Gateway is implemented based on the Memcached socket protocol and it understands all Memcached client requests. The Gateway intercepts Memcached commands and then executes NCache APIs equivalent to these commands on NCache distributed cache. This provides NCache support for any type of Memcached client regardless of which programming language it is developed in.
 
  • Memcached client side gateway: The NCache gateway server is installed on the application servers. Applications talk to local gateway severs and gateway servers act as NCache clients and execute commands on NCache.
  • Memcached Server side gateway: The NCache gateway server is installed on the NCache cache servers. Applications talk to gateway severs running on cache servers and the gateway server talks the cache and sends the response back to the client.
 
 
 
See Also
 

 
 
© Copyright  2014 Alachisoft. All rights reserved.