offline-first-opensource under load on an 8-core 16GB box — full benchmark scripts included
Short version: offline-first-opensource needs almost no tuning at small and medium scale — the point where it starts to hurt is much further out than most people assume. Full measurements below.
The first thing was to collapse the variables. We were changing config and upgrading the version at the same time, and afterwards nobody could say which change caused what. We rolled back to moving one variable at a time, re-ran three times, and only then did the curve settle. Tedious, but not skippable.
What genuinely surprised me was the tail. The average looked great while P99 jumped by an order of magnitude past some threshold. The cause was not offline-first-opensource itself but our upstream connection reuse — the load test traffic was too clean and hid the long-tail requests.