S3 是未来,S3 是过去。
S3 Is the Future, S3 Is the Past

原始链接: https://btrblocks.com/blog/s3_is_the_future_and_the_past/

Amazon S3 已成为现代云架构的基石,提供了巨大的规模和持久性。然而,它从根本上是基于硬盘驱动器技术构建的,这带来了重大的性能限制。开发人员目前不得不支付一种“架构税”,即需要复杂的缓存、元数据存储和批处理策略来克服 S3 的高延迟和随机访问效率低下的问题。 虽然硬件已经发展——固态硬盘(SSD)和高速网络现在能够提供亚毫秒级的性能——但云行业仍然受限于老旧的 S3 模型。亚马逊近期尝试的基于 SSD 的存储(如 S3 Express One Zone)依然昂贵、小众且持久性受限。作者认为,这种停滞并非源于技术限制,而是商业惯性所致;云服务提供商几乎没有动力去颠覆目前利润丰厚的现状。 目前,整个行业正在将旨在规避这些不再必要之限制的架构模式标准化。由于云服务提供商不太可能自毁其遗留基础设施,作者得出结论:下一代数据系统必须由独立的创新者构建,利用现代 SSD 和高速网络,创造出一种比以 S3 为中心的范式更快、更高效的替代方案。

Hacker News 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 S3 是未来,S3 是过去 ( btrblocks.com ) 8 分 由 tkhattra 发布于 1 小时前 | 隐藏 | 往期 | 收藏 | 1 条评论 帮助 PunchyHamster 5 分钟前 [–] > S3 的主导地位源于它的诸多优势:近乎无限的容量、高持久性以及极低的每 GB 存储成本。 它并不“便宜”。S3 使用 6 个月的费用大约相当于直接购买一块 4TB 固态硬盘的零售价。这还没算上你之后产生的任何 IOPS(输入输出操作)费用。 S3 在任何方面都是一笔糟糕的交易。它仅仅是方便而已。 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系方式 搜索:
相关文章

原文

Amazon S3, and its analogues in other clouds, have become the foundation of the modern cloud software architecture. Today, nearly every data-intensive system is being built around S3. However, the hardware assumptions baked into S3’s design – and into all the software architectures that have emerged around it – are rapidly becoming obsolete.

S3’s dominance is due to its many advantages: effectively infinite capacity, high durability, and low per-gigabyte capacity cost. For large objects and parallel accesses, it delivers high aggregate bandwidth. S3 provides a shared, durable namespace that allows compute to remain mostly stateless. For example, the open data lake stack (Iceberg + Parquet + S3) has become the foundation of analytics in the cloud. Warpstream is Kafka on top of S3. Turbopuffer builds vector storage on it. S3 has become the system of record, the long-term store, the backup target, and generally the source of truth. The default architecture for a new data system is: put the data in S3, run stateless compute over it.

S3 is, in a meaningful sense, a million hard disks behind an HTTP API. Each individual request yields less than 100 MB/s and latency is measured in tens of milliseconds. These properties are not incidental; they are caused by the physical characteristics of disks, and they impose an architectural tax on every system built on top of S3. You need caching layers to hide the latency. You need to batch small writes into large objects to amortize the per-request overhead. You need a separate metadata store (e.g., DynamoDB, FoundationDB) because S3 itself cannot efficiently serve small, random lookups. You cannot update a record in-place but must rewrite the entire object. Consequently, every serious S3-based software design is, in part, a system for working around S3’s limitations.

S3 was released 20 years ago. Since then SSD prices have been dropping steadily, and the gap between SSD and disk has narrowed to roughly 3×:
Dropping SSD prices
This is important because SSDs have fundamentally different performance: access latency around 100 microseconds (two orders of magnitude faster than S3), millions of I/O operations per second per device, and small random read/write granularity down to 4 KB. Modern datacenter networks have kept pace: 100+ Gbit links deliver sub-100-microsecond latency within a datacenter and under a millisecond across different datacenters in the same region.

SSD-based, disaggregated storage coupled with datacenter-class networking could remove many of the constraints and workarounds that define today’s S3-centric designs. When storage responds in microseconds, caching becomes optional. When small random accesses are cheap, batching is no longer mandatory. When updates can be performed in place, compaction and reorganization become unnecessary. Metadata and data storage can be unified in a single system because the storage can serve both access patterns efficiently.

Amazon’s SSD-based offering, S3 Express One Zone, launched in 2023. It is restricted to a single availability zone, sacrificing the durability and availability guarantees that make S3 the default choice for production data. Despite this significant concession, it still has multi-millisecond latency: far from what modern SSDs and networks are capable of. Its per-gigabyte capacity cost is substantially higher than standard S3, and its bandwidth pricing is steep enough to discourage the high-throughput access patterns that would make low-latency storage most valuable. The result is a niche product with a narrow set of use cases, not a foundation for the next generation of data systems.

Yet there is no fundamental technological barrier to building a true SSD-based, disaggregated storage service with the durability, capacity, and pricing profile needed to serve as a general-purpose replacement for S3. Fast SSDs exist. Fast networks exist. What is missing is initiative. The cloud providers have enormous numbers of hard disks, enormous revenue streams built on the current pricing model, and little incentive to cannibalize either. The obstacle is inertia, not technology.

The irony is that S3-based architecture is becoming the industry standard at precisely the time when the hardware constraints that motivated it are fading. We are codifying architectural patterns that exist to work around limitations that SSD-based storage simply does not have. The cloud providers have no incentive to disrupt a model that serves them well, so we shouldn’t wait for them to lead this transition, we should build the infrastructure primitives ourselves.

联系我们 contact @ memedata.com