~/talk

"ACID's extasy"

Talkat RubyConfBY 2018 · on Saturday, 2018-04-21· [ruby, software-architecture]
slides:none on file

Service objects wrap business actions and guarantee rollback to a predictable state by using database transactions and the Rails option requires_new: true for nested calls; after-commit work is deferred via a pub/sub pattern implemented with the whisper gem and an around_action that collects callbacks, avoiding enqueuing jobs inside uncommitted transactions. For external APIs the system plans compensating requests and relies on idempotency keys; prefers explicit success/error flows over blind callbacks.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:28Data inconsistency pitfalls
  3. 3:00Service objects and business logic
  4. 5:12Service objects core principles
  5. 7:24Database transactions basics
  6. 8:28ACID properties explained
  7. 9:54Nested transactions
  8. 11:21Error reporting in transactions
  9. 13:53Safe zones and pub/sub
  10. 14:13Background jobs and isolation
  11. 16:48Handling job failures
  12. 17:29External API calls and compensation
  13. 21:47Recap and data consistency
  14. 22:29Exceptions vs flow control
  15. 22:52Q&A session
~/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.