Confirm Download

Simultaneous file downloading works best in FireFox, Chrome, and Safari browsers. Please keep this window open until all downloads are complete. Some customers prefer using file download managers for Chrome or Firefox to better manage large and multiple file downloads.

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.

00:26:56

User Accounts and memcache in Google AppEngine

Publisher: O'Reilly Media

Released: February 2011

Run
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.

How can we help?

I can play free video chapters but not the video chapters I purchased.

The login status in the upper right corner is stuck at "Authenticating..."

Make sure these login related domains can create cookies and are allowed by your firewall and browser:

*.oreilly.com

*.oreillystatic.com

*.cloudfront.net

*.janrainsso.com

*.janrain.com

*.rpxnow.com

*.janrainbackplane.com

After unblocking the listed domains, visit members.oreilly.com to log in again and click Watch/Download Video to get back to the video player page.

I can't find the code examples or working files mentioned in the video.

Code examples and working files can be found in one of two places:

Linked in the description of each video chapter, made visible by clicking on the Expand All link in the Table of Contents.

Available via a red button labeled "Download Example Code" visible under the video player display on the right hand side.

I can't download the video files or the video files I downloaded are incomplete.

Most web browsers limit the number of simultaneous downloads or require consistent fast download speed to download large video files. We recommend downloading the files one at a time, or use a download manager with your browser.

I am experiencing poor quality audio and/or video.

Audio and video problems can be caused by a connection issue or a problem with a specific video file. Refresh the player page to reset streaming or download the video file to play locally.

I still need help and would like to provide additional information.

I would like customer service to follow up with me at this email address:

We're sorry you experienced a problem with our video player.

You will receive an email response as soon as possible, Monday through Friday from 7:30AM to 5:00PM Pacific Time from the O'Reilly Customer Service team. We are also available via phone at 707.827.7019 or toll-free at 800.889.8969 and via direct email at videofeedback@oreilly.com