This segment introduces the AppStats module for the AppEngine to profile our Good Eatin' application. We'll be able to see the response time of each of our pages, how many API calls we make and begin to look at approaches to optimizing our application.
This segment moves our frequently used data into the Memcache caching service to improve our response time and minimize Datastore usage. We'll show how to use the Memcache service and look at our performance numbers before and after the optimizations.
This segment takes advantage of the Java Servlet Principal and the AppEngine User entity to tie user information in with our application information. We'll keep track of who submitted restaurants, discuss the limitations of the Google User information, and set the stage for personalized application features.
User Accounts and memcache in Google AppEngine
Publisher: O'Reilly Media
Released: February 2011
time: 1 hours 58 minutes
When you move your data and applications into the cloud, handling users and tuning your memory usage are no longer a few clicks in a GUI. In this O'Reilly Breakdown, you'll learn how Google AppEngine handles users, and master the complexities of interacting with Google account holders. You'll also learn how to move from application-specific logins to the Google authentication system. Once you've got your users under control, you'll also tune caching to really enhance your application's performance.
Although the application in this Breakdown is simple, the caching problems you'll face--and fix--aren't. Whether it's ensuring the latest search results show up or just ensuring that queries aren't run and re-run needlessly, your applications will see significant performance and usability boosts. Most importantly, you'll get a real handle on how caching works with Google AppEngine, and get a lock on how to tune that cache.
The experts in the O'Reilly Breakdown live video series not only break down the concepts of difficult and complex subjects, they also demonstrate practical implementation and use. Each episode features an experienced programmer, developer, or software designer working on real-world challenges, ranging from iPad user interface design and multi-tasking on Android phones to caching in cloud-based applications.