Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

14
CDN Caching data? Or am I misunderstanding?
Post Body

Hi all, I have a slight issue with my setup, and am in need of advice.

I run a small Roku video channel, and am looking for a new CDN capable of caching my content for about 5 days at a time.

Basically, all my video files are hosted on an S3 instance, which pass through a CDN before going on to my Roku clients.

In theory, a CDN should grab a requested file from the S3 instance one time, and serve it up to all the viewers requesting it, correct? So for example, if on Monday I have 100 clients watching "War of the Monsters (1966)", the CDN should just request that file from S3 once, and serve it to the 100 viewers.

In practice, my CDN is requesting the file from S3 100 times, once for each viewer. It isn't actually doing any caching at all.

I've been talking with the CDN's tech support and they claim "everything is working fine," but the logs (and bills) from Amazon say differently.

So am I wrong here, or is my CDN costing me more money for zero benefit?

UPDATE: The CDN has asked me to change a metadata tag on the S3 instance, adding "Expires: max-age=15811200" to ALL my files. I'm doing it, but will it actually help?

UPDATE 2: Apparently it's fixed! We're at 89% cache hit ratio after 9 hours. Of course, I'll be monitoring that moving forward. Thanks to everyone for the help!

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
19,425
Link Karma
6,051
Comment Karma
13,278
Profile updated: 4 days ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago