5 ms·
It is super productive. It will scale for 99% of the apps. There are common gotchas that hurt your performance, mostly related to ActiveRecord/DB layers. Like n
by pawelduda 2y ago
It is super productive. It will scale for 99% of the apps. There are common gotchas that hurt your performance, mostly related to ActiveRecord/DB layers. Like neglecting n+1's or not making sure indexes for actual query paths are in place. You can offload most of overhead to background jobs, caching, etc. You can also throw more money to scale backend servers but it's not the cheapest stack out there.
Also, sorbet/tapioca are great tools for static typing. Admittedly, there's some work to get the proper setup. They have limitations too (don't expect TypeScript levels), but it's worth it. I found a few sneaky bugs that were in the open for years, just by typing one large-ish model (despite it being tested thoroughly).