~/talk

Beyond Validates_Presence_of: Ensuring Eventual Consistency

Talkat RailsConf 2017 · 2017-04-25..04-27· [microservices, databases]

Explains why moving billing into background jobs breaks :validates_presence_of and how to handle retries, idempotence, circuit breakers and exponential backoff; shows the concrete choice to store job queue in Postgres so deletes can’t outrun creates; recommends adding timestamps per service call and using saga orchestration, SQL audits or Kafka event streams; compares tradeoffs, failure modes and real remediation scripts and notes which approaches require heavy engineering.

AI-written summary · about

  1. 0:00Start
  2. 3:00Tools for data correctness
  3. 3:16Database constraints and indexes
  4. 13:01Roll Forward
  5. 14:07Transactions
  6. 16:39Add Timestamps
  7. 17:41Code Organization
  8. 28:57Buying a Heroku Add-on
  9. 31:33Event Stream challenges
~/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.