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

Cowboy

623
66
+ 1
19
Apache Tomcat

14.6K
10.7K
+ 1
201
Add tool

Cowboy vs Apache Tomcat: What are the differences?

Developers describe Cowboy 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. On the other hand, Apache Tomcat is detailed as "An open source software implementation of the Java Servlet and JavaServer Pages technologies". Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

Cowboy and Apache Tomcat can be categorized as "Web Servers" tools.

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

Cowboy and Apache Tomcat are both open source tools. It seems that Cowboy with 5.59K GitHub stars and 999 forks on GitHub has more adoption than Apache Tomcat with 3.51K GitHub stars and 2.4K GitHub forks.

Decisions about Cowboy and Apache Tomcat

I was in a situation where I have to configure 40 RHEL servers 20 each for Apache HTTP Server and Tomcat server. My task was to 1. configure LVM with required logical volumes, format and mount for HTTP and Tomcat servers accordingly. 2. Install apache and tomcat. 3. Generate and apply selfsigned certs to http server. 4. Modify default ports on Tomcat to different ports. 5. Create users on RHEL for application support team. 6. other administrative tasks like, start, stop and restart HTTP and Tomcat services.

I have utilized the power of ansible for all these tasks, which made it easy and manageable.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Cowboy
Pros of Apache Tomcat
  • 8
    Websockets integration
  • 6
    Cool name
  • 3
    Good to use with Erlang
  • 2
    Anime mascot
  • 79
    Easy
  • 72
    Java
  • 49
    Popular
  • 1
    Spring web

Sign up to add or upvote prosMake informed product decisions

Cons of Cowboy
Cons of Apache Tomcat
    Be the first to leave a con
    • 1
      Blocking - each http request block a thread

    Sign up to add or upvote consMake 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 Apache Tomcat?

    Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

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

    Jobs that mention Cowboy and Apache Tomcat as a desired skillset
    What companies use Cowboy?
    What companies use Apache Tomcat?
    See which teams inside your own company are using Cowboy or Apache Tomcat.
    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 Apache Tomcat?
      No integrations found

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

      Blog Posts

      What are some alternatives to Cowboy and Apache Tomcat?
      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.
      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.
      LiteSpeed
      It is a drop-in Apache replacement and the leading high-performance, high-scalability server. You can replace your existing Apache server with it without changing your configuration or operating system details. As a drop-in replacement, it allows you to quickly eliminate Apache bottlenecks in 15 minutes with zero downtime.
      See all alternatives