Stileex

How the requirements of an application are measured, method 1.1

Every figure of the platform comes from this method. It says what is measured, how, how many times, when a profile counts as held, and how the size of the server is chosen and validated. Each measurement carries the version of the method it was made with.

The bench

A server dedicated to measurements, on a Proxmox VE host: Ubuntu 24.04, the settings of a production server, swap included. It runs nothing else. During the measurements it gets 4 vCPU and 8 GiB of memory, so that no application is held back; it goes back to a clean snapshot before every run.

The periodic maintenance tasks of the system (package updates, manual pages, log rotation) are turned off on the bench, so that they do not disturb a run. The load comes from another server, never from the measured one.

Each run records the processor, the kernel, the versions of Proxmox VE, Docker, Compose and k6, and the activity of the host. A run is played again when, during its measurement, the host’s CPU passes 50% of its threads at the 95th percentile, a task of the host waited for a processor, or for the disk, more than 5% of the time (the pressure the kernel reports), another bench or the public mirrors of the host passed one vCPU, or the load generator passed 70% of its own vCPU.

The installation

The official method of the project, its Docker Compose file most of the time, with its default configuration and the database it recommends. The version is pinned by its tag and by its digest.

The whole stack is measured, service by service: application, database, cache. The reverse proxy is left out, and measured once on its own.

What is measured

A sampler runs on the host, outside the measured server, and reads cgroup v2 once per second for every service of the application: memory, memory statistics, CPU time, processes. It also reads the measured server as a whole, system and Docker included, and the activity of the host.

Working memory is the memory in use minus the inactive file cache, which the kernel takes back when memory runs short: it is what a server must really hold. Its peak is the highest value read, second by second. memory.peak is the highest memory the kernel counted against the server, file cache included, reset at the start of each phase. CPU is expressed in vCPU. Disk reads and writes are those of the server’s file system.

Once per application: the time to the first healthy response, the peak memory during the first start and the migrations, of the stack and of the whole server, which often decides the smallest possible server, the size of the images and of the data, and the disk growth per 1,000 units of data.

The three profiles

Idle: installed, the first account created, no data; 10 minutes of rest, then 15 minutes measured.

Light use and sustained use: a reference dataset of a written size, then a realistic scenario (signing in, reading, creating) played by k6, with 10, then 50 simulated users; for an application without users, its own unit, written in its protocol. 5 minutes of warm-up, then 30 minutes measured.

When the application runs behind a reverse proxy, the load generator takes the place of the proxy and gives each simulated user its own address, in the range reserved for benchmarking (198.18.0.0/15), so that the default limits of the application apply to each user as they would in production.

The protocol of each application, its dataset, scenario and unit, is published on its page and with the scripts of the bench.

Statistics and criteria

Two independent runs per profile, each from the clean snapshot with a fresh installation, the profiles interleaved. When the two differ by more than 10% of their median on a central value (the median working memory or the average CPU, of the stack or of the whole server), beyond 2 MiB of memory or 0.01 vCPU, a third run is played; a spread that remains after the third is investigated, and nothing is published. The median and the range, from the lowest to the highest, are published; a peak is published with its range, and the highest of the runs sizes the server.

A profile is held when: less than 0.1% of errors, the 95th percentile of the scenario under one second (or a threshold of the application, when its protocol justifies it), no stop for lack of memory, no page in swap, no restart.

The size of the server, then validated

The memory to plan is the highest working memory peak of the whole server, system, Docker and the application together, over every run of every profile and their first start, plus a margin of 25%. The sizes follow one scale, the same for every application: memory of 512 MiB, 1, 2, 4, 8 or 16 GiB, and 1, 2, 4 or 8 vCPU, each on its own axis. The candidate is the smallest size of the scale that holds the memory to plan and where the CPU of the server stays under 70% of its vCPU at the 95th percentile.

Validation: the sustained profile, the heaviest, is played again on a server cut to the candidate size. If it holds, the page gives that size as the smallest validated one; otherwise, the next size of memory is replayed in turn.

How a campaign runs

Every campaign begins with a short trial: one sustained run, cut short, analysed at once. If it does not hold, or the host is busy, the campaign stops there, before any measurement. The campaigns then run one at a time, from a queue on the host, under the lock of the bench.

Versions

Every measurement carries the version of the application, its tag and digest, the date, the version of the method and the bench. A new measurement is made at every major or minor version of the application, and at least once a year. Each earlier measurement stays published, as it was, and each page lists it.

No estimated figure is ever published. A profile that cannot be measured says "not measured", with the reason. Next to the measured figures, each page gives what the official documentation says, with its link and the date it was read.

Data and scripts

The measurements are open data under the CC BY 4.0 license, in JSON and CSV. The scripts of the bench, the sampler, the run, the campaign, the queue, the analysis and each protocol, are published under the MIT license.

The scripts of the bench

Versions of the method

  • 1.0: First version, after the pilot measurement of ntfy (28 November 2026).
  • 1.1: A neutral scale of sizes, memory and vCPU each on its own axis; the memory to plan read on the peak of the whole server, plus 25%, and published, with memory.peak; two runs per profile, a third when they differ by more than 10%; the sustained profile alone replayed at the size; a short trial before every campaign, and campaigns in a queue; the CPU and disk pressure of the host in the validity of a run; the data of earlier measurements kept and listed (29 November 2026).