论坛首页 编程语言技术论坛

Deploy Rails on Microsoft IIS

浏览 8056 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2006-12-24  

Despite the predominance of Apache as the web server for Ruby on Rails (on both Linux and Windows Systems) there are some out there that are stuck having to use Microsoft's Internet Information Services (IIS) World Wide Web Publishing (W3SVC) service.

Brent Heinz of NextIT has released an installer packaging Shane Careveo's Fast-CGI ISAPI filter in conjuction with Ionic's Rewrite ISAPI filter and custom-written IIS scripts. The package allows easy deployment of Ruby on Rails applications on
IIS 5.1 and IIS 6.0 (on Windows XP or Windows Server 2003).

The installer is compiled using the Nullsoft Installer System (NSIS). IIS setup is handled by Brian's vbscripts and executed from the installer. It installs the Rewrite filter, FCGI filter (including registry config settings), Ruby FCGI bindings and configures the IIS website.

Release 1.0 Beta of ROR4IIS is avaiable here.

It's wonderful news for windows users!!

   发表时间:2006-12-26  
还有人喜欢用IIS?
0 请登录后投票
   发表时间:2006-12-26  
我觉得还是蛮有价值的,提供了多一种部署的选择,而IIS毕竟也是占据全球Web Server 30%以上市场份额的。
1 请登录后投票
   发表时间:2006-12-26  
好消息。前人栽树,后人乘凉,支持总比不支持好,尽管自己也许暂时用不到
0 请登录后投票
   发表时间:2006-12-27  
关键还是能够稳定下来,毕竟许多window平台基本都有在IIS上跑的业务,再装个apache总感觉不舒服。
0 请登录后投票
   发表时间:2006-12-27  
期待有性能评测报告出来,像我就只有windows的服务器,这个很有意义
0 请登录后投票
   发表时间:2006-12-27  
性能是肯定好不了的,本身ruby在windows平台上支持就不如Unix好,再加上IIS+FCGI这种做法对windows也不太适合,毕竟Unix平台进程调度和通讯是很高效的,而Windows进程调度和通讯效率很差(线程效率高但是没有利用上)。

其实总得来说,用windows来跑生产环境的RoR,只能差强人意,要改善windows平台的RoR效率,只能等待Ruby2.0的native thread VM。

1 请登录后投票
   发表时间:2006-12-30  
主要是多样性选择。要不就死抱struts ok了,干嘛还要几十种web framework!
0 请登录后投票
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics