One binary. One database. One file of settings.
Tillwire runs on any host with a disk, a port, environment variables and an S3-compatible bucket. The shape is small on purpose, so a shop is easy to run, copy and restore.
Four parts. Nothing else to tend.
theme/One theme folder
- Checked against the contract at start
engineOne Go binary
- Shop, checkout, payments, couriers,
/admin - Mail, webhooks and jobs in workers
- A container image is built from it
engine.dbOne SQLite database
- In WAL mode, in the data folder
- Only the engine reads or writes it
Settings in a file. Secrets never.
One configuration file holds the store’s settings. Each secret is only a pointer to the environment or to a file, so the file is safe to keep in git.
An excerpt with keys from the integration guide. The engine checks every key at start.
store: base_url: https://yourshop.example environment: test api: rate_per_min: 60 # per token events_days: 30 webhooks: max_endpoints: 20 log_days: 30 secrets: link_key: { env: LINK_KEY } # never the value
Backed up while it runs.
Litestream copies the database to the bucket without a pause. Documents and images go to the bucket too.
- All the timeLitestream copies each change of the database to the bucket.
- At start on a new hostThe engine restores the store from the bucket.
- Every weekA restore drill proves that the copy works.
- Before a deployA check of the outside services the store uses.
- After a deploy
check-deploy, and/healthzfor uptime monitors.
What one engine carries.
One engine on 8 cores, under the load of a large store with many locations: shoppers across the shop, and a stock feed from the stores at the same time.
at the engine’s own limit: the highest load step that passed. At that load, 95 of 100 product pages came in 29 ms or less, and 0.00 % of requests were refused.
from 300 locations, each one applied, with the shop load held at 70 % of that limit (147 requests a second).
for 95 of 100 checkouts while the stock feed ran. At most 12 of 363,892 shop requests were refused.
Measured on 26 November 2026 on the main branch (commit 832be75c2): one dedicated cloud server with 16 cores, the engine on 8 of them and the load tool on the same server. A test store of invented data: 300 stock locations, 20,000 products with a level at each location, and 100,000 orders. No CDN in front. “p95” means that 95 of 100 requests were as fast or faster.
How a store grows.
Today one engine runs one store. When a store grows, take these steps in this order.
- Today
A CDN in front
Public pages are sent with cache headers. A CDN that keeps most public pages at the edge sends the engine only the pages it cannot keep, such as the cart and the checkout.
- Today
A larger server
A restart of minutes on most hosts. More cores help, but less than their count. A test on 16 cores comes later.
- Future project
Several engines for one store
Read-only engines on a copy of the database, behind a load balancer, for the public pages, with shared rate limits and shared images. Today one engine runs one store; this change is a future project, not yet scheduled.
- Only if needed
Another database
Postgres through the engine’s repository port, only if one server cannot take the writes.
Calm when it is busy.
Admission control
Under load the engine limits how much work it takes in at once.
Graceful restarts
A stop drains the requests in flight before the engine ends.
Cache headers
gzip, and cache headers for pages that are the same for every visitor. Edge cache purge on catalogue changes is a store setting.
The rules of this shape.
One engine runs one shop on one data folder. That is what keeps it simple, and it has rules.
Never run two engines on one data folder or one backup prefix.
No network file system for the data folder.
No autoscaling and no rolling deploys.
Never copy engine.db while the engine runs. For a copy, use the restore.
Source: docs/INTEGRATING.md and the deployment guide on main, 18 November 2026.