简体   繁体   English

AWS MediaPackage 作为 CDN (CloudFront) 的来源

[英]AWS MediaPackage as an origin for a CDN (CloudFront)

The documentation for的文档

OBS STUDIO TO AWS ELEMENTAL MEDIALIVE TO AWS ELEMENTAL MEDIAPACKAGE OBS STUDIO 到 AWS ELEMENTAL MEDIAIVE 到 AWS ELEMENTAL 媒体包

Says:说:

Note: To use this workflow in production, it is highly recommended you use the AWS Elemental MediaPackage endpoint as an origin for a CDN such as Amazon CloudFront.注意:要在生产中使用此工作流程,强烈建议您使用 AWS Elemental MediaPackage 终端节点作为 CDN(如 Amazon CloudFront)的来源。 The AWS Elemental MediaPackage console includes an option to create a CloudFront distribution during channel creation. AWS Elemental MediaPackage 控制台包含一个在创建通道期间创建 CloudFront 分配的选项。

Why is it recommended to use the endpoint as an origin for a CDN such as CloudFront, while the example works without creating one.为什么建议将端点用作 CloudFront 等 CDN 的源,而该示例无需创建即可工作。 What are the disadvantages of not using CloudFront as a CDN but leave it with the MediaPackage Endpoint.不使用 CloudFront 作为 CDN 而是将其留给 MediaPackage Endpoint 有什么缺点。

  • You can indeed deliver your streams directly from a MediaPackage end-point.您确实可以直接从 MediaPackage 端点传送您的流。 However we recommend to use the MediaPackage end-point as an origin for a CDN like CloudFront because a CDN would cache the segments and manifests and deliver them to the end-users from the edge caches.但是,我们建议使用 MediaPackage 端点作为 CloudFront 等 CDN 的来源,因为 CDN 会缓存分段和清单,并将它们从边缘缓存交付给最终用户。

  • This prevents the end-users (video players, devices) from hitting the origin ie MediaPackage over and over again for the same segment.这可以防止最终用户(视频播放器、设备)为同一段一遍又一遍地点击来源,即 MediaPackage。

  • For instance if you have 10,000 users spread across the globe playing the same stream without a CDN shielding the MediaPackage, all your users will try to retrieve the content from the origin例如,如果您有 10,000 个用户遍布全球,播放相同的 ZF7B44CFFAFD5C52223D5498196C8A2E7BZ 而没有 CDN 屏蔽 MediaPackage,那么您的所有用户都将尝试从源检索内容

  • Some of them might experience a higher latency depending upon their geographical location他们中的一些人可能会遇到更高的延迟,具体取决于他们的地理位置

  • Having a CDN like CloudFront ensures that the users get the video segments from an edge cache closer to their location thereby improving latency and quality of experience for the users拥有像 CloudFront 这样的 CDN 可确保用户从更靠近其位置的边缘缓存中获取视频片段,从而改善用户的延迟和体验质量

For more benefits and advantages of using Amazon CloudFront please see the link有关使用 Amazon CloudFront 的更多好处和优势,请参阅链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM