Services

Iris

The family's one place for pictures and files: bytes kept once, sealed, served through a CDN, edited with filters on the GPU.

Building

Iris

Iris is where every MLambda app keeps its pictures and files. An app keeps a reference (iris:<file>.<seal>), never an address or the bytes. Iris keeps the bytes once in a volume, sealed, and gives the app the link to show, through a CDN where one is configured.

What it does

  • Keeps every file once, sealed, and refuses an upload for stated reasons.
  • Serves links with the right headers and format, and a download service gives the bytes only to whoever may have them.
  • Edits pictures with filters on Tensor, and renders named variants (a thumbnail, a card, a hero).
  • Caches what is asked for, and tells the CDN to forget what a change replaced.

Decided by laws

Who may read or change a file, what an upload is refused for, what an edit may hold, a link’s headers, what the cache drops and what a change purges are each a Shin theory. The service is Samek.