Developer Tools · head to head
Envoy vs Memcached

Envoy
Developer Tools
A high-performance L7 proxy written in C++ that is configured by an API rather than a config file, and is usually deployed under a control plane.
- From
- Free
- Free plan
- Yes
Memcached
Databases
Distributed memory object caching system
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Envoy lists xDS dynamic configuration; only Memcached lists in-memory key-value cache.
- Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
How do Envoy and Memcached differ?
Envoy and Memcached differ on pricing model, platforms and category (Developer Tools against Databases). Only the attributes on which Envoy and Memcached actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Envoy.
Which features does each one have?
They share no listed features; 8 appear only for Envoy and 4 only for Memcached. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Envoy
- xDS dynamic configuration
- Protocol breadth
- Filter chain architecture
- Observability by default
- Outlier detection
- Traffic shaping
- mTLS termination and origination
- Hot restart
Only in Memcached
- In-memory key-value cache
- Multithreaded
- Client-side sharding
- Predictable memory use
What is each one used for?
Memcached is most often brought in for caching expensive database query results to cut load. The jobs each tool is most often brought in to do.
Envoy
- Acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use itnot Memcached
- An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot Memcached
- Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot Memcached
- Standardising observability across a polyglot estate, so that latency, error rates and tracing look the same regardless of the language a service is written innot Memcached
Memcached
- Caching expensive database query results to cut loadnot Envoy
- Session storage where losing sessions on restart is acceptablenot Envoy
- Fronting an API whose responses are costly and change slowlynot Envoy
Where do Envoy and Memcached fall short?
Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Envoy
- The configuration surface is very large and hand-written bootstrap YAML runs to hundreds of lines for routing that Nginx expresses in twenty, which is why nearly every production deployment sits under a control plane and inherits that control plane's constraints as well
- xDS is the real API and it is not stable in the comfortable sense; the v2 API set was removed outright, resource types continue to be deprecated, and your control plane and Envoy binaries have to be upgraded roughly in step or the proxies stop accepting configuration
- Extending it properly means writing a C++ filter and building and maintaining your own Envoy binary; the alternatives are Lua, which adds per-request overhead, and proxy-wasm, whose ABI has remained effectively experimental for years with a real performance cost
- At sidecar density the per-proxy memory and CPU footprint is a measurable share of cluster capacity, since thousands of workloads each carry a full proxy, and this is precisely the cost that has pushed mesh projects towards node-level or ambient architectures
- There is no single vendor selling support for Envoy itself; you get the community plus control-plane vendors such as Solo.io and Tetrate, so an Envoy-level production bug is your own engineers in a C++ codebase unless a support contract happens to cover it
- Diagnosing why a request got a particular response involves reading config dumps, the stats endpoint and the RESPONSE_FLAGS codes in access logs rather than a readable error, which is a specific skill you must hire or spend months growing
Memcached
- No persistence at all: restart a node and its cache is gone, which every design must assume
- No replication or failover, so losing a node loses that share of the cache
- Only simple key-value, with none of the lists, sorted sets or streams Redis offers
- Values are capped at 1MB by default, which surprises teams caching large documents
How much do Envoy and Memcached cost?
Envoy is free to use; Memcached is free to use. Plan by plan below, from each vendor's own pricing page.
Envoy
FreeNo published plan breakdown. See the Envoy review.
Memcached
Free- MemcachedFree
- Full functionality
- Self-hosted
- No usage limits
Which should you pick?
Choose Envoy if
- You need xds dynamic configuration.
- You want to start without paying.
- You also want protocol breadth.
Choose Memcached if
- You need in-memory key-value cache.
- You want to start without paying.
- You work on Linux, macOS, Windows, Self-hosted.
- You also want multithreaded.
Questions people ask
- Is Envoy or Memcached better?
- It depends on the job. Envoy fits acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use it; Memcached fits caching expensive database query results to cut load. Envoy starts at Free and Memcached at Free.
- Which is cheaper, Envoy or Memcached?
- Envoy starts at Free and Memcached at Free.
- Does Envoy or Memcached run on more platforms?
- Envoy runs on Web. Memcached runs on Linux, macOS, Windows, Self-hosted.
- Can I use Envoy for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Envoy best used for?
- Envoy is most often used for acting as the data plane under a service mesh or gateway api implementation, which is how the overwhelming majority of deployments use it, an edge or api gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxying, migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow traffic, standardising observability across a polyglot estate, so that latency, error rates and tracing look the same regardless of the language a service is written in. Of those, acting as the data plane under a service mesh or gateway api implementation, which is how the overwhelming majority of deployments use it and an edge or api gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxying are not what Memcached is typically brought in for.
- What can Envoy do that Memcached cannot?
- Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default. Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use.
Answered from the vendors’ own pages
Envoy: Should I run Envoy on its own, or under a control plane?
Almost always under one. Directly authoring xDS or static bootstrap configuration is viable for a handful of routes and becomes unmanageable beyond that. Envoy Gateway, Istio, Contour, Gloo and Consul all exist to generate that configuration for you.
Memcached: Is Memcached free?
Yes, open source with no licence fee.
Envoy: How does it compare with Nginx or HAProxy?
Envoy is dynamically configured over an API and instrumented far more heavily; Nginx and HAProxy are faster to configure and lighter for straightforward reverse proxying. If you never need to change routing without a reload, Envoy is more machinery than the problem requires.
Memcached: Memcached or Redis?
Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.
Envoy: What does it cost?
Nothing to licence; it is Apache 2.0 and there is no paid edition. The cost is engineering time and, for most organisations, a commercial control plane or cloud service that packages it.
Memcached: Does Memcached persist data?
No. Everything is in memory and lost on restart, by design.
Envoy: Can I write extensions without C++?
You can write Lua filters or proxy-wasm modules in Rust, Go, C++ or AssemblyScript. Both carry per-request overhead compared with a native filter, and the Wasm path has been slower to stabilise than the project originally projected.
Envoy: Is it a CNCF project?
Yes, it is a graduated CNCF project licensed under Apache 2.0, which means the trademark and governance sit with the foundation rather than with Lyft or any vendor.
Related pages
Other head to heads
- Envoy vs Istio
- Envoy vs Ona (formerly Gitpod)
- Envoy vs Spacelift
- Envoy vs Jenkins
- Envoy vs Hookdeck
- Envoy vs Atlantis
- Envoy vs Restate
- Envoy vs Leafmap
- Envoy vs Turborepo
- Envoy vs Helix
- Envoy vs Git
- Envoy vs Okteto
- Envoy vs Coder
- Envoy vs JetBrains IntelliJ IDEA
- Envoy vs Statsig
- Envoy vs Argo CD
- Envoy vs CodeSandbox
- Envoy vs Depot
- Envoy vs Valkey
- Envoy vs Readyset
- Envoy vs Amazon ElastiCache
- Envoy vs Redis
- Envoy vs Dragonfly
- Envoy vs PostgreSQL
- Envoy vs DuckDB
- Envoy vs Apache Pulsar
- Envoy vs NATS
- Envoy vs MySQL
- Envoy vs VictoriaMetrics
- Envoy vs Dgraph
- Envoy vs Google Cloud SQL
- Envoy vs MotherDuck
- Envoy vs Presto
- Envoy vs TIBCO Enterprise Message Service
- Envoy vs VerneMQ
- Envoy vs DynamoDB
- Memcached vs Istio
- Memcached vs Ona (formerly Gitpod)
- Memcached vs Spacelift
- Memcached vs Jenkins
- Memcached vs Hookdeck
- Memcached vs Atlantis
- Memcached vs Restate
- Memcached vs Leafmap
- Memcached vs Turborepo
- Memcached vs Helix
- Memcached vs Git
- Memcached vs Okteto
- Memcached vs Coder
- Memcached vs JetBrains IntelliJ IDEA
- Memcached vs Statsig
- Memcached vs Argo CD
- Memcached vs CodeSandbox
- Memcached vs Depot
- Memcached vs Valkey
- Memcached vs Readyset
- Memcached vs Amazon ElastiCache
- Memcached vs Redis
- Memcached vs Dragonfly
- Memcached vs PostgreSQL
- Memcached vs DuckDB
- Memcached vs Apache Pulsar
- Memcached vs NATS
- Memcached vs MySQL
- Memcached vs VictoriaMetrics
- Memcached vs Dgraph
- Memcached vs Google Cloud SQL
- Memcached vs MotherDuck
- Memcached vs Presto
- Memcached vs TIBCO Enterprise Message Service
- Memcached vs VerneMQ
- Memcached vs DynamoDB
