Estimating and scoping
Size systems with back-of-envelope maths and size projects with ranges, milestones and explicit cut lines.
15 min readBack-of-envelope capacity
Before choosing technology, estimate the load. Convert daily numbers into per-second rates (a day has about 86,400 seconds; use 100,000 for quick maths) and multiply by a peak factor of 2-10x. Example: 10 million votes per day is about 115 per second on average and perhaps 1,000 per second at peak during a live event. Storage: 10 million rows per day at 200 bytes is 2 GB per day, about 730 GB per year before indexes and replicas. These rough numbers decide whether one Postgres instance suffices or you need partitioning.
- Memory read ~100 ns, SSD read ~100 microseconds, same-region round trip ~0.5-1 ms, cross-continent ~70-150 ms
- A well-tuned SQL primary handles thousands to low tens of thousands of simple writes per second
- A single cache node serves around 100k simple operations per second
Estimating effort with ranges
Single-number estimates are almost always wrong and treated as promises. Give ranges with a confidence level: '6-10 weeks, 80% confident.' Break the work into pieces no larger than a week or two; large unknowns become spikes with a fixed time box. A three-point estimate (optimistic, likely, pessimistic) weighted as (O + 4L + P) / 6 is a reasonable default. Then add explicit time for the things everyone forgets: migrations, rollout, observability, security review and documentation. Track actuals against estimates so the team calibrates over time.
Scope with cut lines
Scoping is deciding what you will not build yet. Order the work into tiers and draw a cut line for each milestone. A useful pattern is walking skeleton first: an end-to-end thin slice through every component (UI, API, database, deploy pipeline) in the first two weeks, which flushes out integration risk early. Then add depth. When dates slip, move the cut line, not the quality bar. Label each tier clearly: must have for launch, should have soon after, and could have later. Stakeholders accept cuts more easily when they see the whole list and agreed the order in advance.
Communicating the estimate
Share estimates with their assumptions attached: team size, dependencies, what is excluded. Re-estimate at every milestone and say so loudly when the range moves. Trust comes from being predictable about uncertainty, not from being right the first time. A simple format works well: the current range, what changed since the last update, the biggest remaining unknown and when it will be resolved. If the range widens, explain why and what decision it might force, such as cutting scope, adding people or moving the date. Surprises late in a project destroy trust far more than honest uncertainty shared early.
Key takeaways
- Convert daily volumes to per-second rates and apply a peak factor before choosing technology.
- Estimate effort as ranges with confidence, and budget for migration, rollout and review work.
- Ship a walking skeleton first, then add depth; move the cut line, not the quality bar.
- Publish assumptions with every estimate and re-estimate at each milestone.
Sign in to track lessons and earn badges.