How to improve performance in Ruby on Rails using the includes method.

Опубликовано: 10 Декабрь 2021
на канале: Scott___S
3,874
210

Example Project: https://github.com/markv12/rails_incl...
Going over everything I've learned trying to improve the performance of my Ruby on Rails apps using the includes method. Executing too many SQL queries is the cause of many Rails performance problems. Includes can help, but it can sometimes be hard to tell why includes isn't working. The Rails SQL cache can sometimes hide what's actually going on and Rails features like scopes and the order query method can make includes not work as expected. I use the Rack mini profiler to diagnose unnecessary SQL queries and discuss ways to get rid of them.


Смотрите видео How to improve performance in Ruby on Rails using the includes method. онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Scott___S 10 Декабрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,874 раз и оно понравилось 210 людям.