Concepts

Modules and the mesh

How the parts of Velrix find each other, prove who they are and talk directly, with no central control plane.

Velrix is made of modules. Each one owns one part of the platform, such as sign-in, compute, the network or billing, and is a small program in its own rootless container. Together they form the mesh: modules that find each other, check each other and talk directly, with nothing in the middle.

No control plane

There is no central server that every module asks, no orchestrator and no message broker. When a module needs something done, it reaches a module that offers it, directly.

  • Finding each other. Each module announces itself on the realm’s network with a signed statement. Others answer only if the realm key vouches for it.
  • Proving who they are. Every connection checks both ends’ identities, and is encrypted with post-quantum key exchange.
  • Testing each other. A module keeps testing the modules it uses, and prefers the ones that answer correctly and fast. One that fails is routed around at once.

So when one module stops, the rest keep running while it restarts, and you are told. A module with copies on several servers keeps answering from the others.

Capabilities and versions

Modules never name each other. A module offers capabilities (compute, mail, projects) and wants others; each capability has a published, versioned contract. Two modules a minor version apart talk in the older form; a major version apart, they refuse each other by name instead of misunderstanding. This is how a realm updates one module at a time without stopping.

Each module also brings its own screens, translations, settings and documentation. A realm shows exactly what its modules offer: its Docs window has the pages and the API reference of the modules it runs, at their running versions.

Modules that host others

Some modules run their close relatives in the same process, as extensions, to keep a realm light. Each extension still has its own identity, its own data and its own contract.

Host moduleExtensions
Computeapps, machines, jobs, sites, mail, databases, git, domains
Platformlicence, updates, notices, hardware, compliance, support, onboarding, catalogue, OAuth, backups

Choosing modules

You choose which modules a realm runs: a new realm runs the whole product, and a minimal realm leaves most of it out. Modules arrive and are updated through signed releases (Updates); a module that is new to a realm needs the realm key once, so nothing joins the mesh without you.