~/talk

State-machine Driven Payment Flow

Talkat droidcon SF 2019 · 2019-11-18..11-19· [software-architecture, testing]
name:Yisong Wu
links:none on file
links:none on file
slides:none on file

Tinder replaces a legacy payment stack with a state‑machine + DSL implemented in the open source StateMachine library to make purchase flow deterministic, self‑documented and unit‑testable. The system models immutable purchase data, a flow executor, set effects for calling repositories and a rules resolver that runs composable rules for prevalidation and postprocessing. It supports multiple billers via pluggable coordinators, runs in production after years of reuse across features, handles billions of swipes and millions of matches and reports measurable KPI improvements.

AI-written summary · about

  1. 0:00Introduction to payment flow
  2. 3:20Why payment foundation matters
  3. 7:11What is a state machine
  4. 11:53Modeling payment states
  5. 15:23State machine DSL and flow
  6. 21:22State transitions and coordinator
  7. 24:54Supporting multiple payment methods
  8. 27:01Composable rules for validation
  9. 31:44Real-world rule examples
  10. 33:52State machine in other systems
  11. 34:36Outcomes and recommendations
~/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.