---
title: "Why Is APISIX Ingress Controller a Better Choice than Emissary-ingress? - API7.ai"
description: "This article compares the performance of APISIX Ingress Controller and Emissary-ingress from multiple dimensions such as scalability and service discovery integration."
url: "https://api7.ai/blog/apisix-ingress-vs-emissary-ingress"
---

[Blog](https://api7.ai/blog)

[Products](https://api7.ai/category/products)[Technology](https://api7.ai/category/technology)[Ecosystem](https://api7.ai/category/ecosystem)[Case Study](https://api7.ai/category/usercase)[Team & Community](https://api7.ai/category/community)

Search

⌘ + K

[Blog](https://api7.ai/blog)

Products

# Why Is APISIX Ingress Controller a Better Choice than Emissary-ingress?

Xin Rong

March 17, 2023

[Products](https://api7.ai/category/products)

## Background Information

Kubernetes Ingress is an API object that is used to define rules for routing external traffic to internal services in a cluster. An Ingress Controller is commonly used to implement the logic of the Ingress resource and manage these traffic rules centrally.

![Ingress](https://static.api7.ai/uploads/2023/02/20/DbvFS0JW_eb480415-2aaf-40b5-bfbd-98649c0d466a.jpeg?imageMogr2/format/webp)

In practice, enterprise users usually need traffic management functions such as mTLS, retries, [rate limiting](https://api7.ai/blog/rate-limiting-in-api-management), and [authentication](https://api7.ai/blog/api-gateway-authentication), which the semantics of the Ingress resource cannot fulfill. Therefore, Ingress Controller implementations usually extend functions by adding additional CRDs. The following will provide a detailed comparison of the differences between APISIX Ingress Controller and Emissary-Ingress implementations.

## What Is Apache APISIX Ingress Controller

[Apache APISIX Ingress Controller](https://github.com/apache/apisix-ingress-controller) is an open-source project under the [ASF (Apache Software Foundation)](https://www.apache.org/). Its control plane configures and delivers resources in Kubernetes, while APISIX handles actual business traffic. To improve security, the entire deployment process uses a completely separated data plane and control plane architecture, effectively avoiding the risk of Kubernetes cluster permission leakage caused by attacks on the data plane.

![apisix-ingress-controller](https://static.api7.ai/uploads/2024/12/24/RwceKwvY_apisix-ingress-architecture.jpeg?imageMogr2/format/webp)

## What Is Emissary-Ingress

[Emissary-Ingress](https://github.com/emissary-ingress/emissary) is an incubating project of [CNCF (Cloud Native Computing Foundation)](https://www.cncf.io/). As the control plane of Envoy proxy, it is responsible for parsing Kubernetes resources, and all traffic is directly processed by Envoy on the data plane. By packaging the control plane and data plane into one container, the whole is easier to access and deploy.

![emissary-ingress](https://static.api7.ai/uploads/2024/12/24/XhwYGsSn_emissary-ingress-architecture.jpg?imageMogr2/format/webp)

## The Difference between APISIX Ingress Controller and Emissary-Ingress

In addition to supporting Ingress resources, both APISIX Ingress Controller and Emissary-Ingress could support configuration through CRDs and Gateway API to supplement the limitations of Ingress semantics.

The following sections will analyze the differences and advantages between the two from perspectives of basic functionalities, service discovery, and scalability.

### Basic Functionalities

|                    |                   |                |                  |
| ------------------ | ----------------- | -------------- | ---------------- |
| Feature            |                   | APISIX Ingress | Emissary-ingress |
| Protocols          | HTTP/HTTPS        | ✓              | ✓                |
|                    | gRPC              | ✓              | ✓                |
|                    | TCP               | ✓              | ✓                |
|                    | UDP               | ✓              | ✕                |
|                    | Websockets        | ✓              | ✓                |
| Load balance       | Round Robin       | ✓              | ✓                |
|                    | Ring Hash         | ✓              | ✓                |
|                    | Least Connections | ✓              | ✓                |
|                    | Maglev            | ✕              | ✓                |
| Authentication     | External Auth     | ✓              | ✓                |
|                    | Basic             | ✓              | ✓                |
|                    | JWT               | ✓              | ✕                |
|                    | OAuth             | ✓              | ✕                |
|                    | OpenID            | ✓              | ✕                |
| Traffic Management | Circuit Breaker   | ✓              | ✓                |
|                    | Rate Limiting     | ✓              | ✓                |
|                    | Canary            | ✓              | ✓                |
|                    | Fault Injection   | ✓              | ✕                |
|                    | Health Checks     | ✓              | ✓                |

Common gateway functions include traffic management, load balancing, and authentication. However, it should be noted that Emissary-Ingress has relatively limited support for authentication, which only contains `Basic Auth` and `External Auth` capabilities.

### Service Discovery

In the [microservices](https://api7.ai/blog/what-are-microservices) architecture, applications are usually broken down into multiple microservices that work together to accomplish specific business logic. Since the number of microservice instances constantly changes, a mechanism is needed to help services discover and locate each other.

Service discovery refers to the way microservices are located on the network by obtaining information about service discovery through the service name to determine which instance the request is routed to.

For traditional microservices frameworks, the selection of a registry is often based on specific business requirements. However, migrating an existing service registration and discovery component to a Kubernetes-based DNS service discovery mechanism can entail certain costs in terms of modifications.

On the other hand, if the gateway supports the current service registration and discovery components, there is no need for such modifications, which can result in better support for microservices frameworks.

Here are the support situations of the two for service discovery components:

| Service Discovery | Apache APISIX Ingress Controller | Emissary-Ingress |
| ----------------- | -------------------------------- | ---------------- |
| Kubernetes        | ✓                                | ✓                |
| DNS               | ✓                                | ✓                |
| Nacos             | ✓                                | ✕                |
| Eureka            | ✓                                | ✕                |
| Consul            | ✓                                | ✓                |

Regarding the [service discovery](https://api7.ai/blog/what-is-service-discovery-in-microservices) ecosystem, APISIX Ingress Controller has stronger support, and users can easily integrate it into their existing microservices framework through the Ingress controller.

### Scalability

When the functionality of the Kubernetes Ingress controller does not meet specific requirements, users can extend its functionality through custom development. More personalized needs can be met by developing custom plugins or modifying existing code. Ingress controllers with robust scalability can make developing and customizing features easier, providing better support and solutions for specific scenarios.

#### Emissary-Ingress

The extensibility of Emissary-Ingress is relatively poor, as it does not support extension through the custom `Envoy Filter.` Since the data plane and control plane are integrated, it requires custom development of the entire system. The complexity of custom development for the data plane `Envoy` is high and significantly burdens developers.

In addition, if users need a more powerful Emissary-Ingress, they need to upgrade it to Ambassador's commercial product [Edge Stack](https://www.getambassador.io/products/edge-stack/api-gateway). Some proprietary features require payments to [obtain support](https://www.getambassador.io/docs/edge-stack/latest/about/faq#can-i-use-the-add-on-features-for-aesambassador-edge-stack-for-free).

#### APISIX Ingress Controller

The data plane of APISIX mainly extends its functionality via [plugins](https://api7.ai/blog/how-to-build-an-apache-apisix-plugin-from-0-to-1), which provide more than 80 out-of-the-box plugins. APISIX Ingress Controller supports all plugins provided by APISIX, which could satisfy most daily use cases.

If customization is needed based on specific business scenarios, APISIX offers multiple extension options for users to choose and combine according to their situations freely. The currently supported extension methods are as follows:

1. Developing plugins using Lua language is relatively simple and almost without any performance loss. In addition, you can use the serverless plugin to write Lua code directly, which can quickly meet business requirements.
2. In addition to the native Lua language, you can also use `Plugin Runner` or `WASM` plugins for extension, which supports developing custom plugins in coding languages such as [Java](https://github.com/apache/apisix-java-plugin-runner), [Python](https://github.com/apache/apisix-python-plugin-runner), and [Go](https://github.com/apache/apisix-go-plugin-runner). This enables users to utilize their existing business logic and select based on their company's technology stack or development preferences without requiring a new language.

APISIX Ingress Controller fully supports the above extension methods without any additional developments.

### Performance

As a Kubernetes ingress traffic proxy component, it manages all incoming platform traffic and uniformly manages various traffic rules, placing higher demands on the proxy's performance.

In this article, we will do performance tests on APISIX Ingress Controller (APISIX: 3.1.0) and Emissary-Ingress 3.4.0 in the same instance (4C 8G).

#### QPS

QPS (Queries-per-second) stands for the number of queries a service can handle per second. The higher the number, the better the performance.

![1-ingress-qps](https://static.api7.ai/uploads/2024/12/24/aqZeF5EF_apisix-ingress-vs-emissary-ingress.jpeg?imageMogr2/format/webp)

- 5000 Ingress Resource QPS

![5000-ingress-qps](https://static.api7.ai/uploads/2024/12/24/0YVIPiL2_apisix-ingress-vs-emissary-ingress-2.jpg?imageMogr2/format/webp)

#### Latency

Response latency: the time it takes for the server to respond. The smaller the delay, the better the performance.

![latency](https://static.api7.ai/uploads/2024/12/24/4O02jRkQ_apisix-ingress-vs-emissary-ingress-3.jpg?imageMogr2/format/webp)

The graph shows that APISIX Ingress Controller maintains consistent performance across different resource scales, demonstrating a well-balanced performance.

On the other hand, Emissary-Ingress significantly impacts QPS and latency when dealing with large resource scales and different routing matches, with performance decreasing as resource numbers increase. Therefore, as business volume grows in actual production environments, APISIX's high-performance becomes more prominent.

## Conclusion

Emissary-Ingress is characterized by simplicity and ease of integration, but more difficult for custom development. Moreover, additional feature requirements rely on the platform's related components for support.

In comparison, APISIX Ingress Controller has advantages in scalability and service discovery integration, with strong extensibility and simple development. Additionally, APISIX Ingress Controller performs exceptionally well, particularly in scenarios where the business scale continues to grow, showing significant advantages.

Tags:

[APISIX Ingress Controller](https://api7.ai/tags/apisix-ingress-controller)

[Kubernetes](https://api7.ai/tags/kubernetes)

[Emissary-Ingress](https://api7.ai/tags/emissary-ingress)

Share article link

Share

Related Posts

[![How to Use Gateway API in APISIX Ingress Controller](https://static.api7.ai/uploads/2024/09/06/jTbR13pX_Gateway%20API.png)](https://api7.ai/blog/how-to-use-gateway-api-in-apisix-ingress-controller)

## [How to Use Gateway API in APISIX Ingress Controller](https://api7.ai/blog/how-to-use-gateway-api-in-apisix-ingress-controller)

[![Why Is APISIX Ingress Controller a Better Choice Compared with Traefik?](https://static.api7.ai/uploads/2024/09/06/ldwwEzTf_APISIX%20Ingress%20Controller-3.png)](https://api7.ai/blog/apisix-ingress-better-than-traefik)

## [Why Is APISIX Ingress Controller a Better Choice Compared with Traefik?](https://api7.ai/blog/apisix-ingress-better-than-traefik)

Table of Contents

- [Background Information](#background-information)

- [What Is Apache APISIX Ingress Controller](#what-is-apache-apisix-ingress-controller)

- [What Is Emissary-Ingress](#what-is-emissary-ingress)

- [The Difference between APISIX Ingress Controller and Emissary-Ingress](#the-difference-between-apisix-ingress-controller-and-emissary-ingress)

  - [Basic Functionalities](#basic-functionalities)
  - [Service Discovery](#service-discovery)
  - [Scalability](#scalability)
  - [Performance](#performance)

- [Conclusion](#conclusion)

## Related Posts

[![APISIX Ingress Controller Integrates with Service Discovery](https://static.api7.ai/uploads/2024/12/25/yzN9mzLr_apisix-ingress-controller-service-discovery.png)](https://api7.ai/blog/apisix-ingress-integrates-with-service-discovery)

Products

January 13, 2023

#### [APISIX Ingress Controller Integrates with Service Discovery](https://api7.ai/blog/apisix-ingress-integrates-with-service-discovery)

APISIX Ingress Controller integrates with service discovery to reduce deployment costs for microservices.

[APISIX Ingress Controller](https://api7.ai/tags/apisix-ingress-controller)

[Kubernetes](https://api7.ai/tags/kubernetes)

[Service Discovery](https://api7.ai/tags/service-discovery)

[![How to Proxy External Services in Apache APISIX Ingress Controller](https://static.api7.ai/uploads/2024/12/24/WADOMxsJ_proxy-services-using-ingress-controller.png)](https://api7.ai/blog/proxy-services-in-apisix-ingress-controller)

Products

January 13, 2023

#### [How to Proxy External Services in Apache APISIX Ingress Controller](https://api7.ai/blog/proxy-services-in-apisix-ingress-controller)

The methods of proxying external services in APISIX Ingress Controller are introduced.

[APISIX Ingress Controller](https://api7.ai/tags/apisix-ingress-controller)

[Kubernetes](https://api7.ai/tags/kubernetes)

[![Why Is APISIX Ingress Controller Better than NGINX Ingress Controller?](https://static.api7.ai/2023/01/05/63b6900e1d793.png)](https://api7.ai/blog/apisix-ingress-vs-ingress-nginx)

Products

December 6, 2022

#### [Why Is APISIX Ingress Controller Better than NGINX Ingress Controller?](https://api7.ai/blog/apisix-ingress-vs-ingress-nginx)

This article mainly compares the basic functionalities of APISIX Ingress and Ingress NGINX. APISIX Ingress is better than Ingress NGINX in terms of scalability, extensibility, and functionality.

[APISIX Ingress Controller](https://api7.ai/tags/apisix-ingress-controller)

[Kubernetes](https://api7.ai/tags/kubernetes)

[Traefik](https://api7.ai/tags/traefik)
