生态 Serverless 零运维:流量不可预测时"先跑起来"的最短路径
- 一句话
- 零节点、零容量规划,按请求自动扩缩容;on-demand 模式下流量为零时账单为零,是"想法→上线"摩擦最小的托管 KV 库。Zero nodes, zero capacity planning, zero patching — autoscaling per request; under on-demand, zero traffic means a zero bill — the managed KV store with the least friction from "idea" to "live."
- 窄场景
- 新应用/流量尖刺型业务/小团队(无 DBA):workload 模式尚未稳定、峰值不可预测、团队不想在容量规划上花一分钟。AWS 官方 startup 指南建议"用 PostgreSQL/Aurora 等模式稳定后,再把热路径迁到 DynamoDB"——说明舒适区是"模式未定、要快"。New apps / spiky-traffic businesses / small teams (no DBA): workload patterns not yet stable, peaks unpredictable, the team won't spend a minute on capacity planning. AWS's own startup guide advises "use PostgreSQL/Aurora until patterns stabilize, then move hot paths to DynamoDB" — which says in reverse that DynamoDB's comfort zone is "pattern unformed, need speed."
- 机制
- 存储与请求路由层由 AWS 全托管,分区按请求量自动分裂;on-demand 模式即时支撑约 2 倍于历史峰值的流量(30 分钟内超过 2 倍跳变仍可能被 throttle,官方实践指南原话)。对比自建:你要自己算节点数、管 compaction。DynamoDB 把这部分全部外包,换来的代价是计费。Storage and request-routing layers are fully AWS-managed; partitions split automatically with request volume; on-demand instantly sustains ~2x the historical peak (jumps beyond 2x within 30 minutes can still be throttled, per the official practice guide). Versus self-built Cassandra: you size nodes, manage compaction, get paged at 3am. DynamoDB outsources all of that — the price is billing.
- 生产验证
- United Airlines:re:Invent 2024 上 AWS 披露其用 DynamoDB Global Tables 做航班选座系统,看中"极致扩展 + active-active 多 Region 高可用 + 个位数毫秒延迟"(https://aws.amazon.com/blogs/database/amazon-dynamodb-reinvent-2024-recap/);Disney+:1.49 亿用户、60 国,用 Global Tables 支撑 watchlist/播放书签的低延迟访问(https://aws.amazon.com/blogs/database/amazon-dynamodb-use-cases-for-media-and-entertainment-customers/)。United Airlines — disclosed at re:Invent 2024 as using DynamoDB Global Tables for flight seat selection, valued for "extreme scale + active-active multi-Region HA + single-digit-ms latency" (https://aws.amazon.com/blogs/database/amazon-dynamodb-reinvent-2024-recap/); Disney+ — 149M users, 60 countries, Global Tables serving low-latency watchlist/content-recommendation/playback-bookmark access (https://aws.amazon.com/blogs/database/amazon-dynamodb-use-cases-for-media-and-entertainment-customers/).
- 竞品差距
- Cassandra/ScyllaDB——同宽列模型但自运维,运维税高;MongoDB/DocumentDB——文档模型更灵活但极端规模下延迟保证弱。Cassandra/ScyllaDB — same wide-column model but self-operated, high ops tax; MongoDB/DocumentDB — more flexible document model but weaker latency guarantees at extreme scale.
- 证据等级
- 厂商口径(具名客户引用,未独立复现延迟数字)。诚实备注:这是本档案证据最弱的正面招牌——具名大厂细节多经 AWS 官方博客转述。awslabs 指南直言"on-demand 只适合早期/尖刺流量,流量可预测后必须切 provisioned,否则贵 5–7 倍"。Vendor-sourced (named customer references, latency figures not independently reproduced). Honest note: this is the weakest-evidenced positive signature in this profile — named large-company production details come mostly via AWS's own blog. The real-world translation from the awslabs guide: "on-demand fits early/spiky traffic only; once traffic is predictable you must switch to provisioned, or pay 5–7x."
- 最后核验
- 2026-10-012026-10-01