3. Messaging between
microservices
Response analytics
(web and mobile
app notifications)
Log ingestion
IoT device
maintenance
Change data
capture
Streaming extract,
transfer, and load
(ETL) into data lakes
and data warehouses
Milliseconds Seconds Minutes
Common real-time data streaming use cases
5. What Drives Live Event Scale?
• Peak Concurrent Viewers
• Join Rate
• Geographic/Regional Concentration
Audience Characteristics
Video Characteristics
• Encoded Bit Rate
• Number of formats & profiles
• Segment Duration
6. How does internet Video work?
1 - Camera/Source generates Video
1 2
2 - Encoder & Packager create
Segmented Video and Manifests for
HLS/DASH
3
4
5
https://mydomain.com/video.m3u8
3 - Player is initiated via a client
requesting a link to the video
(master manifest)
5 - Player requests video segments in sequence
4 - Player requests playlist(s)/manifest(s)
6
6 - Steps 4 & 5 repeat until video ends.
7. Typical Components of a Video Workflow with AWS
Components
Media
Live
Media
Package
Media Tailor
Media
Store
CloudFront
Web browser
TV
Direct Connect
GroundStation
Media Connect
Vyvx (Centurylink)
Other
Signal Acquisition/Ingest
Transcoding/Packaging/
Personalization/Storage Playout/Delivery
Source/
Venue
Multi-CDNS3 Bucket
8. Being Redundantly Redundant
• Diverse signal acquisition paths (satellite, terrestrial, multiple networks/links)
• Redundant Encoders with time/epoch locking (primary/secondary stream)
• Encoders writing to redundant origins (packagers/storage) in multiple regions
• DNS-based or API-based traffic management and stream selection by region
• Health checks and failover between primary/secondary in region or across regions
9. It’s not just about the Video
Web Applications
Mobile App backend
APIs and microsservices
DRM & Key
Management
Authentication and
Tokenization
User/Entitlement
databases
CMS and content
metadata services
Ad networks/
Decisioning/bidding
“Waiting Room”
11. AWS Advantages: Capacity, Scale, Performance,
Reach
China
Launched in China with 4
New cities:
Beijing, Shanghai,
Zhongwei, Shenzhen
EMEA
4 New countries:
Bahrain, Belgium,
Portugal, Israel
13 Embeds in UK
South America
Added 3 New countries:
Argentina, Chile, and
Colombia
56% price cut
India / Australia
16 PoPs in India
Added 3 PoPs in Syd,
Currently 6 PoPs in AU
210 PoPs in 79 cities, 37 countries
75+ PoPs added in 2019
Japan
Added 6 PoPs in Tokyo.
Currently 17 PoPs in JP
North America
Added 50% more PoPs in
last year. Launched in 2
new cities: Houston and
Salt Lake City
12. Video Delivery Optimization
• Ingest optimization via S3TA, Media-Connect, Direct Connect or other methods
• Redundancy and regional localization as appropriate
• Encoding/Packaging configuration
First-mile
13. Video Delivery Optimization in CloudFront
Middle-mile
• Connection keep-alive in cache fill path all the way to origin
• Chunked-transfer encoding
• Hierarchical/Regional caching and Connection Collapsing
• AWS Backbone provides low-latency, high throughput, low-congestion network
• Range Request consolidation & background fetching
• Negative Caching to protect origin
14. Video Delivery Optimization in CloudFront
Last-mile
• Connection keep-alives
• Protocol Optimization (BBR, MTU, HTTP-2, QUIC/HTTP-3)
• Lots of capacity (>120Tbps of network connectivity)
• Direct Peering with many networks
• Embedded POPs deeper within major consumer ISP networks
• Perimeter Protection @ Edge with WAF & Shield
31. Take Away
• Multiple CDN is always a good strategy
• Choose right services to serve business
• Reliable storage to persist logs for monitoring
• Enhancement by whole picture understanding
Media live - 一款影片處理服務,影片提供者可透過該服務編碼高品質即時影片串流,以交付到廣播電視和多螢幕裝置
Media package - 影片交付服務,可讓影片提供者安全可靠地大規模分發串流影片。它可讓您輕鬆準備即時和隨選影片內容以交付到多個裝置,並透過進階功能改善觀眾的體驗
Media Store - 影片創作和儲存服務。它提供交付串流媒體所需的效能和一致性,並結合 AWS 跨服務提供的安全性與耐久性
Media tailor – 廣告