DEV Community

Ruby Rogues

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

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


Links


Picks

Episode source