This content has been automatically translated from Ukrainian.
Practical Optimization Methods
The performance of a Rails application depends on many factors that are important to consider during the development stage.
Using the right indexes in the database can speed up queries by several times.
N+1 queries are one of the most common problems. Use includes(), preload(), and joins() to eliminate them.
Caching is your best friend. Redis allows you to cache both pages and data fragments.
This post doesn't have any additions from the author yet.