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
Made with Slides.com