Using WordPress as a SaaS (Software-as-a-Service) Platform
summary
OptinMonster migrates from a WordPress plugin to a hosted SaaS built on WordPress and AWS and scales to roughly 17 million API requests per day (about 200 req/s), >7 billion requests total and five million leads in 30 days. Architecture uses EC2 load‑balanced instances, RDS, ElastiCache/Redis and FastCGI Nginx cache with MaxCDN and Pagely, plus Redis + ElastiCache for object cache and job queues. Performance wins include must-use plugin routing to load only needed plugins (API latency drops from ~800ms to ~105–150ms), JSON‑stored opt‑ins bypassing postmeta, WP‑CLI workers and one‑click migrations, and a custom CPT notification system.
AI-written summary · about
chapters (14)
- 0:00Introduction and background
- 2:23The story of pivoting
- 4:31History of OptinMonster
- 10:26Challenges of the migration
- 12:31Scaling and performance
- 15:24Technical implementation
- 19:36Optimizing API requests
- 24:34Infrastructure and tooling
- 26:30Development workflows
- 28:27Support and documentation
- 30:10Notifications and automation
- 31:30The importance of the team
- 33:51Conclusion and reflections
- 34:56Q&A session
