~/talk

Validation in an eventually consistent world

Talkat UtahJS Conf 2017 · on Wednesday, 2017-09-27· [microservices, web-platform]
slides:none on file

Event-sourced microservice architecture uses an event stream as authoritative state, read-model projections, and aggregators that write those projections; validation choices are concrete tradeoffs. For unique emails: accept eventual-consistency checks if collisions in a 100 milliseconds window are unlikely, enforce a unique constraint on read model and let the aggregator fail/flag duplicates, or keep service-local state (Redis) to reject on write. For orders, fulfillment is multi‑phase against the warehouse system of record; payments move to background services, not inline.

AI-written summary · about

  1. 0:00Context of microservices
  2. 2:50Defining services and state
  3. 5:39System components and flow
  4. 8:50Registration validation
  5. 17:46Order fulfillment logic
  6. 21:32Payment and final thoughts
~/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.