Examples¶
Each example is built from its diagram.yml when the docs are built. The embedded player is the same self-contained
HTML page that diagr build writes.
Job pipeline¶
The API admits jobs into a fair backlog. A dispatcher releases them to the jobs queue, where workers pick them up; jobs that keep failing move to a dead-letter queue and can be redriven.
Data platform¶
Three source feeds are ingested, validated and merged into a lakehouse, where a batch engine cleans and curates the data through bronze, silver and gold zones before a warehouse serves it to dashboards and an API. Four scenarios: the nightly batch, a bad record, a self-serve query and a backfill.
Event-driven shop¶
Phone and web clients call one gateway. The orders service stores each order and publishes an event, and three consumers react to it on their own: stock, search and notifications.
Multi-region platform¶
A global load balancer sends traffic to region A, with region B on standby. Each region runs a cluster of services and its own database, kept in sync by replication. Three scenarios: a checkout request, a region failover and a rolling deploy.
Order processing¶
A web app posts an order to the API, which queues it for workers that write it to the orders database.