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

Gunicorn

814
678
+ 1
71
Apache Tomcat

11.5K
7.9K
+ 1
200
Add tool

Gunicorn vs Apache Tomcat: What are the differences?

Developers describe Gunicorn as "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. 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.

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

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

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

ebay, Intuit, and Evernote are some of the popular companies that use Apache Tomcat, whereas Gunicorn is used by Instagram, Fitocracy, and Kippt. Apache Tomcat has a broader approval, being mentioned in 566 company stacks & 430 developers stacks; compared to Gunicorn, which is listed in 184 company stacks and 51 developer stacks.

Decisions about Gunicorn 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 Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Gunicorn
Pros of Apache Tomcat
  • 31
    Python
  • 30
    Easy setup
  • 7
    Reliable
  • 2
    Light
  • 1
    Fast
  • 79
    Easy
  • 72
    Java
  • 48
    Popular
  • 1
    Spring web

Sign up to add or upvote prosMake informed product decisions

Sign up to add or upvote consMake informed product decisions

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.

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 Gunicorn and Apache Tomcat as a desired skillset
What companies use Gunicorn?
What companies use Apache Tomcat?
See which teams inside your own company are using Gunicorn or Apache Tomcat.
Sign up for Private StackShareLearn More

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

What tools integrate with Gunicorn?
What tools integrate with Apache Tomcat?

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

Blog Posts

What are some alternatives to Gunicorn and Apache Tomcat?
uWSGI
The uWSGI project aims at developing a full stack for building hosting services.
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.
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Waitress
It is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.7+ and Python 3.4+. It is also known to run on PyPy 1.6.0 on UNIX.
gevent
It is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop.
See all alternatives