Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Daten und Forschung · SKILL.md

capacity-management

capacity-management

Plan IT capacity with demand forecasting, resource utilization analysis, scaling triggers, performance baselines, and capacity reports for proactive infrastructure management. TRIGGER when: user says /capacity-management, "capacity planning", "capacity management", "resource utilization", "demand forecasting", "scaling plan", "infrastructure capacity", or "…

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill-Dokumentation

GitHub

name: capacity-management description: > Plan IT capacity with demand forecasting, resource utilization analysis, scaling triggers, performance baselines, and capacity reports for proactive infrastructure management. TRIGGER when: user says /capacity-management, "capacity planning", "capacity management", "resource utilization", "demand forecasting", "scaling plan", "infrastructure capacity", or "will we run out of capacity". argument-hint: "[system_name or resource_type]" user-invocable: true

IT Capacity Management

You are an expert IT capacity management practitioner. When the user asks you to plan or manage IT capacity, follow this structured process to ensure infrastructure meets current and future demand while optimizing cost and performance.

Step 1: Current Capacity Assessment

Establish a baseline of current resource utilization:

Resource TypeMetrics to CollectSourceCollection Method
Compute (CPU)Utilization %, core count, clock speedServers, VMs, containersMonitoring agent (Prometheus, Datadog, CloudWatch)
Memory (RAM)Utilization %, allocated vs used, swap usageServers, VMs, containersMonitoring agent
StorageUsed capacity, IOPS, throughput, latencySAN, NAS, cloud storage, local diskStorage management tool, cloud metrics
NetworkBandwidth utilization, packet loss, latencySwitches, routers, load balancersSNMP, NetFlow, cloud VPC metrics
DatabaseConnection count, query throughput, buffer pool hit ratioDatabase serversDatabase monitoring (pganalyze, RDS metrics)
ApplicationRequest rate, response time, error rate, queue depthApplication serversAPM tool (New Relic, Datadog APM)
Cloud resourcesInstance count, reserved vs on-demand, spot utilizationCloud providerCloud cost management tool (CloudHealth, Spot.io)

Utilization Summary Template

ResourceCurrent CapacityPeak UtilizationAverage UtilizationAvailable HeadroomStatus
CPU — Prod cluster128 cores82%55%18% at peakWarning
RAM — Prod cluster512 GB71%48%29% at peakOK
Storage — Primary DB2 TB78%78% (growing)22%Warning
Network — WAN link1 Gbps45%22%55% at peakOK
DB connections200 max168 (84%)92 (46%)16% at peakWarning

Health Status Thresholds

StatusUtilization RangeAction
OK (Green)0-60%Monitor normally
Warning (Yellow)60-80%Plan capacity increase, monitor closely
Critical (Red)80-90%Immediate scaling needed, alert stakeholders
Emergency (Black)90-100%Service impact imminent or occurring, emergency action

Step 2: Demand Forecasting

Project future capacity requirements:

Forecasting Methods

MethodData RequiredBest ForAccuracy
Linear trend6-12 months historical utilizationSteady, predictable growthMedium
Seasonal decomposition12-24 months historical with seasonal patternsBusiness with cyclical demandHigh
Business driver correlationUtilization + business metric (users, revenue, transactions)Growth tied to business KPIsHigh
Capacity modelingApplication architecture, resource-per-unit ratiosNew systems, major changesMedium
Scenario planningBusiness plans, product roadmapStrategic planning, uncertaintyVariable

Demand Forecast Template

ResourceCurrent3-Month Forecast6-Month Forecast12-Month ForecastConfidence
CPU cores128140 (+9%)155 (+21%)180 (+41%)High
RAM (GB)512550 (+7%)600 (+17%)700 (+37%)High
Storage (TB)2.02.3 (+15%)2.7 (+35%)3.5 (+75%)Medium
DB connections200220 (+10%)250 (+25%)300 (+50%)Medium

Growth Driver Analysis

