Databases · head to head
etcd vs Istio

etcd
Databases
A distributed key-value store using Raft consensus, built for cluster coordination rather than application data.
- From
- Free
- Free plan
- Yes

Istio
Developer Tools
A Kubernetes service mesh that adds mutual TLS, traffic control and telemetry between services without changing application code.
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only etcd lists raft consensus; only Istio lists automatic mutual TLS.
How do etcd and Istio differ?
etcd and Istio differ on category (Databases against Developer Tools) and year founded (2013 against 2016). Only the attributes on which etcd and Istio actually diverge.
Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes), platforms (Web).
Which features does each one have?
They share no listed features; 8 appear only for etcd and 8 only for Istio. 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 etcd
- Raft consensus
- Linearizable reads
- Transactions
- Leases
- Watches
- MVCC revision history
- Role-based access control
- Snapshot backup and restore
Only in Istio
- Automatic mutual TLS
- Traffic splitting
- Resilience policies
- Authorization policies
- Uniform telemetry
- Ambient mode
- Gateway API support
- Multi-cluster mesh
What is each one used for?
etcd is most often brought in for coordinating failover in a clustered database, as Patroni does for PostgreSQL. The jobs each tool is most often brought in to do.
etcd
- Storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doingnot Istio
- Leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactionsnot Istio
- Service discovery and dynamic configuration where readers need to be notified of changes rather than poll for themnot Istio
- Coordinating failover in a clustered database, as Patroni does for PostgreSQLnot Istio
Istio
- Proving to an auditor that all internal service traffic is encrypted and authenticated, as a platform property rather than a per-team promisenot etcd
- Progressive delivery, where releases shift traffic by percentage or header and roll back without a redeploynot etcd
- A polyglot estate where implementing retries, timeouts and tracing in every language's client library has already failednot etcd
- Connecting several Kubernetes clusters into one addressable service namespace with shared workload identitynot etcd
Where do etcd and Istio fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
etcd
- It is sized for coordination data, not application data: the default backend quota is 2 GB and 8 GB is the documented recommended maximum, and exceeding it puts the cluster into a NOSPACE alarm where it accepts no writes until an operator compacts, defragments and clears the alarm by hand
- Every write is replicated and fsynced before acknowledgement, so cluster performance is bounded by the slowest disk in it; a member on network-attached storage with high fsync latency causes leader elections and cluster-wide latency spikes that look like network problems and are not
- Adding members increases availability but reduces write throughput, because each write must reach a larger quorum; you run three or five members for fault tolerance, and increasing capacity means faster hardware rather than more nodes
- There is no sharding and no multi-tenancy, so isolating workloads means running separate clusters, each with its own quorum, certificates, backup schedule and upgrade path, and that operational multiplication is often unexpected
- Running it yourself is a real job: periodic compaction and defragmentation, snapshot backups you have actually rehearsed restoring, and rotation of both peer and client TLS certificates, none of which happens automatically outside a managed Kubernetes service
- Losing quorum is not self-healing; recovering a cluster that has lost a majority means restoring from a snapshot and accepting that everything written since that snapshot is gone, which makes backup frequency a data-loss budget decision rather than a routine setting
Istio
- Sidecar mode adds an Envoy container to every pod, which costs CPU and memory per workload and adds a hop of latency in each direction, and it introduces a startup ordering problem where an application container can begin making calls before its proxy is ready
- Upgrades are projects rather than patches: you run revisioned control planes, canary the new revision and restart every workload to pick up new sidecars, and Istio supports only a narrow band of recent minor versions, so this recurs roughly quarterly for as long as you run it
- The API surface is large, spanning VirtualService, DestinationRule, Gateway, PeerAuthentication, AuthorizationPolicy, Sidecar and the Kubernetes Gateway API, and a mistake usually appears as a 503 with an Envoy response flag rather than a rejected configuration, so debugging requires Envoy knowledge, not just Istio knowledge
- Ambient mode removes the sidecar but is a different architecture with its own components and does not cover every feature the sidecar path does, so adopting it is a migration and a re-test of your policies rather than a configuration switch
- It is Kubernetes-first; adding virtual machine workloads to the mesh is supported but much less well-trodden, so a mixed estate of Kubernetes and VMs ends up maintaining two networking and identity models
- Below a few dozen services, most of what teams actually want (encrypted internal traffic, retries, weighted rollouts) is available from a cloud load balancer or from Linkerd with a fraction of the components, and at that scale Istio commonly becomes the single largest source of production incidents
How much do etcd and Istio cost?
etcd is free to use; Istio is free to use. Plan by plan below, from each vendor's own pricing page.
etcd
FreeNo published plan breakdown. See the etcd review.
Istio
Free- Open SourceFree
- self-hosted installation
- service mesh capabilities
- cloud native computing foundation project
Which should you pick?
Choose etcd if
- You need raft consensus.
- You want to start without paying.
- You also want linearizable reads.
Choose Istio if
- You need automatic mutual tls.
- You want to start without paying.
- You also want traffic splitting.
Questions people ask
- Is etcd or Istio better?
- It depends on the job. etcd fits storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing; Istio fits proving to an auditor that all internal service traffic is encrypted and authenticated, as a platform property rather than a per-team promise. etcd starts at Free and Istio at Free.
- Which is cheaper, etcd or Istio?
- etcd starts at Free and Istio at Free.
- Does etcd or Istio run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use etcd for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is etcd best used for?
- etcd is most often used for storing kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing, leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactions, service discovery and dynamic configuration where readers need to be notified of changes rather than poll for them, coordinating failover in a clustered database, as patroni does for postgresql. Of those, storing kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing and leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactions are not what Istio is typically brought in for.
- What can etcd do that Istio cannot?
- etcd covers Raft consensus, Linearizable reads, Transactions, Leases. Istio covers Automatic mutual TLS, Traffic splitting, Resilience policies, Authorization policies.
Answered from the vendors’ own pages
etcd: Can I use etcd as an application database?
No. It is designed for metadata and coordination, with a recommended maximum store size of around 8 GB, no sharding and a write path deliberately optimised for durability rather than throughput. Application data belongs in a database built for it.
Istio: Do we need a service mesh at all?
Only if you have enough services, or a compliance requirement, that implementing mTLS, retries and tracing per language has become unmanageable. Below roughly a few dozen services, an ingress controller plus good client libraries usually delivers more reliability for less operational cost.
etcd: How many members should a cluster have?
Three for most cases, five where you need to survive two simultaneous failures. Always an odd number, because an even-sized cluster gains no additional fault tolerance while making quorum harder to reach.
Istio: Sidecar mode or ambient mode?
Ambient removes the per-pod proxy and its startup ordering problems and costs less at high pod counts, but it is a newer architecture and does not cover every sidecar feature. New deployments should evaluate ambient first; existing sidecar meshes should treat the move as a migration project.
etcd: What happens when the store fills up?
The cluster raises a NOSPACE alarm and stops accepting writes, becoming effectively read-only. Recovery requires compacting old revisions, defragmenting each member and then explicitly disarming the alarm, all done by an operator.
Istio: How does it compare with Linkerd?
Linkerd is deliberately smaller, uses its own Rust proxy rather than Envoy, and is quicker to operate; Istio has a far larger feature surface, multi-cluster and VM support, and broader vendor backing. Note that Linkerd's stable distribution builds are commercially licensed by Buoyant, whereas Istio's releases are freely available.
etcd: Why is my etcd cluster slow or unstable?
Almost always disk latency. Because every write is fsynced before acknowledgement, slow or shared storage causes heartbeat timeouts, leader elections and cascading latency. Local SSDs with low fsync latency are effectively a requirement.
Istio: Who supports it commercially?
Solo.io and Tetrate sell supported distributions and control planes, and Google offers Cloud Service Mesh as a managed option. The upstream project itself is CNCF-governed with community support.
etcd: How does it compare with Consul or ZooKeeper?
All three provide consensus-backed coordination. etcd has the simplest data model and the Kubernetes ecosystem behind it; Consul bundles service discovery, health checking and a service mesh; ZooKeeper is older, JVM-based and still common under Kafka and Hadoop-era systems.
Istio: Does it work outside Kubernetes?
Partly. Virtual machine workloads can be added to a mesh, but the tooling, documentation and community experience are heavily Kubernetes-centred, so a VM-majority estate is fighting the grain of the project.
Related pages
Other head to heads
- etcd vs Redis
- etcd vs Valkey
- etcd vs DynamoDB
- etcd vs Timeplus
- etcd vs Firebase Realtime Database
- etcd vs Knack
- etcd vs BigQuery
- etcd vs TiDB
- etcd vs Turso
- etcd vs Dgraph
- etcd vs turbopuffer
- etcd vs Apache HBase
- etcd vs StarRocks
- etcd vs Aiven
- etcd vs Meilisearch
- etcd vs Apache Airflow
- etcd vs Apache Pulsar
- etcd vs Cassandra
- etcd vs Envoy
- etcd vs Okteto
- etcd vs Spacelift
- etcd vs Hookdeck
- etcd vs OpsLevel
- etcd vs Ona (formerly Gitpod)
- etcd vs Garden
- etcd vs Atlantis
- etcd vs Cloud Native Buildpacks
- etcd vs Cortex
- etcd vs Restate
- etcd vs Git
- etcd vs GNAT Pro
- etcd vs HCP Terraform
- etcd vs JetBrains Rider
- etcd vs Moonrepo
- etcd vs Particle
- etcd vs Kubernetes
- Istio vs Redis
- Istio vs Valkey
- Istio vs DynamoDB
- Istio vs Timeplus
- Istio vs Firebase Realtime Database
- Istio vs Knack
- Istio vs BigQuery
- Istio vs TiDB
- Istio vs Turso
- Istio vs Dgraph
- Istio vs turbopuffer
- Istio vs Apache HBase
- Istio vs StarRocks
- Istio vs Aiven
- Istio vs Meilisearch
- Istio vs Apache Airflow
- Istio vs Apache Pulsar
- Istio vs Cassandra
- Istio vs Envoy
- Istio vs Okteto
- Istio vs Spacelift
- Istio vs Hookdeck
- Istio vs OpsLevel
- Istio vs Ona (formerly Gitpod)
- Istio vs Garden
- Istio vs Atlantis
- Istio vs Cloud Native Buildpacks
- Istio vs Cortex
- Istio vs Restate
- Istio vs Git
- Istio vs GNAT Pro
- Istio vs HCP Terraform
- Istio vs JetBrains Rider
- Istio vs Moonrepo
- Istio vs Particle
- Istio vs Kubernetes
