Skip to content
Skills Library
DevOps & cloud · Planning

scalability-planning

/scalability-planning

Plan scalability from a load model and bottleneck math, designing for realistic growth without premature over-engineering. Use when designing for scale or after a load-driven incident.

Repository
AI-SKILLS ↗
Licence
MIT
Last repository change
05.09.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Plan scalability from a load model and bottleneck math, designing for realistic growth without premature over-engineering. Use when designing for scale or after a load-driven incident.

Original author description

Plan scalability from a load model and bottleneck math, designing for realistic growth without premature over-engineering. Use when designing for scale or after a load-driven incident.

How it works

  1. Method
  2. Boundaries
Original SKILL.md headings · 75 lines, 487 words
SKILL.md preview
---
name: scalability-planning
description: Plan scalability from a load model and bottleneck math, designing for realistic growth without premature over-engineering. Use when designing for scale or after a load-driven incident.
---

# Scalability planning

Scalability is designed against a number, not a feeling. Start from a
load model, find where it breaks, and design for the next order of
magnitude: not ten, because that is today, and not a thousand, because
that is architecture astronomy you will rebuild before you reach it.

## Method

1. **Build the load model first.** Requests per second at
   peak, data volume and growth rate, read/write ratio,
   payload sizes, and the concurrency shape (steady vs
   spiky): tied to the business driver (see
   capacity-planning, product-metrics). Every scaling
   decision references this model; designing for scale
   without a number is guessing which is why systems get
   over- and under-built at once.
2. **Find the bottleneck by math, then by test.** Trace the
   load through the system and compute where it saturates
   first (usually the database, a shared lock, or a
   single-threaded stage: see systems-profiling,
   concurrency-tuning); intuition picks the wrong component
   routinely. Confirm with load testing (see load-testing)
   and design the fix for the *real* bottleneck, not the
   scary-looking one.
3. **Scale horizontally by removing shared state.** Stateless
   services scale by adding instances (see
   autoscaling-policies); the hard part is the stateful tier.
   Push state to the data layer, make services share nothing,
   and design the data layer to scale (read replicas for
   read-heavy, sharding/partitioning for write-heavy: see
   sharding-partitioning, materialized-views,
   caching-strategy). The stateless tier is easy; the plan is
   really a data-scaling plan.
4. **Design for the next 10x, not the current 1x or a
   fantasy 1000x.** Architect so the known next order of
   magnitude does not require a rewrite, and no further:
   over-engineering for scale you may never reach costs
   real complexity now (see premature-abstraction,
   monolith-first) and often makes the current system worse.
   Re-plan at each order of magnitude; the right design at
   1M users differs from the one at 1K.
5. **Prefer asynchrony and caching to absorb load.** Queue
   spiky work so the system processes at its own pace
   (see message-queues, backpressure); cache expensive
   reads with a considered invalidation strategy (see
   caching-strategy, cache-invalidation); precompute where
   read latency matters (see cqrs, materialized-views).
   These absorb load without linearly scaling the
   expensive components.
6. **Degrade gracefully past the plan.** Load will
   eventually exceed any design; the system sheds load,
   serves stale, or reduces functionality rather than
   collapsing (see backpressure, partition-tolerance's
   degraded modes). A scalability plan includes what
   happens when you exceed it, because you will.

## Boundaries

- Premature scaling is a top way startups waste effort:
  most systems never reach the scale their architecture
  was over-built for, and the complexity slows them
  reaching it (see monolith-first, mvp-scoping). Build
  for realistic near-term growth.
- Scalability (handling more load) is distinct from
  performance (handling one request fast: see
  performance-optimization) and availability (staying up:
  see multi-region-design); a plan conflating them
  optimizes the wrong axis.
- Vertical scaling (a bigger machine) is the boringly
  correct first answer for many systems and buys years
  cheaply; exhaust it before distributed complexity (see
  managed-vs-selfhosted's honesty).

Versions

The database has no other skills named scalability-planning.

Database snapshot: 13.11.2026 · package version 942acb95aa69 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90system-scalability
    Audit and architect scaling boundaries and bottlenecks. Use when: scale up, scale out, horizontal scalability, vertical scaling, load balancing, analyze scalability.
  • 100headroom
    Plans capacity, performance, and resilience from measured or explicitly estimated demand. Use for scalability decisions, growth planning, service targets, bottleneck forecasts, queue or cache sizing, and Now/Next/Scale plans. Do not use to debug a known slow path or implement a feature.
  • 100system-benchmark
    Measure system throughput, stability, scalability, and resilience. Use when: Run system benchmark, Test scalability, Measure throughput, Check system stability, Run load test.
  • 100scalability-advisor
    Assess system scalability: identify bottlenecks, recommend scaling strategies per container, and define capacity planning guidelines. Use when working on solution architecture, C4 diagrams, APIs, ADRs, or system design.
  • 90scalability
    This skill should be used when designing, planning, implementing, or reviewing any non-trivial change, or when the user asks to "handle more load", "scale this out", "optimize for throughput" — enforces stateless design, efficient resource usage, and architectural patterns that…
  • 90high-concurrency-scalability
    Design and optimize systems for high concurrency, throughput, scalability, and elastic scale—concurrency models (threads, async/await, actors), lock-free patterns, connection pooling, caching stampede mitigation, horizontal scaling, load balancing, backpressure, queueing, rate…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.