What Is a Proxy?
A proxy acts as an intermediary between a user and an application. Instead of embedding additional functionalities—such as TLS encryption, authentication, and request retries—directly into your application, these tasks can be offloaded to a proxy. This approach enables developers to concentrate on the core business logic while the proxy handles supplementary operations. In this setup, a user sends a request to the proxy, which then forwards it to the application for processing.
Introduction to Envoy
Envoy is an open-source proxy designed specifically for modern, service-oriented architectures. Originally developed at Lyft in 2015 to address microservices challenges, Envoy quickly proved its worth in distributed systems. It joined the Cloud Native Computing Foundation (CNCF) in 2017 and reached graduate status in 2018, signifying its robustness, production readiness, and strong community support. Envoy operates both as a proxy and as a communication bus with advanced routing capabilities. Typically, Envoy is deployed as a sidecar container alongside your primary application containers. This design ensures that all inbound and outbound pod traffic is managed by Envoy, which enhances communication handling and offloads additional features from your application.Deploying Envoy as a sidecar container is a best practice in service mesh environments, as it ensures consistent traffic management across all microservices.
