logoalt Hacker News

deathanatos • today at 5:21 PM • 1 reply • view on HN

> On a local SSD, a random read costs nothing if a page is cached, and costs under a millisecond in case of a page fault. […] The scarcest resource is not CPU, and not bytes, but the number of round trips you make to the object store, and most design decisions below follow from that

There's not really a difference here between S3 and your disk, aside from the literal amount of latency. Restructuring the format to require less reads to make S3 faster would proportionally benefit disk reads.

S3 is a lot easier manage, though. Storage is just then AWS's problem. (And what's a few ms of latency on the BE when pages take tens of seconds to load on the whole.)


Replies

elendilm • today at 5:44 PM

> There's not really a difference here between S3 and your disk, aside from the literal amount of latency.

Latency is the whole point.

➕ show 1 reply