Capacity Planning

Know your limits before your users find them

Use systematic load testing to determine your infrastructure's capacity. Find out exactly how many concurrent users your app can handle, at what point performance degrades, and when you need to scale.

What you get

  • Progressive load testing methodology
  • Identify exact breaking points
  • Cost-per-user infrastructure analysis
  • Auto-scaling validation
  • Baseline establishment for monitoring
  • Data-driven scaling decisions
capacity-test.js
import http from 'k6/http';
import { check, sleep } from 'k6';

// Gradually increase load to find the breaking point
export const options = {
  stages: [
    { duration: '2m', target: 50 },
    { duration: '2m', target: 100 },
    { duration: '2m', target: 150 },
    { duration: '2m', target: 200 },  // Free tier max
  ],
  thresholds: {
    http_req_duration: ['p(95)<1000'],
    http_req_failed: ['rate<0.05'],
  },
};

export default function () {
  http.get('https://myapp.com');
  sleep(1);
}

Frequently Asked Questions

How do I determine my app's capacity?

Run progressively increasing load tests. When response times exceed your SLA or error rates spike above 1-5%, you've found your capacity limit. This is the point where you need to scale.

How often should I do capacity planning?

Before major launches, after significant architecture changes, and quarterly as a baseline check. Automated load tests in CI/CD can catch regressions early.

Ready to start capacity planning?

Sign up free — no credit card required. Get 200 VUs and 5 minute tests instantly.

loadtest.dev

© 2026 loadtest.dev