Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Google App Engine

You're reading from   Mastering Google App Engine Build robust and highly scalable web applications with Google App Engine

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784396671
Length 368 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Chapter 7. Using Task Queues

When you open a URL, usually you get a text document in response that usually contains marked up text with HTML (and CSS, JavaScript), which in turn is either generated on the fly or is fetched from the file system as is. In any case, the time it takes for such a computational activity is pretty small, in the order of a few hundred milliseconds. But there are things that need and take more time than just milliseconds and can't be appropriately done within such time frame.

For more computationally expensive tasks, it's best if they are executed in the background. And that's where the task queues comes in where you queue computationally expensive tasks and process them later at your convenience in the background or in case there are batches of data that need to be processed and cannot be done in a single request. Google App Engine provides you with this functionality to enqueue your longer tasks and process them in background. That&apos...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime