October 2011
Intermediate to advanced
352 pages
7h 58m
English
Memory caches optimize performance by reusing earlier results instead of repeating execution of heavy workloads. This chapter starts by showing that Google App Engine’s low-level memory cache (memcache) API is relatively simple to use. Then the chapter explains that implementing a full caching strategy is less simple because of some pitfalls when implementing the serializable interface and because caches need to be maintained. At the end of the chapter, the JCache API (Java Specification Request [JSR] 107) is discussed as an alternative to Google’s low-level memcache API.
Google provides two APIs for memory caching (or memcache): the low-level API ...
Read now
Unlock full access