October 2011
Intermediate to advanced
352 pages
7h 58m
English
This chapter introduces the task scheduling mechanisms built into the App Engine. There are two ways to schedule tasks used for different purposes. Cron (the task scheduler) should be used to plan repetitive tasks at fixed times for structural work. The Task Queue can be used to execute tasks without making the end user wait for them. This chapter starts with the Task Queue API before introducing cron tasks. At the end of the chapter, both ways of scheduling come together for the App Engine–specific HTTP headers passed to task servlets.
The task queuing mechanism is a key part of the Google App Engine for at least three reasons. First, and most important, it improves ...
Read now
Unlock full access