e01.org

Mongrel (web server)

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. Shaw subsequently created Mongrel2, an open-source "language agnostic" web server, as the... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

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. Shaw subsequently created Mongrel2, an open-source "language agnostic" web server, as the successor to the 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. 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. ==Deprecation== After the original author Zed Shaw left the Ruby on Rails-scene 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 release of Mongrel which isn't stable. A new and maintained server, called Thin, uses the Mongrel parser. The Mongrel parser has also been forked by Unicorn and by Puma. ==References== ==External links== Official website

References

  1. ^ "LICENSE at master from fauna's mongrel - GitHub" . GitHub . Archived from the original on 2010-05-10 . Retrieved 2016-01-02 . Wikipedia revision 1353402421, retrieved 2026-11-21 · 1451689200.0
  2. ^ "Ryan Dahl - History of Node.js" . 5 October 2011. Archived from the original on 2021-12-19 – via www.youtube.com. Wikipedia revision 1353402421, retrieved 2026-11-21 · 1795215600.0
  3. ^ "Unicorn Power" , Twitter Engineering Blog , March 30, 2010 Wikipedia revision 1353402421, retrieved 2026-11-21 · 1795215600.0
  4. ^ "Zed Shaw Puts The Smack Down On The Rails Community" . January 2008. Wikipedia revision 1353402421, retrieved 2026-11-21 · 1795215600.0
  5. ^ "ruby on rails 3 - Mongrel on windows with rails3" . Stack Overflow . Wikipedia revision 1353402421, retrieved 2026-11-21 · 1795215600.0
  6. ^ "Thin - yet another web server" . Archived from the original on 2012-09-30 . Retrieved 2012-02-22 . Wikipedia revision 1353402421, retrieved 2026-11-21 · 1329865200.0
  7. LICENSE at master from fauna's mongrel - GitHub . GitHub . retrieved 2016-01-02 · 1451689200.0
  8. Ryan Dahl - Histo . · 1778367600.0
  9. [https://blog.twitter.com/2010/unicorn-power "Unicorn Power"], Twitter Engineering Blog, March 30, 2010 . · 1778367600.0
  10. Zed Shaw Puts The Smack Down On The Rails Community . January 2008. · 1778367600.0
  11. ruby on rails 3 - Mongrel on windows with rails3 . Stack Overflow . · 1778367600.0
  12. Thin - yet another web server . · 1778367600.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Mongrel (web server)". 1778372000. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1353402421

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·