Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 14. Optimizing Performance Using... > Implementing a Caching Strategy

Implementing a Caching Strategy

So far, using the low-level memcache API does not seem too complicated. And the good news is: that won’t change. However, using the memcache service by itself doesn’t make much sense if you don’t look at the bigger picture.

A typical web application contains multiple layers of cache. In a typical web application, caching starts in the database. Object-relational mapping (ORM) tools on top of that usually contain their own caching mechanism. On the App Engine, you should assume that the datastore does not contain a caching mechanism; however, I do not know the exact inner workings of the datastore.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial