Skip to content

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 pipelineJob pipeline

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 platformData platform

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 shopEvent-driven shop

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 platformMulti-region platform

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 processingOrder processing

Order processing

A web app posts an order to the API, which queues it for workers that write it to the orders database.