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

Apollo

2.7K
1.8K
+ 1
25
Apache Tomcat

16.4K
12.2K
+ 1
201
Add tool

Apache Tomcat vs Apollo: What are the differences?

Introduction

Apache Tomcat and Apollo are both web server technologies used to host and run web applications. Despite their similar purpose, there are significant differences between the two.

  1. Protocol Support: Apache Tomcat primarily supports HTTP and HTTPS protocols, making it suitable for traditional web applications. On the other hand, Apollo provides support for multiple protocols, including MQTT, STOMP, and AMQP, making it ideal for Internet of Things (IoT) applications.

  2. Scalability and Performance: Apache Tomcat is known for its scalability and can handle a large number of concurrent connections efficiently. On the other hand, Apollo is designed for high-performance messaging, with features like persistent message storage and clustering capabilities, making it suitable for scenarios where scalability and performance in messaging are crucial.

  3. Administration and Management: Apache Tomcat provides a web-based administration console that allows easy configuration and management of the web server. In contrast, Apollo does not have a built-in administration console, and the configuration is typically done through configuration files. However, Apollo provides a RESTful management API that allows programmatic administration and management.

  4. Supported Programming Languages: Apache Tomcat is primarily designed for running Java-based web applications using Servlets and JavaServer Pages (JSP). In contrast, Apollo does not have specific language requirements and can be used to run applications written in various programming languages, making it more versatile in terms of language support.

  5. Messaging Features: Apollo is specifically designed as a messaging broker and provides advanced messaging features like pub/sub messaging, message queuing, and durable subscriptions. These features are not available or as extensive in Apache Tomcat, which is more focused on serving web applications.

  6. Community and Support: Apache Tomcat has been around for much longer and has a large and active community of users, which means more support and resources available. Apollo, although less popular, does have an active community as well, but the support and resources may not be as extensive as that of Apache Tomcat.

In summary, Apache Tomcat is a versatile web server primarily focused on hosting traditional web applications, while Apollo is a messaging broker that provides advanced messaging features and is well-suited for IoT applications.

Decisions about Apollo and Apache Tomcat
Márton Danóczy

We wanted to save as much time as possible when writing our back-end, therefore Apollo was out of the question, we went for an auto-generated API instead. Hasura looked good in the beginning, but we wanted to retain the ability to add a few manual resolvers and modifications to auto-generated ones, which ruled out Hasura. Postgraphile with its Plug-In architecture was the right choice for us, we never regretted it!

See more

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 Apollo
Pros of Apache Tomcat
  • 12
    From the creators of Meteor
  • 8
    Great documentation
  • 3
    Open source
  • 2
    Real time if use subscription
  • 79
    Easy
  • 72
    Java
  • 49
    Popular
  • 1
    Spring web

Sign up to add or upvote prosMake informed product decisions

Cons of Apollo
Cons of Apache Tomcat
  • 1
    File upload is not supported
  • 1
    Increase in complexity of implementing (subscription)
  • 2
    Blocking - each http request block a thread
  • 1
    Easy to set up

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Apollo?

Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.

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!

What companies use Apollo?
What companies use Apache Tomcat?
See which teams inside your own company are using Apollo 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 Apollo?
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 Apollo and Apache Tomcat?
Helios
Helios is a Docker orchestration platform for deploying and managing containers across an entire fleet of servers. Helios provides a HTTP API as well as a command-line client to interact with servers running your containers.
GraphQL
GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
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.
Relay Framework
Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.
Heroku
Heroku is a cloud application platform – a new way of building and deploying web apps. Heroku lets app developers spend 100% of their time on their application code, not managing servers, deployment, ongoing operations, or scaling.
See all alternatives