High Performance Political Revolutions
summary
A Rails fundraising platform that handles spikes of 300,000 requests/min and 42 credit-card transactions/sec and still never drops contributions; it runs a 12-year Rails app for 16,600 organizations and uses ActBlue Express tokenization with a dedicated vault, batches settlements to reduce bank posts, and keeps a 97% hit rate via Fastly CDN. Operational tools include NGINX load balancing, Postgres replicas, Redis, statsd-ruby + Graphite for metrics, and Sidekiq queues plus Papertrail logs; the system accepts donations continuously and succeeds in practice.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:48Political Revolutions
- 6:40Optimize What?
- 7:10Process a Contribution
- 11:58Metrics
- 15:09Multiple Servers Cost
- 21:25Caching Control
- 24:11Caching Cost
- 29:01Queueing System
- 30:31Deferred Tasks Cost
- 32:02Scalable Architecture
related talks
37mScaling Rails for Black Friday and Cyber Monday
41mHow Shopify Scales Rails
40mZero-downtime payment platforms
14mDatabase Performance at Scale for RoR Applications
31mHigh performance APIs in Ruby using ActiveRecord and Goliath
40mHow Shopify Scales Rails
48mOn the Edge of Rails Performance
31mA Rails performance guidebook: from 0 to 1B requests/day
