首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

mongrel跟mongrel_cluster的区别是什么

2012-06-30 
mongrel和mongrel_cluster的区别是什么Ask:?? mongrel和mongrel_cluster的区别是什么?Answer1:Mongrel is

mongrel和mongrel_cluster的区别是什么
Ask:

?? mongrel和mongrel_cluster的区别是什么

?

Answer1:Mongrel is a web server that can handle one request at a time. In order to handle multiple requests, you want to run multiple mongrels. A proxy server (i.e. apache) will sit in front of the servers and listen on port 80 and then relay the web requests to an available mongrel. Mongrel cluster is a gem that manages the launching of the mongrels, stopping, restarting and running it in the right environment with the right user. It abstracts the individual mongrels as workers so you don't need to worry about them (until things go wrong). All of that is managed by a configuration file usually located with the application. Mongrel cluster is multiple mongrel instances. Then the web server rotates amongst them to handle incoming calls.But these days the cool kids tend to use Passenger (and often the related Enterprise Ruby too)?

热点排行