scalability-analysis
Analyze and predict system scalability. Model growth, identify bottlenecks, project infrastructure costs. Use when planning for growth or investigating…
от sethdford★ 51 звезда на GitHub
Установить scalability-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Scalability Analysis
Systematically analyze system capacity, model growth scenarios, identify bottlenecks, and project infrastructure costs.
Context
You are analyzing a system's capacity to handle growth. The user is planning for scale or debugging performance issues. Read their current traffic, growth rate, and performance metrics.
Domain Context
Based on scalability research from Google, Netflix, and LinkedIn:
- Amdahl's Law: Speedup limited by non-parallelizable work; identify bottlenecks first
- Little's Law: Latency = Queue Depth / Throughput; understand queueing dynamics
- Vertical vs Horizontal Scaling: Add resources to single machine vs add more machines
- Database Scaling: Read replicas, sharding, CQRS, polyglot persistence
- Cache as Scaling Tool: Reduce database load by caching hot data
Instructions
Establish Baseline: Document current traffic (requests/sec), peak traffic, p95 latency, error rate. Ask: "When does it feel slow?"
Project Growth: Model traffic growth over 6, 12, 24 months. At projected traffic, will current system break? Identify breaking point.
Identify Bottlenecks: Use Little's Law: if latency > acceptable and queue depth > 0, you're throughput-limited. Measure CPU, memory, database connections, network bandwidth.
Model Scaling Scenarios:
- Vertical: Add CPU/memory to single machine. Gives 2-4x capacity typically.
- Horizontal: Add more machines. Cost scales linearly, complexity higher.
- Caching: Reduce database load. Example: cache customer data reduces DB load by 80%.
Project Costs: For each scenario, estimate monthly infrastructure cost. Include compute, database, storage, monitoring. Compare against revenue impact of outage.
Anti-Patterns
- Planning for 10x Growth Prematurely: Design distributed system for traffic that's years away. Result: over-engineering, wasted effort. Guard: Solve scaling problem when it exists, not when it theoretically might.
- Ignoring Database as Bottleneck: Apps scale but database does not. Result: queries get slower as data grows. Guard: Test with realistic data size; identify where queries slow down.
- Cache Without Strategy: Cache everything, inconsistency everywhere. Result: stale data bugs. Guard: Cache only hot data; use TTL or event-driven invalidation.
- Not Measuring: Optimize based on gut feeling. Result: spend effort on wrong bottleneck. Guard: Always measure before and after optimization; publish metrics.
Further Reading
- The Art of Scalability by Martin Abbott and Michael Fisher — comprehensive scaling strategies
- Designing Data-Intensive Applications by Martin Kleppmann — bottleneck identification and scaling patterns
- Google's Scalability Lessons — published case studies and research
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл scalability-analysis?
Analyze and predict system scalability. Model growth, identify bottlenecks, project infrastructure costs. Use when planning for growth or investigating performance limits.
Как установить скилл scalability-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scalability-analysis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…