惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
雷峰网
雷峰网
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
G
Google Developers Blog
腾讯CDC
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
博客园_首页
T
Tailwind CSS Blog
C
Check Point Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
Y
Y Combinator Blog
L
LangChain Blog
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Capacity Planning Without ML: The 80/20 Approach
Samson Tanimawo · 2026-06-23 · via DEV Community
Cover image for Capacity Planning Without ML: The 80/20 Approach

Samson Tanimawo

There's a small industry of vendors that want to sell you machine learning capacity planning. For 95% of teams, you don't need it. You need a spreadsheet, an honest growth assumption, and a buffer.

Here's the practical version of capacity planning that catches most real problems.

What you actually need to know

You need to answer three questions:

  1. When does the current setup run out?
  2. What does adding capacity cost (money and engineering time)?
  3. What's the cheapest action you can take to push the answer to question 1 out by 6 months?

That's the whole game. Everything else is detail.

The boring forecast

Take your traffic from the last 12 months. Fit a linear regression. Extrapolate forward 6 months. That's your baseline forecast.

For most B2B SaaS workloads, this is accurate enough. Your traffic isn't a fractal pattern. It grows roughly linearly with customer count, with seasonal bumps you already know about.

Where to be careful:

  • One-time growth events. If your sales team is about to land a contract that doubles traffic, that's not captured in the regression. Talk to sales monthly so you know what's coming.
  • Product launches. If marketing is about to launch a campaign with paid acquisition, expect a 2-4x bump for the campaign window. Don't average it into your baseline.
  • Customer churn. A big customer leaving will dent the trend. Subtract their traffic from history before fitting, then add it back as a separate term.

What to provision against

Your forecast tells you the expected traffic. You should be provisioned for double the peak day of that forecast. The factor-of-two buffer covers:

  • The forecast being wrong (it always is)
  • A spike day (some Monday will be 50% above average)
  • The buffer you need to do safe deploys without saturating
  • A reasonable margin for new product features adding load

If doubling capacity is unaffordable, you're already running close to the edge. That's a real problem and you should be talking to leadership about either the cost or the SLO compromise, not the architecture.

When ML actually helps

There are cases where machine learning capacity planning pays off:

  • Highly seasonal workloads. E-commerce on Black Friday, betting platforms during major sporting events, tax software in March. The pattern is complex enough that a linear regression misses too much.
  • Multi-dimensional resource constraints. When CPU, memory, network, and disk all behave differently and you have a complex auto-scaler trying to optimize across them.
  • Very large fleets. Beyond a few thousand instances, the variance between machines matters and the spreadsheet stops working.

If you're none of those, skip the ML. Spend the time you saved on something that actually reduces your bill, like rightsizing your instances or shutting down zombie services nobody owns.