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

Scaling clusters

Bigtable was designed to be easy to scale. Scaling up can be achieved by simply adding new nodes to the cluster. This can be done using gcloud with the following command:

gcloud beta bigtable clusters update <CLUSTER_ID> \ --instance=<INSTANCE_ID> \ --num-nodes=<NUM_NODES>

Note that due to the way Bigtable scales up and rebalences, it may take up to 20 minutes for performance increases to take effect. For this reason, it's generally a good idea to scale production workloads preemptively where possible. Also note that scaling the number of nodes in a cluster will not fix certain performance issues caused by bad schema design.

Bigtable clusters can also be scaled down at any time with the same command. This does not introduce ...

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