Presentations
Templates
Features
Teams
Docs
Pricing
Log in
Sign up
Log in
Sign up
Menu
Faster App
@tian_im
What is slow?
Rails
GraphQL
Database
IO
Server
All of the above
Identify the problem
Server level
App level
What is slow?
Data query
Data manipulation
Database index
Database schema
All of the above
What is slow?
GraphQL
N+1 queries
All of the above
GraphQL comes with N+1 queries
ActiveRecord Scope Preload/Include
DataLoader
Reuse object for ActiveRecord association
Faster App
By Tianwen Chen
Made with Slides.com
Faster App
53
Tianwen Chen
Developer
tian.im
tian_im
More from
Tianwen Chen