liveBook · Manning

Horizontal scaling

As explained in Build AI-Enhanced Web Apps

Horizontal scaling is the addition or removal of application instances to change processing capacity.

Horizontal scaling changes application processing capacity by adding or removing application instances. Deployment planning should match this capability to expected traffic and operational needs. section 9.6.2

A traffic-based deployment checklist pairs simple horizontal scaling with supporting operational practices:

  • For applications handling fewer than 10,000 requests per day, make it easy to add instances when load increases. section 9.6.2
  • Support scaling with basic monitoring and alerting, standard security measures, daily backups, and basic error tracking. section 9.6.2
  • Reassess infrastructure as traffic grows toward 10,000–100,000 requests per day, adding CDN, security, logging, and error-tracking capabilities. section 9.6.2

Small-scale deployment

A low-traffic application can begin with basic monitoring and a straightforward mechanism for adding application instances. This provides additional capacity without requiring the full infrastructure used at higher traffic tiers. section 9.6.2

How Build AI-Enhanced Web Apps covers it

How deep it goes
Defines adding instances and places the practice in a tiered checklist without detailing implementation mechanics.
Examples
Uses applications below 10,000 requests per day as the concrete simple-scaling scenario.
What it assumes
Assumes expected-traffic estimates and deployment planning, while leaving provider-specific scaling steps unspecified.
What you can do after
Operate/configure capacity by planning simple instance expansion for increased application load.
How it connects
Connects application capacity with monitoring, security, backups, error tracking, and traffic-based deployment planning.

Also explained in

Compare how 13 books explain horizontal scaling →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build AI-Enhanced Web Apps. The section links point to the parts of the book it draws on.