horizonFORUMS

PERFORMANCE LAB

How fast can
a forum be?

Three experiments measure page serving, indexed reads and durable replies at different points in the Horizon Forums stack. The fastest numbers come from a Go test build of the event-journal design, not from HYMN yet; HYMN cannot serve web pages today.

Synthetic members
53,138
Synthetic topics
192,251
Synthetic posts
1,238,677

The 100,000-post trial

One paired synthetic trial. Each chart scales to its own pair. Shorter latency and higher write throughput are better. The full forum HTTP trials follow below.

Warm 200-post topic · p95

HYMN + QUARKS28.01 ms
HYMN + SQLite0.24 ms

SQLite leads in this synthetic trial.

Reader reopen to ready · one sample

HYMN + QUARKS367.52 ms
HYMN + SQLite2.89 ms

SQLite leads in this synthetic trial.

Write throughput

HYMN + QUARKS1,237 posts/s
HYMN + SQLite5,482 posts/s

The common commit contract is still pending.

64-connection search

  • Recorded errors61
  • Other attempts3

64 attempts against current Horizon. The scope differed from the prototype search.

At full forum scale

Loopback HTTP, median latency. Bars use a log scale from 0.01 ms to 35 s. Shorter is faster.

Forum page

1 concurrent request
Current Horizon511.07 ms
Event-journal prototype (Go)62.0 µs
vBulletin 6.2.2Pending

Forum page

64 concurrent requests
Current Horizon13.41 s
Event-journal prototype (Go)0.16 ms
vBulletin 6.2.2Pending

Thread page

1 concurrent request
Current Horizon0.54 ms
Event-journal prototype (Go)88.0 µs
vBulletin 6.2.2Pending

Thread page

64 concurrent requests
Current Horizon4.79 ms
Event-journal prototype (Go)0.14 ms
vBulletin 6.2.2Pending

Search

1 concurrent request
Current Horizon1.16 s
Event-journal prototype (Go)6.43 ms
vBulletin 6.2.2Pending

Search

64 concurrent requests
Current Horizon61 of 64 errors · 30 s client limit
Event-journal prototype (Go)50.43 ms
vBulletin 6.2.2Pending

Page parity. In the original trial, 120 sampled forum and thread pages returned the same IDs in the same order. The event-journal prototype served smaller pages. The thread response was about 2.4 KB versus 140 KB.

Memory. The event-journal prototype held every page and index in memory: 1.5 GB resident, against 0.2 GB for current Horizon (which leans on the operating system’s file cache instead). Speed here costs memory.

Durable writes (lab only). The event-journal prototype’s group-commit arm acknowledged a single writer in 2.86 ms at the median. At 64 connections, median acknowledgment was 7.68 ms and throughput was 8,080 replies per second using lab group commit: several replies share one disk sync, and each is answered only after that sync. Group commit stays off in the product until it is measured on the canonical writer. An independent replay check at the saved journal boundary matched all 230 sampled pages byte-for-byte.

Search scope. Current Horizon searched titles and people as well as post text. The prototype searched post text only, so search is not yet equal work. The 64-connection Horizon run recorded 61 errors among 64 attempts.

Indexed reads in process

Compatibility prototype · 100,000 replies, 2,000 topics, 102,000 total posts

Warm reads at 100k repliesp50p95p99
Feed + JSON9.71 µs11.10 µs31.74 µs
Search + JSON9.51 µs18.18 µs30.18 µs
Thread + JSON33.63 µs50.82 µs137.23 µs

The same harness measured 0.923 ms median acknowledgment for 10,000 individually synced writes and 105 ms to reopen and replay. The builder reported 65.5% fewer journal bytes in a separate 2,000-reply test; the underlying run is not included in these downloads.

Native HYMN storage

10,000 posts per backend per run · 500 topics · p95, median of three runs. Same ordered payload on every path.

Native storageHYMN + QUARKS, first runHYMN + QUARKS with the read fixHYMN + SQLite
Warm 20-post topic15.24 ms25.1 µs47.2 µs
Verified reopen5.84 s776 ms7.66 ms
Durable post12.15 ms13.31 ms †3.26–3.73 ms *

What changed. The measured read projection validates the records and prepares a reusable view. If the saved projection is missing or does not match, the system rebuilds it. This is a lab result, not a claim about the installed product. In the separate 10,000-post retry, a warm 20-post topic went from 12.32 ms with direct decoding to 25.1 µs with the resident view, versus SQLite’s 47.2 µs.

Where QUARKS still loses. Reopening still replays every saved frame (776 ms against SQLite’s 7.66 ms), and the measured QUARKS durable writes also took longer than SQLite’s. A proposed shared record format aims to improve both; those improvements are not yet qualified. First-run figures and SQLite’s durable post come from the first three paired runs; the read-fix column, SQLite reads and reopen come from the retry. † marks the separate 600-post QUARKS writer trial; * marks the range across the first three SQLite p95 values. The source results are linked below. The first-run baseline and retry are separate experiments.

Native comparison at 100,000 posts

One paired synthetic trial · 500 topics · 200-post reads · separate from the 10,000-post retry

MeasurementHYMN + QUARKSHYMN + SQLite
Warm 200-post topic · p9528.01 ms0.24 ms
Reader reopen to ready · one sample367.52 ms2.89 ms
Write throughput1,237 posts/s5,482 posts/s

This trial measures different workload and projection choices. SQLite led these measured rows; a common commit contract remains pending, and the smaller resident-view read result above is not a general speed claim.

How we measured

Full-scale HTTP

The 64-connection search row includes 61 errors and a 30-second client limit; individual error types were not retained, so the limit is not shown as a successful latency. In the HTTP CSV, quarks-prototype-base is the former hits arm, including its reads and original writes; quarks-prototype-groupcommit is the former hitsr01 group-commit arm. The unmodified original labels remain available below. Both arms started with the same seeded corpus on one 32-logical-CPU x86-64 host. The Go HTTP driver reused URL lists across both loopback servers, with a 3-second warm-up and a nominal 15-second read window. The initial SQLite store was approximately 1.5 GB and the event journal 462 MB. The CSV records p50, p90, p99, and errors. The driver did not retain p95. Request counts include errors. The event-journal arm used prebuilt pages and an in-memory search index. During a continuous mixed read and write run, the event-journal prototype managed about 3,395 read attempts per second. Browser rendering, public network latency, and a vBulletin 6.2.2 arm were outside these runs.

Go compatibility lab

Deterministic synthetic benchmark comparing a warm, memory-resident projection with a Go scan. The AMD EPYC 9V74 container had a four-core quota, overlay filesystem, and GOMAXPROCS=5. The separate durability run synchronized each event and the commit head before acknowledging it. Throughput in these rows is calculated from mean operation time. The source records p50, p95, and p99.

Native HYMN storage

Intel Core i9-14900, one pinned logical CPU, ext4 on NVMe. Both paths evaluated the same compiled HYMN admission rules and wrote the same bytes. QUARKS used Story’s compact frames and filesystem commit protocol. SQLite used one fully synchronous WAL commit per post. Both paths verified the ordered payload digest after reopening, with the ordinary Linux file cache in place.

Download the results

Per-run values and available percentiles. Empty cells indicate a measurement that was unavailable.