back

by jotaen·9y ago·view on hn ↗
Interesting – can you quantify these performance issues somehow or do you have any other insight what was happening there?

It surprises me to hear it, because when CloudFront refreshes an item, it should immediately start to forward the retrieved data from the first byte onwards. So, the maximal additional latency could be the initial roundtrip between CloudFront and the origin (which I suppose should be neglectable in case of S3).

1 comments
It was a while ago (2011), and it was specifically with streaming videos using the RTMP protocol... so it might have been specific to that. But here is a StackOverflow answer someone wrote that explained the general idea of how CDN's might slow down the process for infrequently-accessed files:

http://stackoverflow.com/a/7800805/477513

EDIT: In re-reading that S.O. answer, I see now that this is specific to LARGE files (these videos were 50+ MB each)... so your use-case of HTML files and images for a static site would probably not result in this performance problem.