Your Digital Media Has Never Looked So Good

 
Dmitry at CASTUS
Topic Author
Posts: 4
Joined: Thu Apr 11, 2019 11:14 am

Roku pulling all videos on the channel every 6 hours

Tue Apr 16, 2019 1:56 pm

I wrote a Roku feed generation system for CASTUS, and have created a Roku channel with that feed (URL: https://roku.api.castus.tv/v1/feeds/castus). I have noticed that every six hours, all of the content on the channel is being downloaded from AWS by a Roku IP address. This has caused 14TB of bandwidth usage over the past month and $2000 in charges.

Is there documentation on how to not make that happen? If this happens every time that the feed is reingested, how do other channels deal with the bandwidth usage?
 
37mediagroup
Posts: 191
Joined: Sat Jul 27, 2013 12:32 pm
Contact:

Re: Roku pulling all videos on the channel every 6 hours

Tue Apr 16, 2019 5:49 pm

Honestly only a few people post here with much frequency. Not sure if they use AWS although people have stated it in the past. You could have better results if you try searching the forum for AWS and direct messaging them asking if they encountered this.

I don't use them, though what you're saying could make sense as my video plays tend to be higher than my channels viewership. Although, I don't even update all that often so I'm not sure why its always doing it. .
 
mosafer
Posts: 78
Joined: Tue Feb 21, 2017 1:19 pm

Re: Roku pulling all videos on the channel every 6 hours

Tue Apr 16, 2019 7:43 pm

Based on my CDN report, Roku checks your video files every 6 hours, just check if video file is still there or not. They do not downloading all of videos.  I think AWS is counting a file hit as a full download. You need to investigate and probably change your CDN.
 
User avatar
Baradanikto
Posts: 289
Joined: Tue Apr 30, 2013 7:55 am

Re: Roku pulling all videos on the channel every 6 hours

Wed Apr 17, 2019 6:46 am

I use Amazon S3 with CloudFront.  I took a look at your feed file.  It would appear that you are executing a php script every time someone views a video.  If that's correct, that seems pretty inefficient.  Amazon's CloudFront provides a cached object to serve your videos on a demand basis.  I don't see any extra charges on my Amazon account.
Public Roku Channel: Rowing

Windows desktop software for creating and managing MRSS, JSON, and FireTV feeds @ https://www.rokurowingchannel.com. No Programming, JSON or MRSS knowledge required.
 
Dmitry at CASTUS
Topic Author
Posts: 4
Joined: Thu Apr 11, 2019 11:14 am

Re: Roku pulling all videos on the channel every 6 hours

Thu Apr 18, 2019 2:06 pm

Baradanikto wrote:
I use Amazon S3 with CloudFront.  I took a look at your feed file.  It would appear that you are executing a php script every time someone views a video.  If that's correct, that seems pretty inefficient.  Amazon's CloudFront provides a cached object to serve your videos on a demand basis.  I don't see any extra charges on my Amazon account.

The endpoint is only named dl.php for compatibility reasons. It's not actually running a PHP script, it's redirecting to an AWS bucket.

Who is online

Users browsing this forum: No registered users and 3 guests