gargron please increase the character limit
@s1ide @chjara @tobyink @alfredohno Pretty much. #Rails isn't exactly famous for its amazing performance and even the best #Ruby runtimes like #TruffleRuby propose around 5x performance at best which... just isn't good-enough particularly when Rails itself /doesn't/ get 5x improvement from that.
Scaling wasn't a primary consideration and tacking it back on post-facto is a lot more complicated.
@chjara @s1ide @jaredwhite @alfredohno @tobyink I wonder if #Elixir's superficial resemblance to #Ruby played a role in that.
Superficial because good Elixir (basically, #Erlang & #BeamVM) performance will very much not result from reusing the same kinds of patterns.
@lispi314 @chjara @s1ide @jaredwhite @alfredohno @tobyink Elixir's resemblance to Ruby is not accidental & it's pretty deep IMO. The languages share a lot of values, including developer productivity.
I'd, uh, kinda be surprised if it was *Ruby* causing any Mastodon scaling issues though.
@lispi314 @chjara @s1ide @jaredwhite @alfredohno @tobyink Sure but I'm skeptical of the idea that on-host processing time is a significant factor in application performance at the scale of a Fedi server. Generally it's architecture & esp. data access that gets you.
Every story I've ever heard about how "Rails is slow" that I got more details on later turned out to involve just horrific things with the database or like, a failure to tune something basic.
@nat @chjara @s1ide @jaredwhite @alfredohno @tobyink I couldn't say whether that's not the case here or generally, I have no personal experience with the #Ruby ecosystem and only learned what little I know about it when looking into claims of #Mastodon badly under-performing.
I wouldn't be inclined to dismiss #ORM-related ugliness being responsible for a large part of it.