Skip to content

RustFS

Module: lake-rustfs. It provides the capability “lakeLake Quality Data's own store, where it keeps the cuts it copies from the sources.” to the modules that need it: the core, Trino and observability.

Where it runs: on the lake’s server, a machine joined with the role lake, which starts its services once approved.

RustFS is open-sourceSource A database the organisation already runs. Quality Data reads it and never writes to it. object storage, written in Rust, that speaks the S3Simple Storage Service Amazon's interface for storing files, which many storage systems (RustFS among them) also offer. protocol. It is the storage of the installation’s data lakeLake Quality Data's own store, where it keeps the cuts it copies from the sources.:

  • the lake’s tables, in Apache Iceberg format: the data copied from the sources (bronze), the data as mapped (silver) and the quality results (gold), with the Iceberg REST catalog that lists them;
  • the technical logs and metrics that Loki and Mimir keep;
  • the audit logAudit trail The record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.’s archive and the rules catalogRules catalog Where Quality Data keeps every dataset's mapping and rules, with their history and the approved version, main.’s backups.
  • The main lake is one server, or a pool of at least four servers whose drives share the data, so it keeps working when a drive or a server fails.
  • The replica is a separate server. The main lakeLake Quality Data's own store, where it keeps the cuts it copies from the sources. copies the installation’s warehouse into it, where each object is kept for 30 days and nobody, not even an administrator, can delete it or shorten that. The main lake keeps old versions of objects for 7 days.
  • The gate is a small proxy in front of RustFS that lets in only connections with a certificate of the installation (see Mutual TLS).
  • The lake admin service of the module answers the core alone: the lake’s health, its warehouses and their replication. From the lake’s root keys it makes and keeps an admin user of its own for that work. The core holds no code of RustFS’s own; another lake module could serve the same protocol.
  • A module’s stores. A module that needs storage of its own gets a bucket in the lake, kept with versions, and a user that reaches that bucket alone, made when the module is added.
  • The console. RustFS’s own web console is reached through the lake’s gate, at /rustfs/console/, and opened from the apps menu as Lake console. People sign in through the core: lake-rustfs:UseConsole reads the lake, and lake-rustfs:Administer administers its storage (Permissions).

The steps to set these up are in Mail, sign-in and updates.

With How
Trino S3Simple Storage Service Amazon's interface for storing files, which many storage systems (RustFS among them) also offer. for the files and Iceberg REST for the tables, through the gate
Loki and Mimir S3Simple Storage Service Amazon's interface for storing files, which many storage systems (RustFS among them) also offer., each in its own bucket
The core The lakeLake Quality Data's own store, where it keeps the cuts it copies from the sources. admin protocol, with mutual TLSTransport Layer Security The encryption that protects data travelling between two systems; with mutual TLS, both sides prove who they are with a certificate. both ways
Short-lived credentials The S3Simple Storage Service Amazon's interface for storing files, which many storage systems (RustFS among them) also offer. security token service: credentials that last minutes, narrowed to what one task needs
People RustFS’s console, opened from the apps menu as Lake console, signed in at the core

On the lakeLake Quality Data's own store, where it keeps the cuts it copies from the sources. servers’ drives. The data is critical, and its backup is the replica: an update of the lake goes ahead only when the replica is in sync and every server is healthy. Removing the module keeps its data; only a purge deletes it, after a backup.

Government Data · Guide v0.8.1