News for hackers. Stuff that matters.
Re:S3 is files, but not a filesystem by fijiaarone on Sunday March 10, 2024 @03:33PM (#39661891)
So in reality S3 takes about 2 seconds to retrieve a single file, under ideal conditions. 1 second round trip for the request to DynamoDB to get the object key of the file and 1 second round trip to S3 to get the file contents (assuming no CPU cost on the search because you’re getting the key by ID from the DynamoDB in a flat single table store. And that the file has no network IO because it is a trivial number of bytes, so the HTTP header overwhelmed the content.)

I know what you’re thinking — 2 seconds, that’s faster than I can type the 300 character file key with its pseudo prefixes)!

Ah, but what if you wanted to get 2 files from S3?

Re:S3 is files, but not a filesystem by orf on Sunday March 10, 2024 @08:53PM (#39663817)
2 seconds is a nuts response time, but I guess it depends entirely on your file size. TTFB is usually 50ms.
Re:S3 is files, but not a filesystem by deathanatos on Sunday March 10, 2024 @10:18PM (#39664336)
… S3's response time is nowhere near 2 seconds. (Or even 1 second.) Like a sibling poster says, 50ms is a much more realistic ballpark for TTFB.