In a previous entry I had a demo of using scala for very fast servers. It resulted in a bug being filed on the spray framework for a rather inefficient copying of data. That has since been resolved, and I have re-ran the tests, both on a “cold” jvm, and after “warming” it up with about 20 runs of the apache benchmark command, the same one used to collect the benchmarks.
The performance is roughly on par with node.js and go, fitting about halfway between the two, slightly closer to go. Doing nearly 2000 requests per second on a single machine. Which is somewhat less than Go’s 2300 requests/sec. The average time/request is about 10ms longer on a warm JVM than go. Yay numbers! Results follow.