Book Image

Google Cloud Platform for Developers

By : Ted Hunter, Steven Porter
Book Image

Google Cloud Platform for Developers

By: Ted Hunter, Steven Porter

Overview of this book

Google Cloud Platform (GCP) provides autoscaling compute power and distributed in-memory cache, task queues, and datastores to write, build, and deploy Cloud-hosted applications. With Google Cloud Platform for Developers, you will be able to develop and deploy scalable applications from scratch and make them globally available in almost any language. This book will guide you in designing, deploying, and managing applications running on Google Cloud. You’ll start with App Engine and move on to work with Container Engine, compute engine, and cloud functions. You’ll learn how to integrate your new applications with the various data solutions on GCP, including Cloud SQL, Bigtable, and Cloud Storage. This book will teach you how to streamline your workflow with tools such as Source Repositories, Container Builder, and StackDriver. Along the way, you’ll see how to deploy and debug services with IntelliJ, implement continuous delivery pipelines, and configure robust monitoring and alerting for your production systems. By the end of this book, you’ll be well-versed with all the development tools of Google Cloud Platform, and you’ll develop, deploy, and manage highly scalable and reliable applications.
Table of Contents (17 chapters)

Scaling App Engine services

App Engine has been designed from the ground up to make scaling a non-issue. Because of this, scalability has become one of the platform's strongest attractors. When designing services to run on App Engine, it is important to understand the nature of App Engine scaling to fully realize the platform's potential. We've covered many of these design considerations earlier in this chapter, but here are a few of the key points:

  • Services should have a low startup time
  • Requests should be fulfilled quickly, using minimal resources
  • Long-running workloads can be offloaded to task queues
  • Leverage microservice patterns to increase elasticity

Services vary by nature, and so will their scaling needs and capabilities. To this end, App Engine offers three distinct scaling strategies—autoscaling, basic scaling, and manual scaling. Each of these...