Node architecture
A node is one institution’s Harmoniomics: one database and the services in front of it. This page covers where it runs, what is inside it, and how an institution and its departments are organised in it.
Where it is hosted
Every institution has a node of its own, with its own database, encryption key and backups. Institutions never share a database, so keeping them apart does not depend on every query remembering a filter. The same software runs in two places:
- Hosted, in a commercial cloud. The node is run for you. It is quick to start, with backups and patching managed. The cloud provider is a third party with access to the infrastructure; keys held outside the provider and contracts that fix the region limit what that means.
- On your own premises. Your data centre, a university’s or a hospital’s, or a provider you choose. A node is one modest server: Postgres and one container, behind your own TLS proxy and firewall. You hold the keys, and someone on your side, or the company under your access rules, operates it.
Most programmes will mix the two. Moving an institution from one to the other, or out of the programme, is moving one database: its event log is the complete record, and everything else can be rebuilt from it.
What leaves your institution
| Data | Where it lives | Seen outside your institution |
|---|---|---|
| Genomic files (FASTQ, BAM, CRAM, VCF) | Your own storage | Never: the node records only where each file is and its checksum |
| Who a person is | Your LIMS or health record system | Never: the node sees pseudonyms |
| Records, lineage and facets | Your node’s database | Hosted, by the company that runs it for you; by nobody else |
| Backups | Encrypted, where the node is hosted | Never |
| The concept library | In each release | The same on every node |
Inside a node
Every write, from any interface, is first an event in an append-only log, carrying when it happened in the lab and when it was recorded. The lineage graph, the facets and the concept mappings are built from that log in the same step, and can be rebuilt from it at any time. Nothing is updated or deleted.
Your systems reach the node through the interface that suits them: a REST API (also taking batches and CSV or TSV manifests), read-only GraphQL, an MCP server for AI agents, or the command line. The node’s web interface reads and writes through the same REST API, each request with the one role it needs. The event relay pushes every new event to your own systems, so a results service or a dashboard can follow along.
How big a server
Measured in October 2026 on Postgres limited to 2 CPUs and 4 GB of memory, at a million facets: about 1,550 facets written per second per loader; a page of values found by concept in about 1 ms, still at 9 million values; and the whole node rebuilt from its log at about 4,500 events per second. A sequencing centre’s node fits on one modest server.
The institution and its departments
A node serves one institution. Its departments, such as the sequencing core, the clinical laboratory or a research group, are the node’s namespaces, and every record belongs to exactly one. A record’s name says which:
harmoniomics:// acme-genomics institution The node’s institution/ core-lab department Where the record belongs, and who may see it/ specimen record type One of the fourteen/ SPEC-0042-P local ID What your LIMS already calls it
- Departments are declared by an administrator, with their names in Portuguese, Spanish and English. A retired department keeps its records and history; nothing new is written in it.
- Each system’s token belongs to departments. A request acts for one of them, and what it writes is that department’s. It may link its own records to another department’s that it can see, such as its specimen to their subject, but never write the other department’s records.
_orgis the institution’s own namespace. A facet schema registered there, such as the export format of a LIMS every department uses, is seen by every department.
Grants between departments
Nothing of one department is visible to another until the owner grants it. A grant gives either aggregates (the right to count the owner’s records) or records (also to read them). It has a reason, may expire, is revoked by a new event, and is kept in the log like everything else.
What a department cannot see is never counted as “no”. A lineage stops at the boundary of what may be seen, and a question that would need to cross it says which departments’ grants it would need.
People sign in with your institution’s own accounts and hold roles per department; machines hold tokens. Where the data is about people, patient data is encrypted under each person’s own key, withheld from every read, and shown only on request, with every read audited. Privacy and security explains each part.