hn.today

Continuous reinvention: Volumes that fit

allthingsdistributed.com5 points0 comments
Screenshot of Continuous reinvention: Volumes that fit

Amazon EBS Adaptive Volumes grew out of a customer request to shrink storage volumes and cut costs. Shrinking a conventional volume is risky because filesystems scatter data across the disk, while the block device cannot tell which blocks are still in use. The deeper need, the author argues, is to pay for storage actually occupied rather than provision extra capacity for anticipated growth. Adaptive Volumes address this by charging for bytes written instead of the volume’s provisioned size.

The capability became possible through systems originally built to solve other problems: Physalia tracks volume partitions; partitioning distributes data across servers so failures can be repaired faster; placement moves data to balance load and reduce latency; and Block Express’s indirection layer separates logical addresses from physical storage. A further requirement is knowing when data is no longer needed. When a file is deleted, a filesystem can notify the device with TRIM (also called UNMAP or discard), immediately or later. Such notifications must remain correctly ordered with writes, and reclaimed space is not necessarily erased at once. The piece explains how these mechanisms turn filesystem-level deletions into storage-level space recovery, while noting that device behavior after TRIM must remain consistent. Together, accumulated improvements in reliability, performance, and data management created a new way to consume storage.

Read on allthingsdistributed.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.