scalability-plan

Design horizontal and vertical scaling strategies with capacity planning, autoscaling, caching, and database sharding.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill scalability-plan-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scalability-plan
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/06-system-design/scalability-plan
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill scalability-plan-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Systems that grow 10x or 100x often fail because scaling is handled reactively. This Skill helps you proactively plan capacity, identify bottlenecks, and design scaling strategies before traffic spikes cause outages. ## Core Features & Use Cases - Capacity Planning: Analyze current metrics (RPS, CPU, memory, DB connections) and project growth scenarios with required server counts and cost estimates. - Autoscaling Configuration: Generate Kubernetes HPA manifests and AWS Auto Scaling policies based on CPU, memory, and request-count triggers. - Scaling Architecture: Implement caching layers (Redis, CloudFront CDN), database read replicas, connection pooling, sharding, and async processing with Celery. - Use Case: Your API handles 10k RPS and you expect 100k RPS in six months. Use this Skill to produce a scalability plan covering bottleneck analysis, sharding strategy, autoscaling rules, and load testing verification. ## Quick Start Create a scalability plan for my API currently handling 10k RPS that needs to reach 100k RPS within six months.

Frequently Asked Questions about scalability-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan capacity for 10x traffic growth?

Collect 30 days of metrics including average and p99 RPS, CPU, memory, and database connections. Then model growth scenarios (conservative, expected, optimistic) and calculate required servers based on a target CPU utilization of around 70 percent.

Horizontal vs vertical scaling: which should I choose?

Use horizontal scaling for application servers because it scales linearly and provides redundancy, but it requires stateless applications and a load balancer. Use vertical scaling for databases initially since sharding adds significant complexity.

How do I configure Kubernetes HPA for autoscaling?

Define a HorizontalPodAutoscaler targeting CPU utilization around 70 percent and memory around 80 percent, with min and max replica bounds. You can also scale on custom metrics like requests per second, and tune scale-up and scale-down stabilization windows.

When should I use database sharding instead of read replicas?

Use read replicas first since they handle roughly 10x read growth with far less complexity. Move to sharding only when write throughput or data size exceeds a single primary, since sharding requires application-level routing logic.

How do I verify autoscaling works before a traffic spike?

Run load tests with Locust at twice your expected peak traffic while watching HPA and pod counts. Confirm that rising CPU triggers scale-up, new pods start successfully, and utilization normalizes.

How can I reduce cloud costs for scaled infrastructure?

Use reserved instances for baseline capacity to save 40 to 60 percent, on-demand instances for predictable peak hours, and spot instances for interruptible batch jobs. A hybrid strategy can cut costs by over 50 percent versus all on-demand.