There are many differences between the two models. Regarding performance, my opinion on Java and RoR is:
1, a Java-based website (running on multiple Java application servers) has its own unique advantages, such as a multi-threaded model (maximum speed for reading local data), global memory, the ability to pool resources, many effective clients for connecting all kinds of OSS tools third part ...
2, RoR (and Php) to connect HTTPServer, you need to "proxy" to request the application level. A multiprocess model enhances interprocess communication. And as a "dynamic language" performance is lower.
But, at present, web programming depends on other tools for enhancement. The widespread use of the cache, NoSQL (Memcached, Redis, TT / TC), the IPC / RPC infrastructure (netty, akka) ... shift the bottleneck. I knew that both of the above models were used in large network multiplayer games.
hongtium
source share