Ruby can serve 27k req/sec. Why do I need 48-cores for my 80 req/sec Rails app?
x.com
x.com
Personally having worked with Rails, it was great in the early days, now its mired in tech debt and my-way-or-build-it-yourself mentality such that I havent touched it with my disposable 10 foot pole in 7+ years.
The short answer, is flavor and fashion over effectiveness; a strong rebellion against high performance languages who require a deeper understanding than simple copypasta.
/2c
Naïve Active Record objects - that is, hydrating rather than explicitly plucking. AR is horribly slow when it constructs db objects.
Streaming and recreating hash objects over and over and over again in for-loops. For a primary construct, it’s surprisingly slow to work with.