Unicorn (web server)
Unicorn is a Rack HTTP server to serve Ruby web applications on a UNIX operating environment.[src] It is optimised to be used with nginx.[src] It is based on now deprecated Mongrel 1.1.5 from 2008.[src]
Unicorn is a Rack HTTP server to serve Ruby web applications on a UNIX operating environment.[src] It is optimised to be used with nginx.[src] It is based on now deprecated Mongrel 1.1.5 from 2008.[src] ==Architecture== Unicorn uses a master/worker architecture, where a master process forks worker processes and controls them.[src] The application runs in a single thread.[src] ==Reception and use== Unicorn was considered to be “one of the most popular servers for Rails”.[src] Twitter started to test Unicorn in 2010.[src] This server is shipped with Discourse.[src] Their system administrator Sam Saffron noted Unicorn was reliable, as it reaps unresponsive workers.[src] Unicorn has inspired other projects like Gunicorn, a fork to run Python applications.[src] As of 2018, projects tend to favour Puma.[src] The Heroku hosting provider recommends since 2015 to migrate from Unicorn to Puma.[src] Deliveroo published a benchmark comparing the two servers and concluded “Puma performs better than Unicorn in all tests that were either heavily IO-bound or that interleaved IO and CPU work”, but that Unicorn was still slightly better performing in pure CPU situations.[src] GitLab switched to Puma from Unicorn in 2020.[src] ==References== ==External links==[src]
18 sentences · 18 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Unicorn (web server)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/unicorn-web-server. Accessed 06 December 2026.
Chicago
"Unicorn (web server)." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/unicorn-web-server.
APA
encyclopegia.org. (2025). Unicorn (web server). Retrieved December 6, 2026, from https://encyclopegia.org/wiki/unicorn-web-server
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON