Integrity
No quiet edits.
Every server applies the same changes in the same order. A server that alters its own copy stops matching the others, and a reader who compares answers sees the mismatch.
Independent servers · One record · Trust
RAIN lets a group of independent servers keep one record together. Every server holds all of it, they agree on every change in the same order, and the record stays correct even when some of them fail or lie. No one server, and no one company, has the last word on what happened.
Fig. 1 — the architecture
Illustration only: server count and links are schematic. RAIN's rule is n = 5f+1, so six servers tolerate one faulty server and eleven tolerate two.
A play on RAID, at the scale of institutions. RAIN is Byzantine fault tolerant state machine replication. Each server runs the same program on the same requests, in one order that all the honest servers agree on, so each ends up holding an identical copy of the record. "Byzantine" means a server may do worse than crash: it may lie. The ordering is leaderless, so there is no head server for an attacker to capture. A reader trusts an answer once f+1 different servers give the same one, because at least one of them must be honest.
To change the record, more than f of the servers have to cheat together. When those servers are run by parties who would never collude, that takes a conspiracy among people who do not trust each other.
Integrity
Every server applies the same changes in the same order. A server that alters its own copy stops matching the others, and a reader who compares answers sees the mismatch.
Resilience
Matteo Monti's research asks how reliable systems can be built from simple components that fail. RAIN keeps the record correct while some of its servers are down, broken, or dishonest.
Ownership
Many systems that keep a shared log elect one server to set the order, and whoever controls it steers the log. In RAIN every honest server takes part in ordering, and none of them is in charge.
The doctrine
Every cloud sells security: firewalls, audits, certifications. All of it defends the company that holds the record. RAIN is built so that no single operator can rewrite the record, or decide alone what it says. Trust is not a policy here. It is the architecture.
The question goes back to a 2017 paper Matteo co-wrote: how to move the power of global trusted third parties back to local citizens, businesses and institutions. Today's RAIN is a different system, written from scratch at HES-SO Valais-Wallis since 2023. The question is the same.
What it's for
RAIN is not a product; it is the ground a product stands on. Applications are written for it under one strict rule: every server must reach exactly the same result from the same requests. None of the uses below runs on RAIN yet. Each says plainly where it stands.
In development
Domus-Lux is building Watershed, a custody layer that writes a receipt every time someone opens, edits or releases a record, and it is designed to use RAIN as the place those receipts are kept. The files themselves stay in the office. Planned with New Mexico public offices in mind.
Designed to use RAIN · not yet running on itProposed
The request, every reply, every release and every denial kept in order by independent servers, so the record of who asked for what, and when, outlives the office that answered.
ProposedProposed
A fingerprint of every scanned deed, minute book and record, kept on a record no single vendor controls. The archive stays where it is. Any later change to a file shows.
ProposedProposed
Police, courts, prosecutors and hospitals working from one record of what was filed, and when, that no single agency can rewrite on its own.
ProposedReading
Paper · 2026
Monti, Camaioni & Roman. PODC '26, 500–511. How servers that may lie agree on one order of messages, quickly. Total-order broadcast is the kind of agreement RAIN is built on.
Paper · 2024
Camaioni, Guerraoui, Monti, Roman, Vidigueira & Voron. OSDI '24. In the paper's geo-distributed test, 64 medium-sized servers ordered more than 43 million messages per second. A research result, not a RAIN benchmark.
Thesis · 2024
Monti, M. Doctoral thesis, EPFL. How machines that do not trust each other still agree, at the scale of a planet. Matteo's doctoral research. RAIN's code was written later, at HES-SO Valais-Wallis.
Where the idea started · 2017
Monti & Rasmussen. Artificial Life 23(4), 552–557. MIT Press. The first statement of the idea and its name. It describes an erasure-coded storage design that today's RAIN does not use. The longer version is SFI Working Paper 2017-07-021.
Matteo Monti — selected research in Byzantine fault tolerance
Cited in the 2017 paper, and the lineage behind it
People



Get involved
It is not open to anyone who wants to join. A RAIN record lives on a fixed, known set of servers, run by parties who would not collude with each other. If your office keeps records that other people need to trust, tell us about them.