Rails Routes and Site Performance

Is there a direct correlation at site speed with the number of namespaces / routes in the routes.rb file of a Rails application?

I am processing a fairly large application with over 30 disparate models / objects, and most of these resources have their own routes.

+3
source share
2 answers

I don’t have a quote ... but DHH recently said that the 37signals Highrise app has thousands of routes, so it can scale routes if you have a box large enough to run your application.

† , , , RailsConf, API- Rails 3.

+1

Source: https://habr.com/ru/post/1753075/


All Articles