Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Deployment  





2 Deprecation  





3 References  





4 External links  














Mongrel (web server)






Deutsch
Ελληνικά
Français
Polski
Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Mongrel
Developer(s)Zed Shaw
Stable release

1.1.5 / May 22, 2008 (2008-05-22)

Repository
Written inRuby
Operating systemCross-platform
TypeWeb server
LicenseRuby License[1]
Websiterubygems.org/gems/mongrel

Mongrel is an open-source software HTTP library and web server written in RubybyZed 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 FastCGIorSCGI 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[edit]

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]

Deprecation[edit]

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?] release of Mongrel which isn't stable.

A new and maintained server, called Thin,[6] uses the Mongrel parser. The Mongrel parser has also been forked by Unicorn and by Puma.

References[edit]

  1. ^ "LICENSE at master from fauna's mongrel - GitHub". GitHub. Archived from the original on 2010-05-10. Retrieved 2016-01-02.
  • ^ "Ryan Dahl - History of Node.js". Archived from the original on 2021-12-19 – via www.youtube.com.
  • ^ "Unicorn Power", Twitter Engineering Blog, March 30, 2010
  • ^ "Zed Shaw Puts The Smack Down On The Rails Community". January 2008.
  • ^ "ruby on rails 3 - Mongrel on windows with rails3". Stack Overflow.
  • ^ "Thin - yet another web server". Archived from the original on 2012-09-30. Retrieved 2012-02-22.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Mongrel_(web_server)&oldid=1187491168"

    Categories: 
    Free web server software
    Ruby (programming language)
    Web server software for Linux
    Hidden categories: 
    Articles lacking reliable references from February 2011
    All articles lacking reliable references
    All articles with unsourced statements
    Articles with unsourced statements from February 2012
    Articles lacking reliable references from December 2012
     



    This page was last edited on 29 November 2023, at 15:54 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki