Databases · head to head
DynamoDB vs etcd

DynamoDB
Databases
AWS-only managed key-value and document database with fixed per-partition throughput limits and no ad hoc queries.
- From
- Free
- Free plan
- Yes

etcd
Databases
A distributed key-value store using Raft consensus, built for cluster coordination rather than application data.
- From
- Free
- Free plan
- Yes
The short version
- etcd is free; DynamoDB starts at $0.625/mo.
- Only DynamoDB lists managed and serverless; only etcd lists raft consensus.
How do DynamoDB and etcd differ?
DynamoDB and etcd differ on pricing model (Usage-based against Open-source), platforms (AWS against Web) and year founded (2006 against 2013). Only the attributes on which DynamoDB and etcd actually diverge.
Identical on both: starting price (Free), free tier (Yes), category (Databases).
Which features does each one have?
They share 1 listed feature; 9 appear only for DynamoDB and 7 only for etcd. 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 DynamoDB
- Managed and serverless
- Predictable latency
- On-demand or provisioned capacity
- Global secondary indexes
- DynamoDB Streams
- Global tables
- Point-in-time recovery
- Time to live
Only in etcd
- Raft consensus
- Linearizable reads
- Leases
- Watches
- MVCC revision history
- Role-based access control
- Snapshot backup and restore
Both cover
- Transactions
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.
DynamoDB
- High-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and knownnot etcd
- Traffic that spikes unpredictably, where on-demand capacity absorbs a burst without a capacity-planning exercisenot etcd
- Serverless applications on Lambda, where an HTTP-based datastore avoids the connection pooling problem relational databases havenot etcd
- Event or telemetry ingestion where writes vastly outnumber reads and each record is retrieved by a known identifiernot etcd
etcd
- Storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doingnot DynamoDB
- Leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactionsnot DynamoDB
- Service discovery and dynamic configuration where readers need to be notified of changes rather than poll for themnot DynamoDB
- Coordinating failover in a clustered database, as Patroni does for PostgreSQLnot DynamoDB
Where do DynamoDB and etcd fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
DynamoDB
- Access patterns must be designed into the key schema before launch; a query nobody anticipated needs a new global secondary index, which is a full extra copy of the projected attributes billed as storage and as writes, or an offline migration
- Global secondary indexes are eventually consistent and cannot be read strongly, so a read-after-write against an index can legitimately miss the item that was just written, and application code must be written to tolerate that
- Per-partition throughput is capped at roughly 3,000 read and 1,000 write units, so a hot key throttles even when the table has spare capacity overall, and the only real fix is changing the key design to spread the load
- Items are limited to 400 KB and query results paginate at 1 MB, so large or list-shaped data has to be split, offloaded to S3 with a pointer, or read through pagination loops that complicate every consumer
- It runs only on AWS and the API is proprietary rather than a standard, so moving the data layer means rewriting it; ScyllaDB's Alternator is the only meaningfully compatible target and it brings a much smaller ecosystem
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
How much do DynamoDB and etcd cost?
DynamoDB has a free plan, with paid plans from $0.625/mo; etcd is free to use. Plan by plan below, from each vendor's own pricing page.
DynamoDB
Free- On-Demand CapacityOn request
- Pay-per-request pricing with automatic scaling
- Read: 0.5 RRU per 4 KB (eventually consistent), 1 RRU per 4 KB (strongly consistent), 2 RRU per 4 KB (transactional)
- Write: 1 WRU per 1 KB
- Provisioned CapacityOn request
- Fixed hourly charges based on reserved capacity
- RCU rate: $0.00013 per hour (Standard)
- WCU rate: $0.00065 per hour (Standard)
- Standard Table Class Storage$0.25/per gb/month
- $0.25 per GB/month after free tier
- First 25 GB free per month (free tier)
- Standard-Infrequent Access Table Class$0.1/per gb/month
- $0.10 per GB/month
etcd
FreeNo published plan breakdown. See the etcd review.
Which should you pick?
Choose DynamoDB if
- You need managed and serverless.
- You want to start without paying.
- You work on AWS.
- You also want predictable latency.
Choose etcd if
- You need raft consensus.
- You want to start without paying.
- You also want linearizable reads.
Questions people ask
- Is DynamoDB or etcd better?
- It depends on the job. DynamoDB fits high-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and known; etcd fits storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing. DynamoDB starts at Free and etcd at Free.
- Which is cheaper, DynamoDB or etcd?
- DynamoDB starts at Free and etcd at Free.
- Does DynamoDB or etcd run on more platforms?
- DynamoDB runs on AWS. etcd runs on Web.
- Can I use DynamoDB for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is DynamoDB best used for?
- DynamoDB is most often used for high-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and known, traffic that spikes unpredictably, where on-demand capacity absorbs a burst without a capacity-planning exercise, serverless applications on lambda, where an http-based datastore avoids the connection pooling problem relational databases have, event or telemetry ingestion where writes vastly outnumber reads and each record is retrieved by a known identifier. Of those, high-volume keyed workloads such as sessions, shopping carts, device state or user profiles where the access pattern is fixed and known and traffic that spikes unpredictably, where on-demand capacity absorbs a burst without a capacity-planning exercise are not what etcd is typically brought in for.
- What can DynamoDB do that etcd cannot?
- DynamoDB covers Managed and serverless, Predictable latency, On-demand or provisioned capacity, Global secondary indexes. etcd covers Raft consensus, Linearizable reads, Leases, Watches. Both handle Transactions.
Answered from the vendors’ own pages
DynamoDB: On-demand or provisioned capacity?
On-demand suits unpredictable or spiky traffic and removes capacity planning. Provisioned with autoscaling is considerably cheaper for steady high-volume workloads. Tables can be switched between them, though not arbitrarily often.
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.
DynamoDB: Can I run DynamoDB outside AWS?
No. DynamoDB Local exists for development and testing only. For a production-compatible alternative elsewhere, ScyllaDB's Alternator implements the DynamoDB API, but it is a different system with a different ecosystem.
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.
DynamoDB: Can I run ad hoc queries or analytics?
Not on the table itself. Scans are slow and expensive at scale. The usual pattern is to export to S3 or stream changes out and query them in Athena, Redshift or another analytical engine.
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.
DynamoDB: Is single-table design necessary?
It is the pattern that gets the most from DynamoDB when access patterns are well known, because it lets related items be retrieved in one query. It also makes the model harder to evolve, so many teams reasonably choose multiple simpler tables and accept extra requests.
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.
DynamoDB: What are the real limits I should design around?
400 KB per item, 1 MB per query or scan page, 100 items per transaction, roughly 3,000 read and 1,000 write units per partition, and eventual consistency on global secondary indexes.
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.
Related pages
Other head to heads
- DynamoDB vs ScyllaDB
- DynamoDB vs FaunaDB
- DynamoDB vs Couchbase
- DynamoDB vs MongoDB
- DynamoDB vs Elasticsearch
- DynamoDB vs Cassandra
- DynamoDB vs Azure Cosmos DB
- DynamoDB vs Firestore
- DynamoDB vs DataStax
- DynamoDB vs Aerospike
- DynamoDB vs BigQuery
- DynamoDB vs Neo4j
- DynamoDB vs TiDB
- DynamoDB vs Typesense
- DynamoDB vs Dragonfly
- DynamoDB vs MongoDB Atlas
- DynamoDB vs Apache Doris
- DynamoDB vs Apache Solr
- DynamoDB vs Redis
- DynamoDB vs Valkey
- DynamoDB vs Timeplus
- DynamoDB vs Firebase Realtime Database
- DynamoDB vs Knack
- DynamoDB vs Turso
- DynamoDB vs Dgraph
- DynamoDB vs turbopuffer
- DynamoDB vs Apache HBase
- DynamoDB vs StarRocks
- DynamoDB vs Aiven
- DynamoDB vs Meilisearch
- DynamoDB vs Apache Airflow
- DynamoDB vs Apache Pulsar
- etcd vs ScyllaDB
- etcd vs FaunaDB
- etcd vs Couchbase
- etcd vs MongoDB
- etcd vs Elasticsearch
- etcd vs Cassandra
- etcd vs Azure Cosmos DB
- etcd vs Firestore
- etcd vs DataStax
- etcd vs Aerospike
- etcd vs BigQuery
- etcd vs Neo4j
- etcd vs TiDB
- etcd vs Typesense
- etcd vs Dragonfly
- etcd vs MongoDB Atlas
- etcd vs Apache Doris
- etcd vs Apache Solr
- etcd vs Redis
- etcd vs Valkey
- etcd vs Timeplus
- etcd vs Firebase Realtime Database
- etcd vs Knack
- 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
