vitrin build log

Fifteen patterns, and why each one earned its place

These are the patterns that shape Vitrin, the trade-offs behind each, and — for the four on ranking — how the ML actually behaves once it's running in production rather than in a notebook.

Reliability & contracts

Fourteen services sharing nothing but events means the event bus and the schema are the only things that can never quietly fail.

Feed architecture

“The feed” is two products wearing one UI — one precomputed to make reads free, one assembled fresh because there's no precomputed order for relevance.

ML in production

A model that scores well offline is a hypothesis. These four patterns are how ml-service turns that hypothesis into something allowed to touch real traffic.

Orchestration & concurrency

How the rest of the system stays coordinated and responsive under load.