Laracon DB
Laracon DB
Talks for "queries"
Eloquent Performance Patterns

The talk focuses on database performance optimization in Laravel applications, specifically around Eloquent queries. Using a demo fishing social media app, the speaker demonstrates common performance pitfalls when working with Eloquent and presents solutions using sub-queries and relationship optimization. The presentation emphasizes the importance of monitoring metrics like memory usage, query count, and model hydration while showing how to avoid N+1 problems and excessive PHP memory usage when dealing with large datasets.