Get Advice Icon

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

Apache HTTP Server
Apache HTTP Server

45.9K
7.7K
+ 1
1.4K
Cowboy
Cowboy

584
26
+ 1
15
Add tool

Apache HTTP Server vs Cowboy: What are the differences?

Developers describe Apache HTTP Server as "The most popular web server on the Internet since April 1996". 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. On the other hand, Cowboy is detailed as "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.

Apache HTTP Server and Cowboy belong to "Web Servers" category of the tech stack.

"Web server" is the primary reason why developers consider Apache HTTP Server over the competitors, whereas "Websockets integration" was stated as the key factor in picking Cowboy.

Apache HTTP Server and Cowboy are both open source tools. It seems that Cowboy with 5.57K GitHub stars and 997 forks on GitHub has more adoption than Apache HTTP Server with 2.19K GitHub stars and 652 GitHub forks.

What is 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.

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.
Get Advice Icon

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

Why do developers choose Apache HTTP Server?
Why do developers choose Cowboy?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Apache HTTP Server?
      What companies use Cowboy?

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

      What tools integrate with Apache HTTP Server?
      What tools integrate with Cowboy?
        No integrations found

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to Apache HTTP Server and Cowboy?
        Apache Tomcat
        Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
        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.
        JBoss
        An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.
        Jetty
        Jetty is used in a wide variety of projects and products, both in development and production. Jetty can be easily embedded in devices, tools, frameworks, application servers, and clusters. See the Jetty Powered page for more uses of Jetty.
        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.
        See all alternatives
        Decisions about Apache HTTP Server and Cowboy
        Tim Abbott
        Tim Abbott
        Founder at Zulip | 7 upvotes 92.5K views
        atZulipZulip
        nginx
        nginx
        Apache HTTP Server
        Apache HTTP Server

        We've been happy with nginx as part of our stack. As an open source web application that folks install on-premise, the configuration system for the webserver is pretty important to us. I have a few complaints (e.g. the configuration syntax for conditionals is a pain), but overall we've found it pretty easy to build a configurable set of options (see link) for how to run Zulip on nginx, both directly and with a remote reverse proxy in front of it, with a minimum of code duplication.

        Certainly I've been a lot happier with it than I was working with Apache HTTP Server in past projects.

        See more
        Marcel Kornegoor
        Marcel Kornegoor
        CTO at AT Computing | 7 upvotes 67.3K views
        nginx
        nginx
        Apache HTTP Server
        Apache HTTP Server

        nginx or Apache HTTP Server that's the question. The best choice depends on what it needs to serve. In general, Nginx performs better with static content, where Apache and Nginx score roughly the same when it comes to dynamic content. Since most webpages and web-applications use both static and dynamic content, a combination of both platforms may be the best solution.

        Since both webservers are easy to deploy and free to use, setting up a performance or feature comparison test is no big deal. This way you can see what solutions suits your application or content best. Don't forget to look at other aspects, like security, back-end compatibility (easy of integration) and manageability, as well.

        A reasonably good comparison between the two can be found in the link below.

        See more
        Interest over time
        Reviews of Apache HTTP Server and Cowboy
        No reviews found
        How developers use Apache HTTP Server and Cowboy
        Avatar of Climate CoLab
        Climate CoLab uses Apache HTTP ServerApache HTTP Server

        We use httpd in front of our Tomcat web server. Apache terminates the TLS connections and forwards to the embedded Tomcat server(s) for request processing. We also use it as load balancer for multi-server deployments.

        Avatar of eXon Technologies
        eXon Technologies uses Apache HTTP ServerApache HTTP Server

        Most known webserver. We are using Apache due to his htaccess feature but its just a backedn to proccess PHP. In font of Apache we are using NGINX to server static files

        Avatar of The Independent
        The Independent uses Apache HTTP ServerApache HTTP Server

        Apache splits static traffic from application traffic, as well as providing a selection of tools to assist in running of the site (rewrites, logging etc).

        Avatar of Suburban Express
        Suburban Express uses Apache HTTP ServerApache HTTP Server

        Primary web server, delivers PHP-rendered pages as well as static HTML content. Ruby CGIs deliver objects to browser-side code using REST/JSON

        Avatar of SAP Hybris
        SAP Hybris uses Apache HTTP ServerApache HTTP Server

        modproxybalancer provides highly concurrent end-user browser connections, and manages session routing to the application cluster

        Avatar of Mathias Vonende
        Mathias Vonende uses CowboyCowboy

        Application/http-server for everything except static data.

        How much does Apache HTTP Server cost?
        How much does Cowboy cost?
        Pricing unavailable
        Pricing unavailable
        News about Apache HTTP Server
        More news