How HSNG delivers personalized e-com w/ Symfony & Magento
summary
Migrated personalization from heavy Magento pages into cachable pieces by building a tiny Symfony app called Cosmic Treadmill that queries the personalization engine and returns product-level ESI fragments cached at the CDN (Akamai). Solved 143 Redis roundtrips and 800 req/min/server peaks that caused ~1s responses and ~500% ops overrun; PHP execution for fragments averages <20ms, end-to-end pages drop below ~200ms, cache invalidation currently ~2–4 minutes. Uses Magento Enterprise, MySQL, Redis, localStorage + AJAX for cart, and achieved near-budget operational costs in production beta.
AI-written summary · about
chapters (15)
- 0:00Introduction and speakers
- 0:46Company background and scope
- 4:20Project background and challenges
- 6:08Technical setup overview
- 11:24Performance issues and costs
- 13:58Can personalization be cached?
- 16:07Using ESI for caching
- 21:44Caching strategy for product listings
- 23:11Introducing Cosmic Treadmill
- 25:43Cache fragment principles
- 27:12Cache invalidation strategy
- 29:22ESI server limitations
- 30:03Performance results and goals
- 33:14Achievements and benefits
- 35:23Conclusion and Q&A
