Scaling · Intermediate · 10 min

Vertical vs Horizontal Scaling

Compare a larger machine with more instances, including the state and failure trade-offs.

STEP 1 / 11
Start with one instance — isometric concept diagramChoose a baseline before choosing a scaling strategy. Components: 1. Clients. Representative clients, not a literal user count; 2. Application server. Logical component or processing boundary. Connections: 1. Clients to Application server: Start with one instance; 2. Application server to Clients: Reply: Application server. Illustrations are conceptual, not deployed capacity or user counts.Clients → Application server: Start with one instance1Application server → Clients: Reply: Application server2Clients: representative traffic illustration; figure count is not a workload measurement.1ClientsRepresentative clients, not aliteral user countApplication server: Logical component or processing boundary2Application serverLogical component or processingboundary
1Clients2Application server
  1. 1Clients → Application serverRequestStart with one instance
  2. 2Application server → ClientsReplyReply: Application server

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

2 components visible · Clients + Application server highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • A larger instance still has a resource ceiling.
  • More instances require portable request handling and routing.
  • Capacity and failure tolerance need separate evidence.

PUT THE IDEA TO WORK

From learning to practice

RELATED PATTERNS

Client–Server ↗

Further reading

AWS · Horizontal and vertical scaling ↗