~/talk

Developing Microservices with Aggregates

Talkat JAX London 2016 · 2016-10-10..10-13· [microservices, software-architecture]
slides:none on file

Argues that DDD aggregates as single-unit boundaries solve microservice decomposition by using IDs instead of object references and limiting transactions to one aggregate; demonstrates an example system (order service, customer service, order-history service) with code on GitHub and an Eventuate-backed event store that persists events and publishes them as the single source of truth; shows a saga workflow for cross-service consistency (order created → customer reserves credit → order approved), covers compensating transactions, CQRS materialized views (MongoDB/Elastic) and practical issues like schema evolution and at-least-once delivery.

AI-written summary · about

  1. 0:00Start
  2. 4:20Microservice architecture
  3. 5:48Domain model = tangled web of classes
  4. 6:56Reliance on ACID transactions to enforce invariants
  5. 10:31Domain Driven Design
  6. 14:40Aggregate rule #2
  7. 17:13Aggregate granularity
  8. 22:18Event-driven architecture
  9. 22:28Use event-driven, eventually consistent order processing
  10. 25:41Complexity of compensating transactions
  11. 35:01Request handling in an event sourced application Order Service
  12. 38:10Benefits of event sourcing
  13. 40:46Drawbacks of event sourcing...
  14. 45:59The Customer aggregate
  15. 48:12Customer Controller
  16. 50:24Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.