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

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

0 Ratings
0
Episode
581 of 745
Duration
39min
Language
English
Format
Category
Economy & Business

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

SponsorsAvoTop End DevsCoaching | Top End Devs LinksLinkedIn: 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 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.


Listen and read

Step into an infinite world of stories

  • Read and listen as much as you want
  • Over 1 million titles
  • Exclusive titles + Storytel Originals
  • 7 days free trial, then €9.99/month
  • Easy to cancel anytime
Try for free
Details page - Device banner - 894x1036
Cover for Speed Up Your Rails App by Lazy Loading Your N+1 Queries - RUBY 554

Other podcasts you might like ...