Spring Boot and PostgreSQL, mixed reads and writes
Spring Boot (Tomcat, HikariCP) + PostgreSQL: 90% reads, 10% writes over 100,000 rows
- Capacity knee · error +70%
- Predicted the knee 70% too high: 7,907 req/s where the system managed 4,650 req/s.
- Run to run
- The measured knee ranged from 4,198 to 4,799 req/s over 3 runs on this machine (±7% around the middle): the +70% error is larger than that. Over 3 runs under these conditions (protocol v6, engine 0.16.0) the knee error had a median of +70% (+64% to +89%). The measured knee fell inside ArchSim's predicted range in 0 of 3 runs (expected about 80%).
- Latency below the knee
- Latency (p95) within a factor of 2 or 3 ms at 2 of 2 load steps up to the measured knee; the typical miss was 22%.
- Light load
- At light load (1,975 and 3,950 req/s), predicted p95 was 0.04 to 1.19 ms below the measured one.
Proposed thresholds for “validated”
- Not met: Median knee error within ±25% over 3+ runs (3 so far): no
- Met: p95 within a factor of 2 or 3 ms below the knee, in 2 of 3 runs: yes
- Met: No unstable step below the knee, in 2 of 3 runs: yes
- Not met: Reproduced on a second machine (3 runs under v6): no
Run of 4 Nov 2026 (calibrated 4 Nov, 03:38 UTC), protocol v6, engine 0.16.0. 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz; Docker 29.1.3 (linux/amd64) with 8 CPUs and 7.6 GiB; Windows-11-10.0.26300-SP0 (Best performance). Held out: predicted by a frozen engine that was not tuned on it, before it was first measured. The model inputs and how each was measured are in docs/validation.md (section java-mixed) in the repository.
Every load step (8)
| req/s | p95 meas. (ms) | p95 pred. (ms) | Error | Success |
|---|---|---|---|---|
| 1,975 | 1.67 | 1.63 | −2% | 100% / 100% |
| 3,950 | 2.88 | 1.70 | −41% | 100% / 100% |
| 5,925 | 56.8 | 1.87 | −97% | 97% / 100% |
| 7,110 | 78.3 | 2.19 | −97% | 92% / 100% |
| 7,900unstable | 99.7 | 33.7 | −66% | 86% / 100% |
| 8,690 | 149 | 1,916 | +1188% | 80% / 75% |
| 9,875 | 171 | 1,954 | +1044% | 70% / 15% |
| 11,850 | 194 | - | - | 57% / 0% |
Greyed rows are above the measured knee. Success is measured / predicted; “-” means no request succeeded.