~/talk

Where we're going... we don't need batch jobs

Talkat NDC London 2023 · 2023-01-23..01-27· [frontend-architecture]
slides:none on file

Argues that recurring batch jobs become unnecessary by modelling future events as persistent timeouts: implement a saga that maintains a single-row sliding week-total and sends a delayed message to subtract each order one week later. Uses durable queuing (Azure Service Bus / SQS tricks, RabbitMQ TTL) plus an outbox pattern to get atomicity. Describes a binary-delay queue technique (28 queues → ~8.5 years max delay), proven workable and testable in production.

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Runtime behavior problems
  3. 5:32Batch jobs fail for rules
  4. 10:23Replace batch with sagas
  5. 22:14Sagas in NServiceBus
  6. 30:01Saga transactionality with outbox
  7. 35:36Batch jobs wrong for reporting
  8. 41:12Learning sagas and stateful handling
  9. 42:57Testing sagas with TDD
  10. 47:31Organizational challenges
  11. 51:13Q&A
~/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.