RAIN

Independent servers · One record · Trust

A record no single keeper can quietly change.

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.

countycourtclinicuniversitystatecitylibraryschoolarchive Fig. 1 — Independent servers agreeing on one record. Schematic.

Fig. 1 — the architecture

Redundant Array of Independent Nodes

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.

Leader server
None
Servers needed
n = 5f+1
Matching answers to trust a fact
f + 1
Built
HES-SO Valais-Wallis, 2023–2026
Status
In development

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.

Resilience

Reliable from faulty parts.

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

No leader to capture.

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

Security protects the provider. Trust protects you from the provider.

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.

Against the cloud
A data center is one owner, one place to subpoena or breach, and one account of what happened. RAIN's record is held whole by several independent servers, and no one of them has the final word.
Against a log kept by one operator
Whoever keeps the only copy of a log can edit it, and nobody can prove what it said yesterday. RAIN's servers agree on every entry, in order, so an entry rewritten on one server stands out against the rest.
Against public blockchains
A public chain lets anyone join, so it pays for safety with mining or staked money, and it moves slowly. RAIN runs on a fixed, known set of servers chosen by the institutions that use it. No mining, no token.

What it's for

Infrastructure first.
Applications on top.

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.

The film · 4 min

What Comes After the Clouds

Go to the film
An adobe town in the high desert at dusk, under a gathering storm. A wordless film · New Mexico, across its erasWatch →

From a message carried on horseback to the cloud that feeds on everything we leave in it — and the rain that brings it home. The full story, stills from the film, and the film itself live on the film page.

Reading

The research, and the argument.

Paper · 2026

Fast Byzantine Total Order Broadcast

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.

Read the paper

Paper · 2024

Chop Chop: Byzantine Atomic Broadcast to the Network Limit

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.

Read the paper

Thesis · 2024

Planetary-Scale Byzantine Fault Tolerance

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.

Read the thesis

Where the idea started · 2017

RAIN: A Bio-Inspired Communication and Data Storage Infrastructure

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.

Read the 2017 paper

Matteo Monti — selected research in Byzantine fault tolerance

  1. Guerraoui, R., Kuznetsov, P., Monti, M., Pavlović, M. & Seredinschi, D.-A. (2018). AT2: Asynchronous trustworthy transfers. arXiv
  2. Guerraoui, R., Kuznetsov, P., Monti, M., Pavlović, M. & Seredinschi, D.-A. (2019). The consensus number of a cryptocurrency. PODC '19, 307–316. doi · extended in Distributed Computing (2021) doi
  3. Guerraoui, R., Kuznetsov, P., Monti, M., Pavlović, M. & Seredinschi, D.-A. (2019). Scalable Byzantine reliable broadcast. DISC 2019. doi
  4. Collins, D., Guerraoui, R., Komatovic, J., Kuznetsov, P., Monti, M., Pavlović, M., Pignolet, Y.-A., Seredinschi, D.-A., Tonkikh, A. & Xygkis, A. (2020). Online payments by merely broadcasting messages. DSN 2020, 26–38. doi
  5. Camaioni, M., Guerraoui, R., Monti, M. & Vidigueira, M. (2022). Oracular Byzantine reliable broadcast. DISC 2022. doi
  6. Civit, P., Gilbert, S., Guerraoui, R., Komatovic, J., Monti, M. & Vidigueira, M. (2023). Every bit counts in consensus. DISC 2023. doi
  7. Camaioni, M., Guerraoui, R., Komatovic, J., Monti, M., Roman, P.-L., Vidigueira, M. & Voron, G. (2025). Carbon: Scaling trusted payments with untrusted machines. IEEE Trans. Dependable Secure Comput., 1168–1180. doi

Cited in the 2017 paper, and the lineage behind it

  1. Reed, I. S. & Solomon, G. (1960). Polynomial codes over certain finite fields. J. SIAM 8, 300–304. doi
  2. Merkle, R. C. (1988). A digital signature based on a conventional encryption function. CRYPTO '87. doi
  3. Dziembowski, S., Faust, S., Kolmogorov, V. & Pietrzak, K. (2015). Proofs of space. CRYPTO 2015, 585–605. doi
  4. Miller, A., Hicks, M., Katz, J. & Shi, E. (2014). Authenticated data structures, generically. POPL '14, 411–423. doi
  5. Nakamoto, S. (2008). Bitcoin: A peer-to-peer electronic cash system. pdf
  6. Wilkinson, S. et al. (2016). Storj — a peer-to-peer cloud storage network. pdf
  7. Rasmussen, S. (2016). The BINC manifesto: Technology driven societal change, science policy & stakeholder engagement. Proc. ALife 2016, 54–55. MIT Press. doi
  8. Monti, M., Hutton, T. J. & Hut, P. (2015). Achieving closure in enzymes in artificial chemistries. Proc. ECAL 2015. MIT Press. doi
  9. Bedau, M. A., McCaskill, J. S., Packard, N. H. & Rasmussen, S. (2010). Living technology: Exploiting life's principles in technology. Artificial Life 16(1), 89–97. doi

People

Who is behind RAIN

Get involved

RAIN runs on servers chosen by the institutions that use it.

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.

  1. 1Name the record that has to be trusted, and who needs to trust it.
  2. 2Choose who keeps a copy: offices, courts and partners who would not cheat together.
  3. 3Size it to the risk. Six servers tolerate one faulty server; eleven tolerate two.
Write to us