modus

public object cache

modus is a modular operating system, sandboxed by default, in which each module is named by its hash: modus.systems. This host is an object cache of modus. It keeps objects, the blobs and the trees of builds, by their BLAKE3 hash, and realisations: signed records that say which output a recipe gave. A machine that finds the realisation of a recipe here fetches its output and does not build it.

Trust

A client trusts a hash or a signer key, never this host:

Signer keys

This host accepts an upload only when one of these Ed25519 keys signed it. The list is no reason to trust a key: take the key of a publisher from the publisher.

Endpoint

Address
cache.modus.systems:5010
Protocol
The cache protocol as binary frames over TCP: a request starts with MOCQ, an answer with MOCR (object cache)

A plan names this host in its substitution policy:

substitution = {
  sources = ["cache.modus.systems:5010"],
  signers = [keys.publisher], // a key from its publisher
  mode = .Cache_First,
}

No machine of modus reads an object cache over the network yet: the cache protocol over QUIC is on the roadmap. An object cache of your own runs with the tool of modus:

modustool cache-serve --dir <folder> --listen 0.0.0.0:5010 --authorized-key <public key file> --status-listen 127.0.0.1:5011

Store

Objects
158
Realisations
1
Stored
27.4 MiB
Free on the disk
278.9 GiB
Last write
Running since

status.json gives these facts as a record.

Last realisations

RecipeOutputKindWritten
e43cdb437d27…93de1a935ebd…tree