ZeroLog
Private preview
EN DE

Product

The ZeroLog server now runs on Rust

The web server, the job worker and the admin service of ZeroLog are now Rust programs on PostgreSQL 17; the web app stays JavaScript, and a few parts are not ported yet.

User impact: Important change

Affects everyone: the server behind the web app, background jobs and admin now runs on Rust and PostgreSQL 17. Most things work as before; new Windows VMs start slower and card payment for a single security scan is not available yet. No action needed.

What moved. One Rust program now serves the web app with its chat, content and compute APIs. A second runs background jobs and handles 31 job types natively. Admin, the tunnel gateway and the proxy in front are Rust too. Data moved from SQLite to PostgreSQL 17, where row-level security separates accounts inside the database.

Apps and browserProxyWeb serverPostgreSQL 17Stays JavaScriptTunnel gatewayAdminJob workerweb, Android,desktop, extensionRust since 12 Novno-downtime deploysRust since 29 Novthree APIs insidesince 28 Novrow-level securityweb app andextensions, testsRust since 12 NovSSH, previewsRustRust31 native job types
A request travels left to right. Violet outlines are Rust, grey is unchanged.

What you notice. A release needs no maintenance window, because the proxy switches between two running copies. In a 20-minute test with 91 switches it lost 18 of 1,122,267 requests and duplicated no POST. In a short load test on a shared development machine it answered 1,878 requests per second against Node's 1,176 and peaked at 8.4 MB of memory against 92.5 MB. Its slowest 1% of answers took longer: 314 ms against Node's 199 ms. For the web server we have no comparison yet and claim no speed-up. The switch broke device pairing and several pages until 1 December; that is fixed.

What stays JavaScript. The web app, the browser extensions and the test suite stay JavaScript and TypeScript. Our rule is Rust only where it carries. The Node routes stay in the repository as the reference the Rust endpoints are tested against.

Still open. The reserve of pre-started Windows VMs is not ported, so a new Windows VM starts cold. We measured 213 seconds for that on 2 November. Card payment for a single security scan is missing; scans that are already paid or included can start. 29 routes, 17 of them admin views, are due by 14 December.

No action is needed.

Back to Newsroom