~/talk

Re-architecting Your Batch Processing with Domain-Driven Design

TalkinFrenchat Devoxx France 2023 · 2023-04-12..04-14· [software-architecture, microservices]
links:none on file
links:none on file
slides:none on file

How to re-architect batch processing using Domain-Driven Design: replace full scans with incremental, composable computations (using monoids) to approach constant-time updates; define a single domain model shared by batch and interactive paths and wrap it with adapters, repositories and decorators (different caching strategies for long-running batches vs interactive services). Implementations use Spring Batch, Guava or simple maps for caches, AWS/Azure adapters, and microbatching to emit events; outcomes include faster runs, finer restart granularity (e.g., by region/week) and better observability.

AI-written summary · about

  1. 0:00Introduction
  2. 5:24Traditional batch problems
  3. 9:49Code duplication and business languages
  4. 12:40DDD for batch processing
  5. 17:37Adapters and decorators
  6. 22:57Slow batch incremental calculations
  7. 27:08Composability and monoids
  8. 31:05Chunks and business aggregates
  9. 34:56Real-time batch events
  10. 38:09Consistency and streaming
  11. 40:14Conclusion
~/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.