Performance
What one Skirl server does, measured: one reproducible script,
test/load, run on GitHub's standard Linux runner by
the load workflow. The README makes no claim
about speed that is not on this page.
go run ./test/load # builds ./cmd/skirl with the release flags; or -bin ./skirlIt starts the real binary on a fresh data directory, with rate limits off
(--no-rate-limit: this measures the server, not its limits), and measures:
- Start-up: from starting the process to the first healthy answer on
/v1/health, with a fresh data directory (creating the database and the push keys) and again with 200,000 messages stored. - Memory: the server's resident size freshly started, and with 10,000 idle subscriptions open (JSON streams, spread over 100 topics).
- Publishing: as many messages as 16 clients can publish in 60 seconds, each over HTTP with a title, while 1,000 subscriptions (JSON streams, 100 on each of 10 topics) receive every one of them. The figure counts messages stored and answered; each is delivered 100 times.
- The inbox: time to first byte of
GET /api/v1/messages, the first page the web app's inbox loads, for a user subscribed to a topic holding 200,000 messages (written straight to the database: publishing them one by one would take minutes), with the unread filter and with a search.
On GitHub's runner#
Load baseline run 45763447713,
2026-11-26, on GitHub's standard ubuntu-latest runner: linux/amd64, AMD EPYC
9V45, 2 CPUs, 7.7 GB memory. Commit 459dd39, Go 1.27.4.
| Measure | Result |
|---|---|
| Start-up, fresh data directory | 27 ms |
| Start-up, 200,000 messages stored | 14 ms |
| Publishing with 1,000 open subscriptions, 60 s | 541 messages/s (32,478 published, no errors) |
| Publish latency, median / 99th percentile | 22.2 ms / 116.7 ms |
| Messages delivered to the subscriptions | 3,247,800 of 3,247,800 |
| Memory, freshly started | 42 MB |
| Memory with 10,000 idle subscriptions | 443 MB (about 40 KB per subscription) |
| Inbox first page, time to first byte: first request / median / 95th percentile | 9.7 / 2.3 / 2.8 ms |
| Inbox, unread only / search, median | 2.8 / 2.6 ms |
With 1,000 subscriptions every published message goes out 100 times, so the publish figure is also 54,000 deliveries a second to open streams. The two CPUs are shared between the server and the 1,016 clients of the test.
On a laptop, for comparison#
The same script on an Apple M5 MacBook (10 CPUs, 24 GB, macOS), 2026-11-26:
| Measure | Result |
|---|---|
| Start-up, fresh data directory | 693 ms |
| Start-up, 200,000 messages stored | 39 ms |
| Publishing with 1,000 open subscriptions, 60 s | 2,022 messages/s (121,359 published, no errors) |
| Publish latency, median / 99th percentile | 6.4 ms / 28.1 ms |
| Messages delivered to the subscriptions | 12,135,900 of 12,135,900 |
| Inbox first page, time to first byte: median / 95th percentile | 1.5 / 1.6 ms |
| Inbox, unread only / search, median | 1.8 / 1.9 ms |
(The first start on macOS includes the system's check of a new binary.)
What these numbers do not say#
They are one server on one machine, on loopback: no network, no reverse proxy, no TLS, and no web push (the subscribers are streams; push delivery depends on the push services). Publishing used one message size; attachments were not part of it. Rate limits were off; with them on (the default), one client or address is held to its limit long before these figures.