Full Stack Radio

104: Jonathan Reinink - Pushing More Work to the Database


Listen Later

Topics include:

  • Issues you run into when you do too much work in code instead of in the database
  • Why memory usage is just as important as query count
  • How being smarter with your database usage can let you avoid hard problems like cache invalidation
  • Denormalizing computable data to make it queryable
  • Using "where not exists" strategically to improve query performance
  • Why the solution to n+1 problems isn't always as simple as eager-loading
  • How subqueries work and how you can use them to avoid memory problems when eager-loading

Sponsors:

  • Oh Dear!, sign up with the coupon code "FULLSTACKRADIO" to get 50% off your first month
  • Rollbar, sign up at https://rollbar.com/fullstackradio and install Rollbar in your app to receive a $100 gift card for Open Collective

Links:

  • Refactoring UI
  • "Dynamic relationships in Laravel using subqueries" on Jonathan's blog
  • Source code for Jonathan's Laracon Online talk
  • The benefits of NOT EXISTS on StackOverflow
  • Advanced Eloquent, Jonathan's Laravel package
...more
View all episodesView all episodes
Download on the App Store

Full Stack RadioBy Adam Wathan

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

179 ratings


More shows like Full Stack Radio

View all
BeardyCast: гаджеты и медиакультура by 🧢 Kepka Production

BeardyCast: гаджеты и медиакультура

122 Listeners

The Stories of Mahabharata by Sudipta Bhawmik

The Stories of Mahabharata

872 Listeners

CodeNewbie by CodeNewbie

CodeNewbie

574 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

621 Listeners

The Jordan B. Peterson Podcast by Dr. Jordan B. Peterson

The Jordan B. Peterson Podcast

34,045 Listeners

Up First from NPR by NPR

Up First from NPR

56,176 Listeners

Honestly with Bari Weiss by The Free Press

Honestly with Bari Weiss

8,695 Listeners

The Rest Is Classified by Goalhanger

The Rest Is Classified

969 Listeners