~/talk

Zero-downtime payment platforms

Talkat RailsConf 2013 · 2013-04-29..05-02· [devops-and-delivery, security]
links:none on file
slides:none on file

Rails 3.2 app on Heroku with Postgres 9.x at peak doing ~$1,000/min uses timeouts (15s) around card charges to save Gateway-Dash-Down- placeholders, a cron every ~10 minutes to retry, and a separate Sinatra chocolate replayer behind Akamai that records raw requests for manual replay. Duplicate-safe replay uses Akamai request IDs, race conditions and Heroku random routing still cause daily spurious failovers, but the system materially keeps customers buying when gateways or Heroku briefly fail.

AI-written summary · about

  1. 0:00Introduction to site uptime
  2. 4:09Manual failover strategies
  3. 8:16Automating payment recovery
  4. 13:52Handling infrastructure failure
  5. 17:10Implementing Chocolate replayer
  6. 21:51Request replaying and dedupe
  7. 26:59Addressing random routing
  8. 30:20Q&A and final conclusions
~/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.