|
|
|
|
|
by ndriscoll
881 days ago
|
|
Doesn't rails not have multithreading? How do you gather requests to batch your database calls? A coworker made similar claims to me about Laravel, but the framework really encourages you to do half a dozen database queries in even a pretty minimal request, and for example implemented bulk inserts as a for loop that did single inserts. If you didn't know better with an access pattern like that, you might think the database is the bottleneck long before it actually should be. Is Rails different? My sense was they are very similar. |
|
Rails has some tooling to help with query bloat: https://guides.rubyonrails.org/active_record_querying.html#e...