ARCHITECTURE / INSIDE THUNDER

Every key.
A direct route.

Your client sends each request directly to its owning reactor.

Each reactor has its own memory arena, shard range, and port. Writes reach disk before confirmation.

Self-hosted. Built in Rust.

1,024 logical shards4-REACTOR EXAMPLE
A key mapped to its owning reactorEach dot is one logical shard. Four reactors each own 256 consecutive shards in this example. The orange region is Reactor 3, which owns shards 768 through 1023. The white dot highlights shard 949, selected by the example key.
Reactor 00–255
Reactor 1256–511
Reactor 2512–767
Reactor 3768–1023

MEMORY

A SET needs two copies.

Size each reactor’s arena for the value, its working copy, and concurrent requests. A complete payload stays under one key.

DOCUMENTED ARENA SETTING4 GiB per reactor
EXAMPLE VALUE512 MiB
Value
512 MiB
Working copy
512 MiB
Other workCache + concurrent requests
3 GiB

For 512 MiB values, use a 4 GiB arena per reactor. Arenas are resident from boot; allow additional process headroom.

Memory sizing guide

DURABILITY

Confirmation follows persistence.

Thunder confirms a write only after its journal record reaches disk. Acknowledged writes survive a crash or power cut.

ONE ACKNOWLEDGED WRITE
YOUR APPLICATION
SETkey + value

Send the write to its owner.

OWNING REACTORDurable journal

EARLIER RECORDS

Your writeJournal record

Flushed to disk.
Now it can be acknowledged.

BACK TO YOUR APPLICATION
Write confirmed.

The journal record is already on disk.

Sequence schematic; timing is not to scale.

AFTER A RESTART

Recovery completes before Thunder accepts connections.

The durability contract

Deployment details

Operations guide

CPU topology

Each reactor group uses two hardware threads: one for the foreground reactor, another shared by background workers. Thunder derives the allocation from usable CPU topology and quota.

CPU allocation

Resident memory

Defaults are 4 GiB with one reactor, or 2 GiB per reactor with two or more. For 512 MiB values, use 4 GiB per reactor plus process headroom.

Plan capacity

Topology changes

Stop cleanly before changing the CPU allocation. If recovery is needed, restart with the previous reactor count and complete recovery first.

Recovery guidance

Encryption

TLS 1.3 protects the connection. Every stored value is encrypted at rest.

Security details

PUBLISHED BENCHMARK

Measure with durability on.

Compare latency with the same acknowledgement rule. In this run, both servers flushed to disk before confirming, over TLS 1.3 on the same VM.

Results and methodology
p99 write latency64 MiB values · 8 connections
Thunderstrike655 ms
Redis 7.0.152,929 ms

Lower is better. Redis: appendfsync always.

Measured November 15, 2026. One short run per configuration on one VM. Redis had lower p99 for 256 B and 4 KiB values. Results depend on payload, concurrency, and hardware.

GET STARTED

Run Thunder on your hardware.

Follow the Docker setup, then connect an official client.

Get started with Thunder