I've hacked together enough of JRubyWorks to run Petstore under Jetty with it.
JRubyWorks is yet another way to run a Rails app under servlet
container, so far completely experimental... we are talking "don't
touch it with 10 feet pole" kind of experimental, so there, you've
been warned :)
Jetty proved to be much faster than Mongrel-jruby (to the tune of 10
msec CPU time saved per hit), but still way slower than Mongrel + MRI.
The numbers are below.
JRuby rev 4246
BASELINE (MRI / Mongrel / native MySQL driver / DB sessions)
logging enabled: 89 req/sec
logging disabled: 92 req/sec
BASELINE JRUBY (JRuby / Mongrel / Ruby MySQL driver / DB sessions)
logging enabled: 21 req/sec
logging disabled: 32 req/sec
JETTY (ObjectSpace enabled)
logging enabled: 23 req/sec
logging disabled 30 req/sec
JETTY (ObjectSpace disabled)
logging enabled: 29 req/sec
logging disabled: 45 req/sec (!)
--
Alexey Verkhovsky
CruiseControl.rb [
http://cruisecontrolrb.thoughtworks.com]
RubyWorks [
http://rubyworks.thoughtworks.com]
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email