Friday, July 8, 2011

Memcached with Java in Windows

Recently I got a chance to review design of using memcached in our J2EE application. To start with I tried the cache my windows 7 development environment.

Albeit, the cache mechanism has its own limitations, certainly its one of the simplest key-value in memory cache that can scale for large applications. Facebook uses this cache on around 900 dedicated servers to scale up its needs.

The memcached comes with application exe for windows and its very easy to install, start and stop the services.

One can also use telnet to access the server and its cache content.

Java

More info on installation: Memcached for Windows
Integration with Java : Java Integration
Memcached Java Client : spymemcached


I will try to post my sample code soon.

No comments: