Need advice about which tool to choose?Ask the StackShare community!

Cowboy

596
66
+ 1
19
Gunicorn

882
850
+ 1
78
Add tool

Cowboy vs Gunicorn: What are the differences?

What is Cowboy? Small, fast, modular HTTP server written in Erlang. Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in part because it uses binary strings. Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang.

What is Gunicorn? A Python WSGI HTTP Server for UNIX. Gunicorn is a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy.

Cowboy and Gunicorn belong to "Web Servers" category of the tech stack.

"Websockets integration" is the primary reason why developers consider Cowboy over the competitors, whereas "Python" was stated as the key factor in picking Gunicorn.

Cowboy and Gunicorn are both open source tools. It seems that Gunicorn with 5.96K GitHub stars and 1.12K forks on GitHub has more adoption than Cowboy with 5.59K GitHub stars and 999 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Cowboy
Pros of Gunicorn
  • 8
    Websockets integration
  • 6
    Cool name
  • 3
    Good to use with Erlang
  • 2
    Anime mascot
  • 34
    Python
  • 30
    Easy setup
  • 8
    Reliable
  • 3
    Light
  • 3
    Fast

Sign up to add or upvote prosMake informed product decisions

What is Cowboy?

Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in part because it uses binary strings. Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang.

What is Gunicorn?

Gunicorn is a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Cowboy?
What companies use Gunicorn?
See which teams inside your own company are using Cowboy or Gunicorn.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Cowboy?
What tools integrate with Gunicorn?
    No integrations found
    What are some alternatives to Cowboy and Gunicorn?
    NGINX
    nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
    Apache HTTP Server
    The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet.
    Apache Tomcat
    Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
    Microsoft IIS
    Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.
    OpenResty
    OpenResty (aka. ngx_openresty) is a full-fledged web application server by bundling the standard Nginx core, lots of 3rd-party Nginx modules, as well as most of their external dependencies.
    See all alternatives