Using eager loading in Laravel can improve application performance significantly. Learn how to use eager loading and what eager loading is.
We start with over 4000 queries to load 1000 tickets and take the query count to 6. Not only does the query count reduce, but the memory and load time decrease significantly as well.
This will be an iterative approach to show the power of eager loading your relationships.