Batch work and task queues
Another consideration when architecting solutions on App Engine is that the platform generally expects services to fulfill requests very quickly, with relatively low resources. In doing so, a single service can handle a very large number of requests, which reduces operational costs significantly. For long-running or resource-intensive jobs, App Engine provides task queues. Task queues allow requests to be handed off to separate services that can process them in an asynchronous manner.
App Engine provides channels for coordinating this work between services in the form of the Task Queue API. As with general microservice architecture, task queues allow worker services to be scaled independently of the calling service. ...
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.
Read now
Unlock full access