-->
Save your seat for 纽约流媒体 this May. 现在注册!

How CBS Sports Digital Leverages Fastly Media Shield

Learn more about live sports streaming at 的电子竞技 & Sports Streaming Summit.

Read the complete transcript of this clip:

泰勒布施: Media Shield is a Fastly product that sat in front of the AWS origins, and it's essentially another caching layer, but it has a number of advantages. And this is actually where quite a bit of the magic happened as far as our ability to 你知道, provide failovers and whatnot.

So, we had Fastly Media Shield and we also had CloudFront as a backup, because we didn't want to have Media Shield as a single point of failure. If we did have a problem with it, we'd be able to switch to CloudFront and it would all basically work the same way. So, we had two different implementations.

On the Fastly side it was VCL, Varnish Configuration Language, and on the CloudFront side it was the Lambda at Edge. But they're essentially functionally equivalent, doing the same things. And so what it does is when requests come in to the Media Shield we look at things like, “好吧, is the manifest within a certain TTL?“因为, 例如, if the encoder stops outputting or if there's network latency, 如果它死了, 如果有什么问题, then we know that the content that we're trying to request is gonna be old, 正确的?

So we do that test and we obviously do a test for unhealthy backends in general, 正确的? So, if there's an error retrieving any of the content from the origin we can automatically fail over and try another origin. I think this is a great solution because we had done some testing with putting more of this failover onto the client. So, 你知道, we extensively tried to pay with advertising more of the available streams in the actual manifest and then simulating issues where the video player would be forced to switch between the different streams.

What we found is every client was a little bit different, we couldn't find the consistency there where we had a clear cause and effect--if this particular platform is forced to switch versus another platform, we weren't able to guarantee the same result. But here this was all obviously invisible to the player. So, 你知道, we had a extremely simple manifest and all of this was able to happen under the hood seamlessly.

A lot of the testing we would do here would be around origins, 你知道. 例如, turning off a particular origin and having it fail over to another, 关闭一个区域, 你知道, stopping an output on an encoder to force staleness, 这种性质的东西. You know, we extensively tested this in order to make sure that this was working.

流媒体覆盖
免费的
for qualified subscribers
现在就订阅 最新一期 过去的问题
相关文章

什么是输出锁定?

CBS Sports Digital Senior Director of Engineering Taylor Busch explains how output locking enables seamless switching of origins in large-scale streaming in this clip from 在线直播 Summit at 流媒体 East 2019.

How QVBR Encoding Helped Stream the Super Bowl

CBS Sports Digital Senior Director of Engineering Taylor Busch explains what QVBR encoding is, how CBS Sports leveraged it, and the savings it delivered in their Super Bowl stream in this clip from 在线直播 Summit at 流媒体 East 2019.

Companies and Suppliers Mentioned