4 ms·
This is certainly true when you have to scale at some high level, but I think that level is a lot higher than most people realize. I worked at yellowpages.com f
by jshen 15y ago
This is certainly true when you have to scale at some high level, but I think that level is a lot higher than most people realize. I worked at yellowpages.com for a while and we were serving a large amount of traffic (the local ads on bing are from yellowpages) with native ruby. The JVM may have been a better option at that scale, but the vast majority of sites won't reach that scale. And ruby handled it just fine. The actual search logic was run on the JVM though.
- cageface 15y agoSure, but the point is that the JVM makes you pay that memory cost up-front, so it looks a lot more resource-heavy than it really is, whereas the scaling cost of things like PHP and Ruby is back-loaded. People worry about scaling too much in general, IMO, but you'll actually get more mileage out of your hardware with something Clojure or Scala than you will with Python/PHP/Ruby/Perl.