http://www.mysqlperformanceblog.com/2006/08/09/cache-performance-comparison/

gives you an idea how different caching methods perform. Read it before implementing something