Skip to Content
Google Cloud Platform for Developers
book

Google Cloud Platform for Developers

by Ted Hunter, Steven Porter
July 2018
Intermediate to advanced
506 pages
16h 2m
English
Packt Publishing
Content preview from Google Cloud Platform for Developers

Push queues

In the push model, workers define one or more route handlers in a worker.yaml configuration file, much like those defined in app.yaml. This includes a URL and a script, along with any number of optional handler properties. When a new task is created that matches this handler, the task queue invokes the worker's handler through a network call. Depending on how the task is created, this will take the form of an HTTP POST or HTTP GET.

Push queues are ideal for operations that should execute on a per-task basis. This model works well for tasks that are resource intensive. Because each task is pushed individually, the push model works well for tasks that should be executed in parallel. The downside to this is that high volumes of tasks ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google Cloud Platform in Action

Google Cloud Platform in Action

John J. (JJ) Geewax
Google Cloud Platform for Architects

Google Cloud Platform for Architects

Vitthal Srinivasan, Loonycorn Ravi, Judy Raj

Publisher Resources

ISBN: 9781788837675Supplemental Content