liveBook · Manning

Scalability

As explained in Machine Learning Platform Engineering

The ability of a system to maintain suitable operation as workload volume or resource demand increases.

Scalability keeps an ML system usable as request volume and resource demand grow. A model that works in evaluation can fail under heavy production load, making performance characterization and robust testing essential. section 2.2 section 10.1

Treat scalability as part of an operational deployment pattern:

  • Identify whether inference is batch, real-time, or both before selecting a scaling approach. section 10.1
  • Run load tests against expected demand, then prepare auto-scaling for spiky workloads. section 1.1.2
  • Monitor requests per second, HTTP status codes, latency, resource use, drift, and business impact after deployment. section 1.1.2 section 10.1
  • Combine scaling with versioning, rollback, observability, and automated deployment so capacity changes do not compromise reliability. section 1.1.2 section 10.9

Production inference service

A model exposed through a REST API can be containerized with Docker and deployed on AWS or GCP. Load testing reveals whether it handles expected demand; auto-scaling addresses spikes, while monitoring tracks RPS and HTTP status codes. section 1.1.2

Figure 1.2 The development/staging/production phase of the ML life cycle
A diagram of a performance monitoring system

AI-generated content may be incorrect.

Use the ML life-cycle diagram to connect development and staging decisions with production deployment, monitoring, and retraining. section 1.1.2

How Machine Learning Platform Engineering covers it

How deep it goes
Explains deployment concerns, load testing, monitoring, and auto-scaling without detailing specific scaling algorithms or capacity plans.
Examples
Uses REST APIs, Docker deployment, AWS or GCP hosting, load tests, RPS metrics, HTTP status codes, and production lifecycle diagrams.
What you can do after
Operate/configure production inference by load-testing services, enabling auto-scaling, and monitoring operational and ML-specific performance.
How it connects
Connects model deployment with inference patterns, load testing, auto-scaling, monitoring, model drift, resource management, and versioning.

Also explained in

Compare how 27 books explain scalability →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning Platform Engineering. The section links point to the parts of the book it draws on.