67 min listen
Speed Up Your Rails App by Lazy Loading Your N+1 Queries - RUBY 554
FromRuby Rogues
ratings:
Length:
39 minutes
Released:
Jul 13, 2022
Format:
Podcast episode
Description
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 cases
ActiveRecord methodology
Developing new features quickly
Various tools and ideas
The fulfill method
Alternative stacks
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
Released:
Jul 13, 2022
Format:
Podcast episode
Titles in the series (100)
Episode 9: 009 RR What Makes Beautiful Code: Panelists Avdi Grimm (twitter github blog book) Charles Max Wood (twitter github Teach Me To Code Rails Summer Camp) James Edward Gray II (blog twitter github) Josh Susser (twitter github blog) Peter Cooper (site twitter github The Ruby Sho. by Ruby Rogues