Socket.IO vs Apache Tomcat

Get Advice Icon

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

Socket.IO
Socket.IO

3.4K
2.2K
+ 1
679
Apache Tomcat
Apache Tomcat

4.8K
2.8K
+ 1
195
Add tool

Socket.IO vs Apache Tomcat: What are the differences?

Socket.IO: Realtime application framework (Node.JS server). Socket.IO enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed; 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.

Socket.IO and Apache Tomcat are primarily classified as "Realtime Backend / API" and "Web Servers" tools respectively.

"Real-time" is the primary reason why developers consider Socket.IO over the competitors, whereas "Easy" was stated as the key factor in picking Apache Tomcat.

Socket.IO and Apache Tomcat are both open source tools. It seems that Socket.IO with 46.9K GitHub stars and 8.54K forks on GitHub has more adoption than Apache Tomcat with 3.51K GitHub stars and 2.4K GitHub forks.

According to the StackShare community, Apache Tomcat has a broader approval, being mentioned in 566 company stacks & 430 developers stacks; compared to Socket.IO, which is listed in 560 company stacks and 395 developer stacks.

What is Socket.IO?

It enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.

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 Socket.IO?
Why do developers choose Apache Tomcat?

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

    Be the first to leave a con
    What companies use Socket.IO?
    What companies use Apache Tomcat?

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

    What tools integrate with Socket.IO?
    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 Socket.IO and Apache Tomcat?
    SignalR
    SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization.
    SocketCluster
    SocketCluster is a fast, highly scalable HTTP + realtime server engine which lets you build multi-process realtime servers that make use of all CPU cores on a machine/instance. It removes the limitations of having to run your Node.js server as a single thread and makes your backend resilient by automatically recovering from worker crashes and aggregating errors into a central log.
    PubNub
    PubNub makes it easy for you to add real-time capabilities to your apps, without worrying about the infrastructure. Build apps that allow your users to engage in real-time across mobile, browser, desktop and server.
    Pusher
    Pusher is the category leader in delightful APIs for app developers building communication and collaboration features.
    ExpressJS
    Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
    See all alternatives
    Decisions about Socket.IO and Apache Tomcat
    No stack decisions found
    Interest over time
    Reviews of Socket.IO and Apache Tomcat
    No reviews found
    How developers use Socket.IO and Apache Tomcat
    Avatar of Tony Manso
    Tony Manso uses Socket.IOSocket.IO

    I use Socket.IO because using HTTP requests for a real-time multiplayer game just blows! Even with websockets, I had to scrunch the data being transmitted down to a bare minimum, and do some cheap compression tricks so that I can send data in JSON format. Otherwise, I would have to resort to sending binary data. I may end up doing that anyway when the time comes that I need to scale.

    How do I use it? Each client opens a socket connection at startup. The server keeps track of these connections, and sends each client the visible portion of the Playfield repeatedly. The clients render this information, while sending requests and commands to the server (join,turn,fire,thrust,bomb,viewport change,etc.) in response to the player's actions. The server uses that to make adjustments to the player's ship on the Playfield.

    Avatar of Trello
    Trello uses Socket.IOSocket.IO

    Where we have browser support (recent Chrome, Firefox, and Safari), we make a WebSocket connection so that the server can push changes made by other people down to browsers listening on the appropriate channels. We use a modified version* of the Socket.io client and server libraries that allows us to keep many thousands of open WebSockets on each of our servers at very little cost in terms of CPU or memory usage. So when anything happens to a board you’re watching, that action is published to our server processes and propagated to your watching browser with very minimal latency, usually well under a second.

    Avatar of Kent Steiner
    Kent Steiner uses Socket.IOSocket.IO

    Socket.IO has a decent community footprint, including integrations with popular JS frameworks, and has fallbacks to maintain an app's services if websockets are not available for some reason. Websockets are an important factor in most of the web-facing apps I build, to provide asynchronous two-way communication between the app and whatever server or data source it is connected to.

    Avatar of Andrew Gatenby
    Andrew Gatenby uses Socket.IOSocket.IO

    Another one that we're not using, yet. But have realtime data updates within our applications and the central API will be a great bit of functionality that gives our clients more control and keep them informed of changes and updates in their stores, in real time.

    Avatar of AngeloR
    AngeloR uses Socket.IOSocket.IO

    Socket.io is used as our current multiplayer engine. The existing engine is very simplistic and only utilizes the websocket+http fallback transports and serves as a generic world/zone/screen grouping mechanism for displaying users to each other.

    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.

    How much does Socket.IO cost?
    How much does Apache Tomcat cost?
    Pricing unavailable
    Pricing unavailable
    News about Socket.IO
    More news