Skip to Content
Google Cloud Platform for Architects
book

Google Cloud Platform for Architects

by Vitthal Srinivasan, Loonycorn Ravi, Judy Raj
June 2018
Intermediate to advanced
372 pages
8h 44m
English
Packt Publishing
Content preview from Google Cloud Platform for Architects

Scaling GCP Cloud BigTable

There are times when we have to provision automatic scaling of our NoSQL database due to parameters like the following:

  • The cluster's CPU load
  • The number of nodes in the cluster
  • The distribution of server request latencies for a table

To do this programmatically, we can use either Java or Python sample tools. We will see how to do it using Java sample tool. To use them, use the following procedures:

Java:

  • This tool is built on Apache Maven. If it is not installed on your shell, download it from https://maven.apache.org/download.cgi and extract it.
  • Run mnv -v in a new shell instance to confirm its installation.
  • Now, to build the sample tool, run:
mvn clean compile mvn exec:java -Dexec.mainClass="com.example.bigtable.scaler.MetricScaler" ...
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 Professional Cloud Architect

Google Cloud Platform Professional Cloud Architect

Victor Dantas
Google Cloud Platform for Developers

Google Cloud Platform for Developers

Ted Hunter, Steven Porter

Publisher Resources

ISBN: 9781788834308Other