EPISODE · Jul 13, 2022 · 39 MIN
Speed Up Your Rails App by Lazy Loading Your N+1 Queries - RUBY 554
from Ruby Rogues · host Charles M Wood
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…N+1 queries and casesActiveRecord methodologyDeveloping new features quicklyVarious tools and ideasThe fulfill methodAlternative stacksRuby Tik-TokSponsorsAvoTop End DevsCoaching | Top End DevsLinksLinkedIn: Evgeniy DeminGitHub - 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 modelsGitHub - salsify/goldiloader: Just the right amount of Rails eager loadingN+1 problem will never be an issue with N1Loader gemEnhanced ActiveRecord preloadingPicksCharles- PODFEST EXPO | Where Your Voice MattersCharles- Legendary: A Marvel Deck Building Game - Guardians of the GalaxyCharles- Vistaprint US Online Printing: Business Cards, Signage & MoreCharles- ProductsCharles - Winco FoodsEvgeniy - ToptalEvgeniy - Telltale GamesLuke- Watch The Lincoln Lawyer | Netflix Official SiteAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/ruby-rogues--6102073/support.
What this episode covers
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…N+1 queries and casesActiveRecord methodologyDeveloping new features quicklyVarious tools and ideasThe fulfill methodAlternative stacksRuby Tik-TokSponsorsAvoTop End DevsCoaching | Top End DevsLinksLinkedIn: Evgeniy DeminGitHub - 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 modelsGitHub - salsify/goldiloader: Just the right amount of Rails eager loadingN+1 problem will never be an issue with N1Loader gemEnhanced ActiveRecord preloadingPicksCharles- PODFEST EXPO | Where Your Voice MattersCharles- Legendary: A Marvel Deck Building Game - Guardians of the GalaxyCharles- Vistaprint US Online Printing: Business Cards, Signage & MoreCharles- ProductsCharles - Winco FoodsEvgeniy - ToptalEvgeniy - Telltale GamesLuke- Watch The Lincoln Lawyer | Netflix Official SiteAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/ruby-rogues--6102073/support.
NOW PLAYING
Speed Up Your Rails App by Lazy Loading Your N+1 Queries - RUBY 554
No transcript for this episode yet
Similar Episodes
May 12, 2026 ·56m
May 10, 2026 ·52m
May 7, 2026 ·96m
May 5, 2026 ·58m
May 3, 2026 ·29m
Apr 26, 2026 ·66m