Business DriverCurrent ValueGrowth RateCapacity Impact
Registered users500,000+8% monthly+2 cores, +8 GB RAM per 50K users
Daily transactions1.2M+5% monthly+50 IOPS per 100K transactions
Data ingestion50 GB/day+10% monthly+1.5 TB storage per quarter
API calls10M/day+15% monthly+4 cores per 5M daily calls
Concurrent users25,000 peak+6% monthly+500 DB connections per 10K concurrent

Step 3: Performance Baselines

Establish and monitor performance baselines:

Baseline Metrics

MetricBaseline ValueAcceptable RangeAlert ThresholdMeasurement Period
API response time (p50)120 ms80-160 ms> 200 msLast 30 days
API response time (p99)450 ms300-600 ms> 800 msLast 30 days
Database query time (avg)25 ms15-40 ms> 60 msLast 30 days
Page load time2.1 s1.5-3.0 s> 4.0 sLast 30 days
Error rate0.1%0-0.3%> 0.5%Last 7 days
Throughput (requests/sec)1,200800-2,000< 600 or > 2,500Last 7 days

Baseline Deviation Detection

Deviation TypeDetection MethodResponse
Gradual degradationWeek-over-week trend analysisInvestigate root cause, plan capacity
Sudden spikeReal-time alerting on threshold breachIncident response, auto-scaling
Periodic patternSeasonal decomposition, day-of-week analysisAdjust baselines, pre-scale for known peaks
Post-change regressionBefore/after comparison around change windowsRollback or optimize, update baseline

Step 4: Scaling Triggers and Strategies

Define when and how to scale:

Scaling Trigger Matrix

ResourceScale-Up TriggerScale-Down TriggerMethodLead Time
CPUSustained > 75% for 15 minSustained < 30% for 1 hourHorizontal (add instances)5 min (cloud)
MemorySustained > 80% for 10 minSustained < 40% for 1 hourVertical (upgrade instance)15 min (cloud)
Storage> 75% capacityN/A (rarely shrink)Add volume, expand disk30 min (cloud)
DatabaseConnections > 80% maxConnections < 30% maxRead replicas, connection pooling1-4 hours
NetworkBandwidth > 70% for 5 minBandwidth < 20% for 1 hourUpgrade link, add CDNHours-days

Scaling Strategies

StrategyDescriptionBest ForConsiderations
Vertical scaling (scale up)Increase resource on existing instanceDatabases, monolithsDowntime during resize, upper limits
Horizontal scaling (scale out)Add more instances behind load balancerStateless services, web tierRequires load balancing, session management
Auto-scalingAutomated horizontal scaling based on metricsCloud-native, variable loadSet min/max limits, avoid thrashing
Pre-scalingProactively scale before known demand spikesEvents, sales, seasonal peaksRequires advance knowledge of demand
CachingReduce load on origin systemsRead-heavy workloadsCache invalidation complexity
Queue-based bufferingAbsorb burst traffic, process asynchronouslyWrite-heavy, batch processingAdds latency, queue monitoring needed

Auto-Scaling Configuration Template

Resource: [target group / service]
Metric: [CPU utilization / request count / custom metric]
Scale-out: When [metric] > [threshold] for [duration], add [count] instances
Scale-in: When [metric] < [threshold] for [duration], remove [count] instances
Minimum instances: [floor]
Maximum instances: [ceiling]
Cooldown period: [seconds between scaling actions]
Health check: [endpoint and expected response]

Step 5: Capacity Reports

Produce regular capacity reports for stakeholders:

Monthly Capacity Report Template

SectionContent
Executive summaryKey findings, risk areas, recommended actions
Resource utilization summaryTable of all resources with current/peak/average utilization
Trend analysisUtilization trends with forecast overlay
Capacity risksResources approaching thresholds with timeline to breach
Cost analysisCurrent spend, projected spend, optimization opportunities
Scaling eventsAuto-scale and manual scale events in the period
Performance baseline statusAny baseline deviations and their causes
RecommendationsPrioritized list of capacity actions

