博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
matadon/mizuno
阅读量:6813 次
发布时间:2019-06-26

本文共 1336 字,大约阅读时间需要 4 分钟。

Mizuno is a set of Jetty-powered running shoes for JRuby/Rack.

To use Mizuno with your Rack app:

gem install mizunocd /path/to/my/rack/appmizuno

...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:

  1. Route Jetty's logs into Rack::Logger.
  2. Add hooks for realtime monitoring of server performance.
  3. 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

Jetty is dual-licensed under the , and its

development is hosted by the

 


转载地址:http://itmwl.baihongyu.com/

你可能感兴趣的文章
287. Find the Duplicate Number
查看>>
struts1(一)流程分析
查看>>
SpringCloud 进阶之Eureka(服务注册和发现)
查看>>
2014华为机试,迷宫矩阵寻找单词的存在与否
查看>>
ASP.NET文件的上传与下载
查看>>
ADO.NET 数据库操作类
查看>>
PHP输出当前进程所有变量 / 常量 / 模块 / 函数 / 类
查看>>
django获取客户ip
查看>>
【分块】bzoj2120 数颜色
查看>>
python之类介绍
查看>>
C# 简单封装一个XML文件读取类
查看>>
C#DateTime的用法
查看>>
好博客网址
查看>>
mysql表的操作
查看>>
小程序方法-小程序获取上一页的数据修改上一个页面的数据
查看>>
基于OpenGL编写一个简易的2D渲染框架-11 重构渲染器-Renderer
查看>>
eclipse 当中,小白们所不知道的 CRTL+1 快捷键
查看>>
jquery_EasyUI使用细节注意
查看>>
好的文章万里挑一
查看>>
JavaScript 继承
查看>>