~/talk

CQRS, DDD and GraphQL, a perfect fit?

Talkat NDC Porto 2024 · 2024-10-14..10-18· [microservices, graphql, software-architecture]
slides:none on file

Claims practical architecture: GraphQL maps naturally to CQS (queries→queries, mutations→commands), and a clean DDD layering keeps business logic in aggregates while the GraphQL layer remains thin. Concrete tools and patterns shown include Hot Chocolate, the Nitro registry/IDE, mediator-based handlers, and data loader batching that applies selection expressions to avoid N+1 and push efficient projections into infrastructure. Examples cover mutation patterns with immediate read vs transaction-id + subscription eventual consistency, federated subgraphs (at Netflix scale: 4,000 subgraphs and 6M requests/s) and batched paginated data loaders.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05GraphQL misuse in DB-first
  3. 3:56Enterprise app definition
  4. 5:24Clean architecture
  5. 9:50CQS and GraphQL ops
  6. 14:05DDD aggregates
  7. 16:14App layer queries
  8. 24:44Domain-driven design fundamentals and benefits
  9. 30:03DDD contexts and subgraphs
  10. 33:33Domain events and subs
  11. 37:25DDD adoption challenges
  12. 38:48GraphQL for enterprises
  13. 41:15GraphQL resolver patterns
  14. 46:21GraphQL schema registry
  15. 50:42Schema evolution
  16. 51:47Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.