encyclopegia.org

Mongrel (web server)

Mongrel is an open-source software HTTP library and web server written in Ruby by Zed Shaw.[4] It is used to run Ruby web applications and presents a standard HTTP interface.[src] 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.[src] This is made possible by integrating a custom high-performance HTTP request parser implemented using Ragel.[src] 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, as the successor to the Mongrel server.[6]

Mongrel is an open-source software HTTP library and web server written in Ruby by Zed Shaw.[4] It is used to run Ruby web applications and presents a standard HTTP interface.[src] 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.[src] This is made possible by integrating a custom high-performance HTTP request parser implemented using Ragel.[src] 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, as the successor to the Mongrel server.[6] ==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.[src] Each Mongrel instance would run on a separate TCP port, configured via the mongrel_cluster management utility.[src] 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.[5] ==Deprecation== After the original author Zed Shaw left the Ruby on Rails-scene the releases of Mongrel stopped.[4] 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.[5] A new and maintained server, called Thin, uses the Mongrel parser.[6] The Mongrel parser has also been forked by Unicorn and by Puma.[src] ==References== ==External links== Official website[src]

21 sentences · 21 cited inline · 12 references stored

References

  1. LICENSE at master from fauna's mongrel - GitHub · retrieved 2016-01-01 · rev 1353402421
    Cite this reference

    MLA "LICENSE at master from fauna's mongrel - GitHub." 2016-01-01. https://web.archive.org/web/20100510061939/http://github.com/fauna/mongrel/blob/master/LICENSE. Accessed 26 November 2026.

    Chicago "LICENSE at master from fauna's mongrel - GitHub." 2016-01-01. https://web.archive.org/web/20100510061939/http://github.com/fauna/mongrel/blob/master/LICENSE.

    APA encyclopegia.org. (2016). LICENSE at master from fauna's mongrel - GitHub. Retrieved November 26, 2026, from https://web.archive.org/web/20100510061939/http://github.com/fauna/mongrel/blob/master/LICENSE

  2. Ryan Dahl - History of Node.js · retrieved 2026-11-20 · rev 1353402421
    Cite this reference

    MLA "Ryan Dahl - History of Node.js." "Ryan Dahl - History of Node. 2026-11-20. https://www.youtube.com/watch?v=SAc0vQCC6UQ. Accessed 26 November 2026.

    Chicago "Ryan Dahl - History of Node.js." "Ryan Dahl - History of Node. 2026-11-20. https://www.youtube.com/watch?v=SAc0vQCC6UQ.

    APA "Ryan Dahl - History of Node. (2026). Ryan Dahl - History of Node.js. Retrieved November 26, 2026, from https://www.youtube.com/watch?v=SAc0vQCC6UQ

  3. Unicorn Power · retrieved 2026-11-20 · rev 1353402421
    Cite this reference

    MLA "Unicorn Power." "Unicorn Power" , Twitter Engineering Blog , March 30, 2010 Wikipedia revision 1353402421, retrieved 2026-11-21. 2026-11-20. https://blog.twitter.com/2010/unicorn-power. Accessed 26 November 2026.

    Chicago "Unicorn Power." "Unicorn Power" , Twitter Engineering Blog , March 30, 2010 Wikipedia revision 1353402421, retrieved 2026-11-21. 2026-11-20. https://blog.twitter.com/2010/unicorn-power.

    APA "Unicorn Power" , Twitter Engineering Blog , March 30, 2010 Wikipedia revision 1353402421, retrieved 2026-11-21. (2026). Unicorn Power. Retrieved November 26, 2026, from https://blog.twitter.com/2010/unicorn-power

  4. Zed Shaw Puts The Smack Down On The Rails Community · retrieved 2026-11-20 · rev 1353402421
    Cite this reference

    MLA "Zed Shaw Puts The Smack Down On The Rails Community." 2026-11-20. https://techcrunch.com/2008/01/01/zed-shaw-puts-the-smack-down-on-the-rails-community/. Accessed 26 November 2026.

    Chicago "Zed Shaw Puts The Smack Down On The Rails Community." 2026-11-20. https://techcrunch.com/2008/01/01/zed-shaw-puts-the-smack-down-on-the-rails-community/.

    APA encyclopegia.org. (2026). Zed Shaw Puts The Smack Down On The Rails Community. Retrieved November 26, 2026, from https://techcrunch.com/2008/01/01/zed-shaw-puts-the-smack-down-on-the-rails-community/

  5. ruby on rails 3 - Mongrel on windows with rails3 · retrieved 2026-11-20 · rev 1353402421
    Cite this reference

    MLA "ruby on rails 3 - Mongrel on windows with rails3." 2026-11-20. https://stackoverflow.com/questions/4264798/mongrel-on-windows-with-rails3/4419008. Accessed 26 November 2026.

    Chicago "ruby on rails 3 - Mongrel on windows with rails3." 2026-11-20. https://stackoverflow.com/questions/4264798/mongrel-on-windows-with-rails3/4419008.

    APA encyclopegia.org. (2026). ruby on rails 3 - Mongrel on windows with rails3. Retrieved November 26, 2026, from https://stackoverflow.com/questions/4264798/mongrel-on-windows-with-rails3/4419008

  6. Thin - yet another web server · retrieved 2012-02-21 · rev 1353402421
    Cite this reference

    MLA "Thin - yet another web server." 2012-02-21. https://web.archive.org/web/20120930073042/http://code.macournoyer.com/thin/. Accessed 26 November 2026.

    Chicago "Thin - yet another web server." 2012-02-21. https://web.archive.org/web/20120930073042/http://code.macournoyer.com/thin/.

    APA encyclopegia.org. (2012). Thin - yet another web server. Retrieved November 26, 2026, from https://web.archive.org/web/20120930073042/http://code.macournoyer.com/thin/

  7. LICENSE at master from fauna's mongrel - GitHub . GitHub . retrieved 2016-01-02 · retrieved 2016-01-01 · rev 1353402421
    Cite this reference

    MLA "LICENSE at master from fauna's mongrel - GitHub . GitHub . retrieved 2016-01-02." LICENSE at master from fauna's mongrel - GitHub. 2016-01-01. https://en.wikipedia.org/w/index.php?oldid=1353402421. Accessed 26 November 2026.

    Chicago "LICENSE at master from fauna's mongrel - GitHub . GitHub . retrieved 2016-01-02." LICENSE at master from fauna's mongrel - GitHub. 2016-01-01. https://en.wikipedia.org/w/index.php?oldid=1353402421.

    APA LICENSE at master from fauna's mongrel - GitHub. (2016). LICENSE at master from fauna's mongrel - GitHub . GitHub . retrieved 2016-01-02. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1353402421

  8. Ryan Dahl - Histo . · retrieved 2026-05-09 · rev 1353402421
    Cite this reference

    MLA "Ryan Dahl - Histo ." 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421. Accessed 26 November 2026.

    Chicago "Ryan Dahl - Histo ." 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421.

    APA encyclopegia.org. (2026). Ryan Dahl - Histo . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1353402421

  9. Unicorn Power · retrieved 2026-05-09 · rev 1353402421
    Cite this reference

    MLA "Unicorn Power." https://blog. 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421. Accessed 26 November 2026.

    Chicago "Unicorn Power." https://blog. 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421.

    APA https://blog. (2026). Unicorn Power. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1353402421

  10. Zed Shaw Puts The Smack Down On The Rails Community . January 2008. · retrieved 2026-05-09 · rev 1353402421
    Cite this reference

    MLA "Zed Shaw Puts The Smack Down On The Rails Community . January 2008." Zed Shaw Puts The Smack Down On The Rails Community. 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421. Accessed 26 November 2026.

    Chicago "Zed Shaw Puts The Smack Down On The Rails Community . January 2008." Zed Shaw Puts The Smack Down On The Rails Community. 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421.

    APA Zed Shaw Puts The Smack Down On The Rails Community. (2026). Zed Shaw Puts The Smack Down On The Rails Community . January 2008. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1353402421

  11. ruby on rails 3 - Mongrel on windows with rails3 . Stack Overflow . · retrieved 2026-05-09 · rev 1353402421
    Cite this reference

    MLA "ruby on rails 3 - Mongrel on windows with rails3 . Stack Overflow ." ruby on rails 3 - Mongrel on windows with rails3. 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421. Accessed 26 November 2026.

    Chicago "ruby on rails 3 - Mongrel on windows with rails3 . Stack Overflow ." ruby on rails 3 - Mongrel on windows with rails3. 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421.

    APA ruby on rails 3 - Mongrel on windows with rails3. (2026). ruby on rails 3 - Mongrel on windows with rails3 . Stack Overflow . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1353402421

  12. Thin - yet another web server . · retrieved 2026-05-09 · rev 1353402421
    Cite this reference

    MLA "Thin - yet another web server ." 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421. Accessed 26 November 2026.

    Chicago "Thin - yet another web server ." 2026-05-09. https://en.wikipedia.org/w/index.php?oldid=1353402421.

    APA encyclopegia.org. (2026). Thin - yet another web server . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1353402421

Cite this article

MLA

"Mongrel (web server)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/mongrel-web-server. Accessed 26 November 2026.

Chicago

"Mongrel (web server)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/mongrel-web-server.

APA

encyclopegia.org. (2026). Mongrel (web server). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/mongrel-web-server

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

web server

stub · references available

root name server

stub · references available

Oracle WebLogic Server

stub · references available

web beacon

stub · references available

web syndication

stub · references available

ATL Server

stub · references available

Across Language Server

stub · references available

QuickTime Streaming Server

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1353402421 · 0.5 · snapshot enwiki-001353402421

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.