Get Advice Icon

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

Apache HTTP Server
Apache HTTP Server

45K
6.9K
+ 1
1.4K
Sanic
Sanic

38
38
+ 1
7
Add tool

Apache HTTP Server vs Sanic: What are the differences?

Apache HTTP Server: The most popular web server on the Internet since April 1996. 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; Sanic: Python 3.5+ web server that's written to go fast. Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's based on the work done by the amazing folks at magicstack. On top of being Flask-like, Sanic supports async request handlers.

Apache HTTP Server and Sanic can be primarily classified as "Web Servers" tools.

"Web server" is the primary reason why developers consider Apache HTTP Server over the competitors, whereas "Asyncio" was stated as the key factor in picking Sanic.

Apache HTTP Server and Sanic are both open source tools. Sanic with 12.3K GitHub stars and 1.15K forks on GitHub appears to be more popular than Apache HTTP Server with 2.19K GitHub stars and 652 GitHub forks.

According to the StackShare community, Apache HTTP Server has a broader approval, being mentioned in 6176 company stacks & 1048 developers stacks; compared to Sanic, which is listed in 5 company stacks and 6 developer stacks.

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

What is Sanic?

Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's based on the work done by the amazing folks at magicstack. On top of being Flask-like, Sanic supports async request handlers.
Get Advice Icon

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

Why do developers choose Apache HTTP Server?
Why do developers choose Sanic?

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

    Be the first to leave a con
      Be the first to leave a con
      What companies use Apache HTTP Server?
      What companies use Sanic?

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

      What tools integrate with Apache HTTP Server?
      What tools integrate with Sanic?

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

      What are some alternatives to Apache HTTP Server and Sanic?
      Apache Tomcat
      Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
      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.
      JBoss
      An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.
      Jetty
      Jetty is used in a wide variety of projects and products, both in development and production. Jetty can be easily embedded in devices, tools, frameworks, application servers, and clusters. See the Jetty Powered page for more uses of Jetty.
      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.
      See all alternatives
      Decisions about Apache HTTP Server and Sanic
      Tim Abbott
      Tim Abbott
      Founder at Zulip | 5 upvotes 40.9K views
      atZulipZulip
      Apache HTTP Server
      Apache HTTP Server
      nginx
      nginx

      We've been happy with nginx as part of our stack. As an open source web application that folks install on-premise, the configuration system for the webserver is pretty important to us. I have a few complaints (e.g. the configuration syntax for conditionals is a pain), but overall we've found it pretty easy to build a configurable set of options (see link) for how to run Zulip on nginx, both directly and with a remote reverse proxy in front of it, with a minimum of code duplication.

      Certainly I've been a lot happier with it than I was working with Apache HTTP Server in past projects.

      See more
      Marcel Kornegoor
      Marcel Kornegoor
      CTO at AT Computing | 6 upvotes 15K views
      Apache HTTP Server
      Apache HTTP Server
      nginx
      nginx

      nginx or Apache HTTP Server that's the question. The best choice depends on what it needs to serve. In general, Nginx performs better with static content, where Apache and Nginx score roughly the same when it comes to dynamic content. Since most webpages and web-applications use both static and dynamic content, a combination of both platforms may be the best solution.

      Since both webservers are easy to deploy and free to use, setting up a performance or feature comparison test is no big deal. This way you can see what solutions suits your application or content best. Don't forget to look at other aspects, like security, back-end compatibility (easy of integration) and manageability, as well.

      A reasonably good comparison between the two can be found in the link below.

      See more
      Interest over time
      Reviews of Apache HTTP Server and Sanic
      No reviews found
      How developers use Apache HTTP Server and Sanic
      Avatar of Climate CoLab
      Climate CoLab uses Apache HTTP ServerApache HTTP Server

      We use httpd in front of our Tomcat web server. Apache terminates the TLS connections and forwards to the embedded Tomcat server(s) for request processing. We also use it as load balancer for multi-server deployments.

      Avatar of eXon Technologies
      eXon Technologies uses Apache HTTP ServerApache HTTP Server

      Most known webserver. We are using Apache due to his htaccess feature but its just a backedn to proccess PHP. In font of Apache we are using NGINX to server static files

      Avatar of The Independent
      The Independent uses Apache HTTP ServerApache HTTP Server

      Apache splits static traffic from application traffic, as well as providing a selection of tools to assist in running of the site (rewrites, logging etc).

      Avatar of Suburban Express
      Suburban Express uses Apache HTTP ServerApache HTTP Server

      Primary web server, delivers PHP-rendered pages as well as static HTML content. Ruby CGIs deliver objects to browser-side code using REST/JSON

      Avatar of SAP Hybris
      SAP Hybris uses Apache HTTP ServerApache HTTP Server

      modproxybalancer provides highly concurrent end-user browser connections, and manages session routing to the application cluster

      How much does Apache HTTP Server cost?
      How much does Sanic cost?
      Pricing unavailable
      Pricing unavailable
      News about Apache HTTP Server
      More news