Ruby Rogues

Speed Up Your Rails App by Lazy Loading Your N+1 Queries - RUBY 554


Listen Later

Wouldn't it be great if ActiveRecord didn't make you think about eager loading and it just did the "right" thing by default?  Lazy loading is extremely helpful when the list of associations to load is determined dynamically.  Today on the show, Charles and Luke interview Evgeniy Demin, Principal Engineer at Toptal.  They discuss how you can speed up your processes by lazy loading your N+1 queries, plus various tools to optimize your workflows.

In this episode…

  1. N+1 queries and cases
  2. ActiveRecord methodology
  3. Developing new features quickly
  4. Various tools and ideas
  5. The fulfill method
  6. Alternative stacks
  7. Ruby Tik-Tok

Sponsors
  • Avo
  • Top End Devs
  • Coaching | Top End Devs

Links
  • LinkedIn: Evgeniy Demin
  • GitHub - djezzzl/n1_loader: Loader to solve N+1 issues for good. Highly recommended for GraphQL API.
  • GitHub - DmitryTsepelev/ar_lazy_preload: Lazy loading associations for the ActiveRecord models
  • GitHub - salsify/goldiloader: Just the right amount of Rails eager loading
  • N+1 problem will never be an issue with N1Loader gem
  • Enhanced ActiveRecord preloading

Picks
  • Charles- PODFEST EXPO | Where Your Voice Matters
  • Charles- Legendary: A Marvel Deck Building Game - Guardians of the Galaxy
  • Charles- Vistaprint US Online Printing: Business Cards, Signage & More
  • Charles- Products
  • Charles - Winco Foods
  • Evgeniy - Toptal
  • Evgeniy - Telltale Games
  • Luke- Watch The Lincoln Lawyer | Netflix Official Site


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Become a supporter of this podcast: https://www.spreaker.com/podcast/ruby-rogues--6102073/support.
...more
View all episodesView all episodes
Download on the App Store

Ruby RoguesBy Charles M Wood

  • 3.4
  • 3.4
  • 3.4
  • 3.4
  • 3.4

3.4

21 ratings


More shows like Ruby Rogues

View all
Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

272 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

282 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

236 Listeners

iPhreaks by Charles M Wood

iPhreaks

17 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

45 Listeners

The Freelancers' Show by Charles M Wood

The Freelancers' Show

23 Listeners

The Ruby on Rails Podcast by Elise Shaffer

The Ruby on Rails Podcast

53 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

33 Listeners

The Bike Shed by thoughtbot

The Bike Shed

121 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

626 Listeners

React Native Radio by Jamon Holmgren, Robin Heinze, Mazen Chami

React Native Radio

59 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

271 Listeners

My JavaScript Story by Charles M Wood

My JavaScript Story

4 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

61 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

15 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

Remote Ruby by Chris Oliver, Andrew Mason

Remote Ruby

34 Listeners

Maintainable by Robby Russell

Maintainable

32 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

64 Listeners

Code and the Coding Coders who Code it by Drew Bragg

Code and the Coding Coders who Code it

6 Listeners

Rooftop Ruby Podcast by Collin Donnell, Joel Drapper

Rooftop Ruby Podcast

3 Listeners

IndieRails by Jess Brown & Jeremy Smith

IndieRails

5 Listeners

Dead Code by Jared Norman

Dead Code

0 Listeners