liveBook · Manning

Vertical scaling

As explained in Cloud Observability in Action

Vertical scaling is the practice of increasing the resources of an existing system instance, such as memory or storage.

Vertical scaling increases the resources of an existing system instance, such as CPU, RAM, or storage, instead of adding identical instances. In serverless compute, the provider can adjust VM capacity as load changes. section 3.2.4

Scaling Prometheus

Prometheus can be scaled vertically by adding RAM and locally attached persistent storage, allowing one instance to handle more metrics or retain a longer time period. Running multiple copies does not automatically create a distributed telemetry system. section 5.3

Use vertical scaling with these operational boundaries:

  • Choose it when increasing the capacity of an existing instance is sufficient for current metric volume or retention needs. section 5.3
  • Move toward long-term storage when one Prometheus instance cannot support fleet-wide federation or multi-year queries. section 5.3
  • Treat autoscaling as a cost concern in pay-as-you-go environments and track usage with automated alerts. section 3.2.4
Figure 5.2 Time series database concept, showing N time series of the mysvc_http_request_total metric

Use the time-series database diagram to relate increasing instance resources to metric volume and retention requirements. section 5.3

How Cloud Observability in Action covers it

How deep it goes
Defines the scaling direction and gives Prometheus limits, but defers detailed implementation procedures.
Examples
Uses serverless VMs with adjusted CPU or RAM and Prometheus with added RAM or persistent storage.
What it assumes
Assumes Prometheus basics when applied to metrics backends and distinguishes vertical from horizontal scaling.
What you can do after
Operate/configure an existing compute or Prometheus instance with greater CPU, RAM, or storage capacity.
How it connects
Connects vertical scaling with autoscaling, horizontal scaling, Prometheus, federation, and long-term storage.

Also explained in

Compare how 7 books explain vertical scaling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Cloud Observability in Action. The section links point to the parts of the book it draws on.