Envoy is a high-performance edge and service proxy designed for cloud-native applications. It powers Istio, AWS App Mesh, and many other service meshes.
What You Get for Free
- L3/L4 filter architecture — TCP proxy, rate limiting
- HTTP L7 routing — path, header, query-based routing
- gRPC support — native gRPC proxying
- Service discovery — DNS, EDS, custom
- Health checking — active and passive
- Load balancing — round-robin, least-request, ring-hash
- Observability — stats, tracing, logging built-in
- Hot restart — zero-downtime config updates
Simple Config
static_resources:
listeners:
- address:
socket_address: { address: 0.0.0.0, port_value: 8080 }
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
route_config:
virtual_hosts:
- name: backend
routes:
- match: { prefix: "/" }
route: { cluster: backend }
clusters:
- name: backend
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address: { address: 127.0.0.1, port_value: 3000 }
Envoy vs Nginx
| Feature | Envoy | Nginx |
|---|---|---|
| Config | API-driven | File-based |
| gRPC | Native | Limited |
| Observability | Built-in | Module |
| Hot reload | Zero-downtime | Graceful |
Need proxy architecture help? Check my work on GitHub or email spinov001@gmail.com for consulting.
Top comments (0)