Size the fleet for a public RPC service: 300 million requests/day, peak 5× average, 70% of calls are cheap reads served from a cache, 25% hit an archive node (average 40 ms of node CPU), 5% are heavy historical queries (400 ms). Responses average 4 KB. Give machine counts, the bottleneck, redundancy, and bandwidth, stating every assumption.
- Three availability zones; must serve peak with one zone lost.
- Archive nodes are expensive; justify their count separately from the stateless tier.
A strong answer computes about 17,500 peak QPS and about 525 backend cores, names archive CPU as the bottleneck, and picks a utilisation target that survives losing one of three zones.
- Average QPS from 300M/86,400 ≈ 3,500; peak ≈ 17,500 QPS, stated.
- Work split: ~12,250 cached, ~4,375 archive at 40 ms, ~875 heavy at 400 ms.
- Backend CPU-seconds/second: 4,375×0.04 ≈ 175 plus 875×0.4 ≈ 350, ≈ 525 cores at peak; machines from cores per node at a stated utilisation target (e.g. 525 ÷ (32 × 0.6) ≈ 28, so ~30 across three zones).
- Redundancy derived from the failure model and counted once: with three zones and one lost, survivors carry 1.5× their share, so a ~60–65% utilisation target at normal peak keeps them under their limit — not a 60% target and a separate (N−1)/N divisor stacked on top; N+1 stated for the stateless tier too.
- Bandwidth: 17,500 × 4 KB ≈ 70 MB/s ≈ 560 Mbps egress at peak, plus headroom; note 1 Gbps ≈ 125 MB/s.
- Bottleneck named (archive CPU) and the cheapest lever identified (cache hit ratio, method-level limits on heavy queries).
- Assumptions and rounding stated; a cost or count sanity check at the end.
- estimation: Full chain with stated assumptions: QPS, per-class work, CPU-seconds, machines, headroom for zone loss, bandwidth, and a named bottleneck.
- judgment: Separates tiers, notes that 5% heavy queries dominate backend cost, proposes levers (cache ratio, per-method limits, dedicated pool for heavy queries).
- communication: Assumption → number → implication at each step, rounded to one significant figure, ending with the bottleneck and the sanity check.
NALSD answers are scored on the chain of stated assumptions, the named bottleneck, redundancy arithmetic that matches the failure model, and a final sanity check.
Treating all requests as equal, or stating a machine count before naming the resource that runs out first. Here 5% of traffic is two thirds of the cost, and archive CPU is the bottleneck.