Java Memcache?



How can Java be integrated with Memcache? What are the main key items to look for for building high traffic Java applications?



High performance scalable web applications in Perl, Php, Java or anything else often use a distributed in-memory data cache in front of or in place of robust persistent storage for some tasks. Memcache is the most popular storage used as a cache.

You would need to install Memcache on your server. Once, installed you would need a Java client to access memcache. Something like: http://wiki.github.com/gwhalin/Memcached-Java-Client/.

For scalibility, its a general question with no particular answer. The architecture has to be correct, the servers have to be correct and distributed, database should have optimized queries. Not sure, but this may help: scalability and optimization java