StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Platform as a Service
  4. Web Servers
  5. Envoy vs nginx

Envoy vs nginx

OverviewDecisionsComparisonAlternatives

Overview

NGINX
NGINX
Stacks115.0K
Followers61.9K
Votes5.5K
GitHub Stars28.4K
Forks7.6K
Envoy
Envoy
Stacks304
Followers546
Votes9
GitHub Stars27.0K
Forks5.1K

Envoy vs nginx: What are the differences?

Envoy and Nginx are both open-source, high-performance web servers, but they cater to different needs. Envoy is a service mesh proxy designed for microservices architectures, offering advanced features like load balancing, circuit breaking, and health checks. Nginx excels at static content delivery and traditional web serving, known for its stability and ease of use. Here are the key differences between the two.

  1. Architecture: Envoy and nginx have different architectures. Envoy is designed as a service proxy and follows a sidecar architecture, where it runs alongside each service application instance. On the other hand, nginx is a reverse proxy server that typically runs on a separate server and handles incoming client requests. This architectural difference allows Envoy to provide more advanced features like service discovery, load balancing, and circuit-breaking.
  2. API Abstraction: Envoy and nginx have different levels of API abstraction. Envoy is designed to provide a more granular control over the underlying network communication, providing a rich set of configuration options through its API. In contrast, nginx provides a more abstract and simplified API, which makes it easier to configure for basic use cases but may limit the flexibility for more complex deployments.
  3. Extensibility: Envoy and nginx offer different levels of extensibility. Envoy has a modular architecture that allows users to plug in custom filters and extensions at various network layers, enabling the implementation of custom logic and integration with different systems. Nginx also supports some level of extensibility through modules, but the options are more limited compared to Envoy.
  4. Protocol Support: Envoy and nginx have different levels of protocol support. Envoy is built to handle modern protocols like gRPC and HTTP/2 out of the box, along with HTTP/1.1 and TCP. Nginx also supports these protocols but may require additional configuration or modules to handle newer protocols like gRPC effectively.
  5. Observability and Debugging: Envoy and nginx provide different observability and debugging capabilities. Envoy has built-in support for distributed tracing, request-level logs, and metrics, making it easier to monitor and analyze the behavior of your services. Nginx also provides logging and metrics capabilities but may require additional setup or third-party tools for tracing and advanced monitoring.
  6. Community and Ecosystem: Envoy and nginx have different community sizes and ecosystems. Envoy has gained significant traction in the cloud-native community and has a large and active community supporting its development and maintenance. Nginx has been around for a longer time and also has a strong community, but its ecosystem is more focused on traditional web server use cases.

In summary, Envoy, a service mesh proxy, shines in the dynamic world of microservices, offering advanced functionalities like load balancing and health checks. Nginx, on the other hand, reigns supreme in the realm of static content delivery, known for its stability and ease of use.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on NGINX, Envoy

greg00m
greg00m

Mar 9, 2020

Needs advice

I am diving into web development, both front and back end. I feel comfortable with administration, scripting and moderate coding in bash, Python and C++, but I am also a Windows fan (i love inner conflict). What are the votes on web servers? IIS is expensive and restrictive (has Windows adoption of open source changed this?) Apache has the history but seems to be at the root of most of my Infosec issues, and I know nothing about nginx (is it too new to rely on?). And no, I don't know what I want to do on the web explicitly, but hosting and data storage (both cloud and tape) are possibilities.
Ready, aim fire!

766k views766k
Comments
jlp78
jlp78

May 31, 2019

ReviewonNGINXNGINX

I use nginx because it is very light weight. Where Apache tries to include everything in the web server, nginx opts to have external programs/facilities take care of that so the web server can focus on efficiently serving web pages. While this can seem inefficient, it limits the number of new bugs found in the web server, which is the element that faces the client most directly.

727k views727k
Comments
StackShare
StackShare

May 29, 2019

Needs advice

From a StackShare Community member: "We are a LAMP shop currently focused on improving web performance for our customers. We have made many front-end optimizations and now we are considering replacing Apache with nginx. I was wondering if others saw a noticeable performance gain or any other benefits by switching."

725k views725k
Comments

Detailed Comparison

NGINX
NGINX
Envoy
Envoy

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.

Originally built at Lyft, Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures.

Statistics
GitHub Stars
28.4K
GitHub Stars
27.0K
GitHub Forks
7.6K
GitHub Forks
5.1K
Stacks
115.0K
Stacks
304
Followers
61.9K
Followers
546
Votes
5.5K
Votes
9
Pros & Cons
Pros
  • 1453
    High-performance http server
  • 895
    Performance
  • 730
    Easy to configure
  • 607
    Open source
  • 530
    Load balancer
Cons
  • 10
    Advanced features require subscription
Pros
  • 9
    GRPC-Web

What are some alternatives to NGINX, Envoy?

Apache HTTP Server

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.

HAProxy

HAProxy

HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

Unicorn

Unicorn

Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be served by placing a reverse proxy capable of fully buffering both the the request and response in between Unicorn and slow clients.

Microsoft IIS

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.

Apache Tomcat

Apache Tomcat

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

Passenger

Passenger

Phusion Passenger is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex.

Traefik

Traefik

A modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically.

Gunicorn

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.

AWS Elastic Load Balancing (ELB)

AWS Elastic Load Balancing (ELB)

With Elastic Load Balancing, you can add and remove EC2 instances as your needs change without disrupting the overall flow of information. If one EC2 instance fails, Elastic Load Balancing automatically reroutes the traffic to the remaining running EC2 instances. If the failed EC2 instance is restored, Elastic Load Balancing restores the traffic to that instance. Elastic Load Balancing offers clients a single point of contact, and it can also serve as the first line of defense against attacks on your network. You can offload the work of encryption and decryption to Elastic Load Balancing, so your servers can focus on their main task.

Jetty

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.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot