When people talk about Doctrine (or any ORM for that matter), the performance issue always comes up fairly quickly. Besides the fact that Doctrine will help you develop faster, so a little overhead doesn't really matter, there are numerous options to increase the performance of the application.

By understanding how the system works in the first place, a lot of issues can be avoided right away.

When you have done everything to avoid these pitfalls, you can bring in the big guns: caching. Doctrine has different caching mechanism and since Doctrine 2.5 "Second Level Cache" was added to our toolbox. After this talk, you should know what the impact is of every cache and how to use it.

Comments

Comments are closed.

Rated 5

Jo Vandale at 00:35 on 7 Feb 2018

Professional presentation with many great examples.
However a little bit to heavy for me as I'm neither knowing nor using Doctrine :)

Great presentation. Started off with a not-too-deep dive into the inner workings of Doctrine. Based on that knowledge, different strategies for optimization were presented. I was familiar with most of them. The L2 cache stuff was new for me, and it was well explained. Everything was explained with examples, which was really practical. Maybe cut back a bit on the amount of examples in the beginning. I had the feeling they slowed a little bit down. But only in the beginning. Once the examples were re-used to dive deeper into the performance improvements, the pace picked up again.