
Speed Up Your Rails App by Lazy Loading Your N+1 Queries - RUBY 554
Miiss Dosso Mariama
Description
<div> <div>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.<br><br> </div><div>In this episode…<br><br> </div><ol> <li>N+1 queries and cases</li> <li>ActiveRecord methodology</li> <li>Developing new features quickly</li> <li>Various tools and ideas</li> <li>The fulfill method</li> <li>Alternative stacks</li> <li>Ruby Tik-Tok</li> </ol><div><br></div><h1>Sponsors</h1><ul> <li><a href="https://avohq.io/" rel="nofollow">Avo</a></li> <li><a href="https://topenddevs.com/" rel="nofollow">Top End Devs</a></li> <li><a href="https://topenddevs.com/coaching" rel="nofollow">Coaching | Top End Devs</a></li> </ul><div><br></div><h1>Links</h1><ul> <li><a href="https://www.linkedin.com/in/evgeniy-demin/" rel="nofollow">LinkedIn: Evgeniy Demin</a></li> <li><a href="https://github.com/djezzzl/n1_loader" rel="nofollow">GitHub - djezzzl/n1_loader: Loader to solve N+1 issues for good. Highly recommended for GraphQL API.</a></li> <li><a href="https://github.com/DmitryTsepelev/ar_lazy_preload" rel="nofollow">GitHub - DmitryTsepelev/ar_lazy_preload: Lazy loading associations for the ActiveRecord models</a></li> <li><a href="https://github.com/salsify/goldiloader" rel="nofollow">GitHub - salsify/goldiloader: Just the right amount of Rails eager loading</a></li> <li><a href="https://www.reddit.com/r/ruby/comments/sa5giw/n1_problem_will_never_be_an_issue_with_n1loader/" rel="nofollow">N+1 problem will never be an issue with N1Loader gem</a></li> <li><a href="https://www.reddit.com/r/rails/comments/ut9yo9/enhanced_activerecord_preloading/" rel="nofollow">Enhanced ActiveRecord preloading</a></li> </ul><div><br></div><h1>Picks</h1><