How do you extrapolate results from a scaled-down test environment to production, and what are the risks?
Last updated
Apply a known scaling factor (e.g. test is 1/4 of prod) to throughput only. Treat latency and percentiles as non-transferable, and check linearity at several scales first.
Risks: shared DBs, locks, or network links saturate non-linearly, smaller datasets cache better than prod, and contention (pools, GC) appears only at full scale.
Treat projections as estimates with a safety margin, document assumptions, and confirm with a full-scale test before making capacity claims.