News for hackers. Stuff that matters.
Re:Why Ruby on Rails still matters by procaryote on Saturday February 22, 2025 @04:14AM (#43137468)
Lots of API calls scales pretty well, as long as those APIs aren't all hitting the same database. You can do them in parallel. If you really need to you can build a view specific service on the backend to do them in parallel but with shorter round-trips and perhaps shared caches, and then deliver a more curated response to the frontend.

If you just have one single monolithic database, anything clever you do on the other levels just lets you survive until the single monolithic database becomes the bottle-neck, where unexpected load in one endpoint breaks several others.

Re:Why Ruby on Rails still matters by jupp0r on Saturday February 22, 2025 @03:13PM (#43142728)
"you can do them in parallel" - not in Rails.
Re:Why Ruby on Rails still matters by procaryote on Sunday February 23, 2025 @03:43AM (#43147835)
Well, you could do them in parallel from the client to independent endpoints.

But yeah, rails might be a bad match