Mizuno is a set of Jetty-powered running shoes for JRuby/Rack.
To use Mizuno with your Rack app:
gem install mizuno cd /path/to/my/rack/app mizuno
...and you're off and running. You don't need to set up a Java web container for your Rack application to run under JRuby, because Mizuno works just like Mongrel, WEBRick, Thin, or any other standard Rack handler.
Mizuno is the fastest option for Rack applications on JRuby:
Mizuno: 6106.66 req/s (mean) Jetty (via jruby-rack): 2011.67 req/s (mean) Mongrel: 1479.15 req/sec (mean)
Mizuno also supports asynchronous request handling, via the Java Servlet 3.0 asynchronous processing mechanism
All the speed comes from Jetty 7; Mizuno just ties it to Rack through JRuby's Ruby/Java integration layer.
Note that Mizuno is NOT a direct replacement for jruby-rack or Warbler, because it doesn't produce WAR files or make any attempt to package a Rack application for installation in a Java web container.
There's also a few features that I have yet to implement:
- Route Jetty's logs into Rack::Logger.
- Add hooks for realtime monitoring of server performance.
- Fast restarts of the Rack application.
Mizuno is licensed under the Apache Public License, version 2.0; see the LICENSE file for details, and was developed on behalf of Mad Wombat Software