OpenResty vs Apache Tomcat

Get Advice Icon

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

OpenResty
OpenResty

2.1K
74
+ 1
0
Apache Tomcat
Apache Tomcat

4.8K
2.9K
+ 1
195
Add tool

OpenResty vs Apache Tomcat: What are the differences?

What is OpenResty? Turning Nginx into a Full-fledged Web App Server. 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.

What is Apache Tomcat? 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.

OpenResty and Apache Tomcat can be primarily classified as "Web Servers" tools.

OpenResty and Apache Tomcat are both open source tools. OpenResty with 7.06K GitHub stars and 978 forks on GitHub appears to be more popular than Apache Tomcat with 3.44K GitHub stars and 2.36K GitHub forks.

MIT, Zillow, and Bodybuilding.com are some of the popular companies that use Apache Tomcat, whereas OpenResty is used by Shopify, Kong, and Pagar.me. Apache Tomcat has a broader approval, being mentioned in 562 company stacks & 419 developers stacks; compared to OpenResty, which is listed in 37 company stacks and 4 developer stacks.

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

What is Apache Tomcat?

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

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

Why do developers choose OpenResty?
Why do developers choose Apache Tomcat?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        Jobs that mention OpenResty and Apache Tomcat as a desired skillset
        What companies use OpenResty?
        What companies use Apache Tomcat?

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

        What tools integrate with OpenResty?
        What tools integrate with Apache Tomcat?

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

        What are some alternatives to OpenResty and Apache Tomcat?
        WordPress
        The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home” — we’d love you to join the family.
        Python
        Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
        Node.js
        Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
        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.
        See all alternatives
        Decisions about OpenResty and Apache Tomcat
        Go
        Go
        Lua
        Lua
        OpenResty
        OpenResty
        nginx
        nginx
        Logstash
        Logstash
        Prometheus
        Prometheus

        At Kong while building an internal tool, we struggled to route metrics to Prometheus and logs to Logstash without incurring too much latency in our metrics collection.

        We replaced nginx with OpenResty on the edge of our tool which allowed us to use the lua-nginx-module to run Lua code that captures metrics and records telemetry data during every request’s log phase. Our code then pushes the metrics to a local aggregator process (written in Go) which in turn exposes them in Prometheus Exposition Format for consumption by Prometheus. This solution reduced the number of components we needed to maintain and is fast thanks to NGINX and LuaJIT.

        See more
        Chris McFadden
        Chris McFadden
        VP, Engineering at SparkPost · | 7 upvotes · 57.7K views
        atSparkPostSparkPost
        Lua
        Lua
        OpenResty
        OpenResty
        nginx
        nginx

        We use nginx and OpenResty as our API proxy running on EC2 for auth, caching, and some rate limiting for our dozens of microservices. Since OpenResty support embedded Lua we were able to write a custom access module that calls out to our authentication service with the resource, method, and access token. If that succeeds then critical account info is passed down to the underlying microservice. This proxy approach keeps all authentication and authorization in one place and provides a unified CX for our API users. Nginx is fast and cheap to run though we are always exploring alternatives that are also economical. What do you use?

        See more
        Interest over time
        Reviews of OpenResty and Apache Tomcat
        No reviews found
        How developers use OpenResty and Apache Tomcat
        Avatar of Promethean TV
        Promethean TV uses Apache TomcatApache Tomcat

        Apache Tomcat is part of the open source Ant Media Server platform that currently provides both LIVE and VOD video trans-coding and delivery features for the Promethean Platform.

        Avatar of Kingsley Victor
        Kingsley Victor uses Apache TomcatApache Tomcat

        I use Tomcat to run Java enterprise web apps. Used to test enterprise applications mostly written using the Spring framework

        Avatar of Cian Ó Cuinneagáin
        Cian Ó Cuinneagáin uses Apache TomcatApache Tomcat

        Use this as the application server running on our production and development environment. Hosted on AWS.

        Avatar of The Independent
        The Independent uses Apache TomcatApache Tomcat

        Tomcat provides a fantastic application container that runs the majority of services of the site.

        Avatar of simpleshow GmbH
        simpleshow GmbH uses Apache TomcatApache Tomcat

        Apache Tomcat is being used as our application server for spring-based backend applications.

        Avatar of Patrick Ian
        Patrick Ian uses OpenRestyOpenResty

        Routing with nginx + in-house Lua plugins

        How much does OpenResty cost?
        How much does Apache Tomcat cost?
        Pricing unavailable
        Pricing unavailable
        News about OpenResty
        More news