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

Scaling types


Now that we know about the various types of virtual machine instances that are available to us and how we can specify that in app.yaml using the instance_class directive, let's take a look at the scaling options that we have in Google App Engine. There are basically three types of scaling at our disposal:

  • Manual scaling

  • Basic scaling

  • Automatic scaling

Automatic scaling is the default type of scaling at work when you don't specify one. Let's take a look at each of these types of scaling.

Manual scaling

When you opt for manual scaling for your application, these instances will run continuously forever until you shut them down yourself from the admin console. You have only one configuration parameter when specifying manual scaling, and that is the number of instances that you want to run. To specify manual scaling, use the following in the app.yaml (or in the other configuration files, as we'll explore when going through modules) like this:

instance_class: B4
manual_scaling:
    instances...
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