请输入您要查询的百科知识:

 

词条 Mongrel (web server)
释义

  1. Deployment

  2. Deprecation

  3. References

  4. External links

{{primary sources|date=February 2011}}{{Infobox software
| name = Mongrel
| logo =
| developer = Zed Shaw
| latest release version = 1.1.5
| latest release date = {{release date|2008|05|22}}
| operating system = Cross-platform
| programming language = Ruby
| genre = Web server
| license = Ruby License[1]
| website = {{URL|http://rubygems.org/gems/mongrel}}
}}

Mongrel is an open-source software HTTP library and web server written in Ruby by Zed Shaw. It is used to run Ruby web applications and presents a standard HTTP interface. This makes layering other servers in front of it possible using a web proxy, a load balancer, or a combination of both, instead of having to use more conventional methods employed to run scripts such as FastCGI or SCGI to communicate. This is made possible by integrating a custom high-performance HTTP request parser implemented using Ragel.

Mongrel was the first web server used by Twitter, and inspired Node.js according to Ryan Dahl.[2]

Shaw subsequently created Mongrel2, an open-source "language agnostic" web server and the successor to Mongrel server.

Deployment

One popular configuration was to run Apache HTTP Server 2.2 as a load balancer using mod_proxy_balancer in conjunction with several Mongrel instances. Each Mongrel instance would run on a separate TCP port, configured via the mongrel_cluster management utility. Until 2010, Twitter was a notable instance of this configuration; they then switched to Unicorn.[3]

Mongrel was capable of serving Ruby on Rails powered sites without requiring any other web servers, though as a single-threaded application this configuration is unsuitable for all but light loads.{{citation needed|date=February 2012}}

Deprecation

After the original author Zed Shaw left the Ruby on Rails-scene[4] the releases of Mongrel stopped. The current release 1.1.5 is no longer able to install in Ruby versions higher than 1.9.2 which is recommended for Rails 3, the fix is to use the much older 1.2.0-pre2[5]{{unreliable source?|date=December 2012}} release of Mongrel which isn't stable.

A new and maintained server, called Thin,[6] uses the Mongrel parser.

Mongrel has also been forked by Unicorn and by Puma, essentially the parser.

{{Portal|Free and open-source software}}

References

1. ^{{cite web |url=https://github.com/fauna/mongrel/blob/master/LICENSE |title=Archived copy |accessdate=2016-01-02 |deadurl=yes |archiveurl=https://web.archive.org/web/20100510061939/http://github.com/fauna/mongrel/blob/master/LICENSE |archivedate=2010-05-10 |df= }}
2. ^https://www.youtube.com/watch?v=SAc0vQCC6UQ&feature=player_embedded
3. ^[https://blog.twitter.com/2010/unicorn-power "Unicorn Power"], Twitter Engineering Blog, March 30, 2010
4. ^https://techcrunch.com/2008/01/01/zed-shaw-puts-the-smack-down-on-the-rails-community/
5. ^https://stackoverflow.com/a/4419008
6. ^http://code.macournoyer.com/thin/

External links

  • Official website

  • Swiftiply an alternative, event based wrapper around Mongrel that conforms to the Mongrel API.
{{Web server software}}{{Ruby programming language}}{{DEFAULTSORT:Mongrel (Web Server)}}

3 : Free web server software|Ruby (programming language)|Web server software for Linux

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 18:14:11