13 points · by BitGeek · 18y ago · 11 comments
I ended up writing my own web app platform in about 3 months-- custom language, integrated persistence engine and http-server, no-thought-required concurrency... so I'm happy now. I'm just kinda surprised that more people haven't done this.
If you don't have the time to do your own solution, use Erlyweb (which is hampered by being "Rails for erlang") or WebObjects (which is hampered by running on Java).
Anyway, I expect that the outperformance of Erlyweb compared to rails will be more dramatic-- in excess of 10 to 1, when running a more complex application, and even higher when running on a multicore cpu.
If you need more performance out of Rails, create another VPS and add the mongrels to a cluster. Problem solved.
I don't think the results would change much, but to be safe, I think you should run this comparison on multiple random ec2 instances, to account for differing external loads.
I'd be curious to see the numbers, as the gap could go either way. I'm not sure if rails is worse with threads or worse with rendering or both.