Capacity Risk Register

Risk IDResourceCurrent Util.Projected BreachBusiness ImpactMitigationOwnerCost
CR-001Primary DB storage78%6 weeksService outage if fullExpand to 4 TB, archive old dataDBA Team$500/month
CR-002Prod CPU cluster82% peak4 weeksDegraded response timesAdd 4 nodes to clusterPlatform Team$2,400/month
CR-003WAN bandwidth45% peak6 monthsSlow remote accessUpgrade link to 2 GbpsNetwork Team$1,200/month

Step 6: Optimization and Cost Management

Balance capacity with cost efficiency:

Optimization Opportunities

OpportunityDetection MethodPotential Savings
Right-sizing over-provisioned instancesInstance utilization < 30% consistently30-60% per instance
Reserved instance purchasingStable workloads running 24/730-70% vs on-demand
Spot/preemptible instancesFault-tolerant, interruptible workloads60-90% vs on-demand
Storage tieringInfrequently accessed data on cold storage50-80% on storage costs
Decommission unused resourcesResources with zero utilization for 30+ days100% of unused resource cost
Scheduling non-productionDev/test environments off during non-business hours40-60% of non-prod costs
Application optimizationCode profiling reveals inefficient resource useVariable — often 20-50%

Cost-Capacity Trade-off Analysis

OptionCapacity ProvidedMonthly CostCost per UnitLead TimeFlexibility
On-demand cloudVariable$$HighMinutesMaximum
Reserved instancesFixed$MediumCommittedLow
Spot instancesVariable$LowMinutesHigh risk
On-premisesFixed$ (amortized)Low (at scale)Weeks-monthsMinimal
HybridMixed$MediumVariableModerate

Output Format

Present the capacity management deliverable as:

  1. Capacity Summary (current state, key risks, headline recommendations)
  2. Resource Utilization Report (all resources with current/peak/average and status)
  3. Demand Forecast (3/6/12-month projections with confidence levels)
  4. Performance Baselines (metrics, acceptable ranges, current deviations)
  5. Scaling Plan (triggers, strategies, auto-scaling configurations)
  6. Capacity Risk Register (risks ranked by urgency with mitigations)
  7. Cost Optimization Analysis (opportunities, savings estimates, trade-offs)
  8. Capacity Roadmap (quarterly plan for capacity investments and optimizations)

Quality Checklist

Before delivering the capacity plan, verify:

  • All critical resources are inventoried with current utilization
  • Performance baselines are established with at least 30 days of data
  • Demand forecasts use appropriate methods with stated confidence levels
  • Scaling triggers are defined with specific thresholds and response actions
  • Cost implications are quantified for all capacity recommendations
  • Capacity risks have owners, timelines, and mitigation plans
  • Report cadence and distribution are defined
  • Optimization opportunities are identified and prioritized
  • Plan accounts for known business events (launches, campaigns, seasonal peaks)

Edge Cases

  • Sudden viral growth: Pre-define an emergency scaling runbook with pre-approved budget; use auto-scaling with generous maximums; have a CDN and queue-based buffering ready
  • Multi-cloud environments: Normalize metrics across providers; use a unified monitoring platform; consider cross-cloud burst capacity
  • Legacy on-premises systems: Plan longer lead times for hardware procurement (8-16 weeks); maintain a buffer of spare capacity; evaluate cloud migration for elastic workloads
  • Shared infrastructure (multi-tenant): Implement resource quotas per tenant; monitor noisy-neighbor effects; plan capacity based on aggregate demand, not individual tenants
  • Seasonal businesses (e.g., retail): Forecast based on prior year peaks with growth factor; pre-scale 2 weeks before peak; use reserved capacity for baseline + on-demand for burst
  • Data growth outpacing compute growth: Implement data lifecycle policies (archive, purge, compress); evaluate storage tiering; consider data warehouse vs operational database separation
Gespeicherte Skills