July 2018
Intermediate to advanced
506 pages
16h 2m
English
As with automatic scaling, basic scaling allows App Engine to create and destroy service instances as needed. Basic scaling differs from automatic scaling in that services are directly scaled in relation to user requests. If an instance goes longer than idle_timeout, that instance is destroyed:
basic_scaling: max_instances: 10 idle_timeout: 5m
Compared to automatic scaling, basic scaling has slightly more relaxed constraints on application behavior, including support for background threading and longer request timeouts. Basic scaling is only available for the standard environment. When considering basic scaling for long running tasks, evaluate whether task queues provide a better solution.
The simplest form of scaling ...