3 ms·
I'm sorry, but this is complete nonsense. Rails is a framework for building web applications. Erlang is a programming language optimized for distributed compu
by dasil003 18y ago
I'm sorry, but this is complete nonsense. Rails is a framework for building web applications. Erlang is a programming language optimized for distributed computing.
Rails doesn't have any inherent scalability problems. It uses a share-nothing architecture which will scale just fine. It's true that Ruby (the language that Rails is written in) is slow and presents some additional challenges to scaling (green threads, memory leakiness), but ultimately the burden of scaling rests on the architecture. If Ruby were 100 times faster it would be a very fast language indeed, but that still wouldn't make scaling easy. 100x is nothing when you're trying to go from 10 req/s to 1,000,000 req/s.
As to your second part about scaling not being a big issue if you think about it up front, that is also a load of crap. Yes, don't do stupid things, but once all the obvious optimizations are gone you will usually be surprised by where the bottlenecks are. Most applications won't ever get to that size that scalability becomes seriously difficult, but then they certainly won't have a problem with Rails either.