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
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

290 Listeners

The Laravel Podcast by Taylor Otwell, Matt Stauffer

The Laravel Podcast

58 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

266 Listeners

Laravel News Podcast by Jacob Bennett and Michael Dyrynda

Laravel News Podcast

56 Listeners

The Laracasts Snippet by Jeffrey Way

The Laracasts Snippet

76 Listeners

North Meets South Web Podcast by Jacob Bennett and Michael Dyrynda

North Meets South Web Podcast

24 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

984 Listeners

REWORK by 37signals

REWORK

210 Listeners

No Plans to Merge by Daniel Coulbourne & Caleb Porzio

No Plans to Merge

50 Listeners

Notes On Work - by Caleb Porzio by Caleb Porzio

Notes On Work - by Caleb Porzio

17 Listeners

Hard Fork by The New York Times

Hard Fork

5,475 Listeners

How About Tomorrow? by Adam Elmore & Dax Raad

How About Tomorrow?

20 Listeners

Mostly Technical by Ian Landsman and Aaron Francis

Mostly Technical

26 Listeners

Talking Businessly by Daniel Coulbourne & John Drexler

Talking Businessly

2 Listeners

The Panel by Justin Jackson & Brian Casel

The Panel

4 Listeners