Symfony and Elasticsearch: debugging and optimizations
summary
A case study of a Symfony application (REST API with >35M requests/day) that started misbehaving: diagnosis of issues and bottlenecks across Symfony framework, Elasticsearch, RabbitMQ, Symfony Serializer and caching using Blackfire. Presents concrete optimizations for API calls to Elasticsearch and performance tuning of the Symfony app, with a final unexpected takeaway aimed at developers and DevOps.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:12Elasticsearch disaster
- 8:12Initial analysis and fixes
- 10:45Debugging with Blackfire and logs
- 13:12Optimizing fields and aggregations
- 16:42Batch and doc values requests
- 19:14Product normalization bottleneck
- 22:27Infrastructure and cluster optimizations
- 26:03Key lessons and tips
- 27:49Q&A
related talks
45mMessy data != Messy code
57mBuilding first-class REST APIs with Symfony
34mWhy PHP and Symfony are still in the game
52mScaling with Symfony2
43mGetting the Most Out of the PHP 7 Engine - The Symfony Example
41mBuilding first-class REST APIs with Symfony
40mDeep dive into Symfony 4 internals
48mBuilding Really Fast Applications
