Re:Ruby 3.2.0 Is from Another Dimension
by chrischattin on Wednesday January 04, 2023 @06:05AM
(#34244247)
I guarantee the language is not the limiting factor in a web scaling problem.
[ Parent
| on HN ]
Re:Ruby 3.2.0 Is from Another Dimension
by berkes on Wednesday January 04, 2023 @07:29AM
(#34244768)
Not in the vast majority of practical use-cases anyway.
There'll obviously always be the exceptions like Twitter having to migrate off Ruby (Well rails) because scaling is just too hard. But those are exceptions.
And Rails back then was extremely slow. There have always been web frameworks for Ruby with way less overhead.
Re:Ruby 3.2.0 Is from Another Dimension
by scruple on Wednesday January 04, 2023 @10:18AM
(#34246500)
My direct experience with combating scaling issues in Rails applications always comes back to Rails itself. (ab)uses of Active record, specifically. And sometimes they're very hard to detangle. After well over a decade of doing this sort of work I'm simply not interested in seeing yet another Rails mess.
Re:Ruby 3.2.0 Is from Another Dimension
by berkes on Wednesday January 04, 2023 @12:50PM
(#34248895)
I do agree that Rails is often a cause of bad performance.
Not in the first place because of its own, or Ruby's poor performance, but because it's easy to write horrible code, and hard to write nice code in it. AR is a very leaky abstraction over a DB. A horrible query always a mere has_many, sort or default scope away. It's MVC horribly unsuited to manage and isolate business logic. The result often indeed being code that performs terrible.