Lunch & Learn
Interactive examples of one architecture question: compose data on every request with GraphQL Federation, or copy it ahead of time with event-driven projections? Both run live, side by side, on Cloudflare. Pick a lesson to run it.
🧩 Federation vs event-driven projections
One domain, three teams: HR owns people, Employment owns jobs, Security owns badges. Every lesson asks both architectures the same thing.
One question, three services
Who is person-001? Watch the router plan the query and fan out, against one local read.
2When a service goes down
Switch a team's service off. One answer goes partial, the other goes stale.
3Write, then read
Create a person in both. Follow the event from outbox to projection, and race it.
4When the bus stops
Stop the broker or the consumer. Writes still succeed; the read side falls behind, then catches up.
5So which one?
Latency, freshness, coupling, failure and complexity, with the numbers you just measured.
6How this runs on Cloudflare
Quarkus, Apollo Router, Kafka and Postgres, and what replaced each.