You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/media-services/latest/scale-streaming-cdn.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,44 +58,44 @@ You can determine if DNS change was made on a streaming endpoint (the traffic is
58
58
59
59
## Origin-Assist CDN-Prefetch
60
60
61
-
CDN caching is a reactive process. If CDN can predict what the next object will be requested, CDN can pro-actively request and cache the next object. With this process, you can achieve a cache-hit for all (or most) of the objects, hence improving performance.
61
+
CDN caching is a reactive process. If CDN can predict what the next object will be requested, CDN can proactively request and cache the next object. With this process, you can achieve a cache-hit for all (or most) of the objects, which improves performance.
62
62
63
-
The concept of prefetching strives to position objects at the "Edge of the Internet" in anticipation that these will be requested by the player imminently, thereby reducing the time to deliver that object to the player.
63
+
The concept of prefetching strives to position objects at the "edge of the internet" in anticipation that these will be requested by the player imminently, thereby reducing the time to deliver that object to the player.
64
64
65
-
To achieve this goal, a streaming endpoint (origin) and CDN need to work hand in hand:
65
+
To achieve this goal, a streaming endpoint (origin) and CDN need to work hand in hand in a couple ways:
66
66
67
-
- The Media Services origin needs to have the "intelligence" (Origin-Assist) to inform CDN the next object to prefetch, and
68
-
- CDN does the prefetch and caching (CDN-Prefetch part). CDN also needs to have the "intelligence" to inform the origin whether it is a prefetch or a regular fetch, handling 404 responses and a way to avoid endless prefetch loop.
67
+
- The Media Services origin needs to have the "intelligence" (Origin-Assist) to inform CDN the next object to prefetch.
68
+
- CDN does the prefetch and caching (CDN-Prefetch part). CDN also needs to have the "intelligence" to inform the origin whether it's a prefetch or a regular fetch, handle the 404 responses, and a way to avoid endless prefetch loop.
69
69
70
70
### Benefits
71
71
72
72
The benefits of the *Origin-Assist CDN-Prefetch* feature includes:
73
73
74
-
- Prefetch improves video playback quality by: pre-positioning anticipated video segments at the edge during playback, reducing latency to the viewer and improving video segment download times. This results in faster video start-up time and lower rebuffering occurrences.
75
-
- This concept is applicable to general CDN-origin scenario, not limited to media.
74
+
- Prefetch improves video playback quality by pre-positioning anticipated video segments at the edge during playback, reducing latency to the viewer, and improving video segment download times. This results in faster video start-up time and lower rebuffering occurrences.
75
+
- This concept is applicable to general CDN-origin scenario and isn't limited to media.
76
76
- Akamai has added this feature to [Akamai Cloud Embed (ACE)](https://learn.akamai.com/en-us/products/media_delivery/cloud_embed.html).
77
77
78
78
> [!NOTE]
79
-
> This feature is not yet applicable to the Akamai CDN integrated with Media Services streaming endpoint. However, it is available for Media Services customers that have a pre-existing Akamai contract and require custom integration between Akamai CDN and the Media Services origin.
79
+
> This feature is not yet applicable to the Akamai CDN integrated with Media Services streaming endpoint. However, it's available for Media Services customers that have a pre-existing Akamai contract and require custom integration between Akamai CDN and the Media Services origin.
80
80
81
81
### How it works
82
82
83
-
CDN support for the *Origin-Assist CDN-Prefetch* headers (for both live and video on-demand streaming) is available to customers who have direct contract with Akamai CDN. The feature involves the following HTTP header exchanges between Akamai CDN and the Media Services origin:
83
+
CDN support for the `Origin-Assist CDN-Prefetch` headers (for both live and video on-demand streaming) is available to customers who have direct contract with Akamai CDN. The feature involves the following HTTP header exchanges between Akamai CDN and the Media Services origin:
84
84
85
85
|HTTP header|Values|Sender|Receiver|Purpose|
86
86
| ---- | ---- | ---- | ---- | ----- |
87
-
|CDN-Origin-Assist-Prefetch-Enabled | 1 (default) or 0 |CDN|Origin|To indicate CDN is prefetch enabled|
88
-
|CDN-Origin-Assist-Prefetch-Path| Example: <br/>Fragments(video=1400000000,format=mpd-time-cmaf)|Origin|CDN|To provide prefetch path to CDN|
89
-
|CDN-Origin-Assist-Prefetch-Request|1 (prefetch request) or 0 (regular request)|CDN|Origin|To indicate the request from CDN is a prefetch|
87
+
|`CDN-Origin-Assist-Prefetch-Enabled`| 1 (default) or 0 |CDN|Origin|To indicate CDN is prefetch enabled.|
88
+
|`CDN-Origin-Assist-Prefetch-Path`| Example: <br/>Fragments(video=1400000000,format=mpd-time-cmaf)|Origin|CDN|To provide prefetch path to CDN.|
89
+
|`CDN-Origin-Assist-Prefetch-Request`|1 (prefetch request) or 0 (regular request)|CDN|Origin|To indicate the request from CDN is a prefetch.|
90
90
91
91
To see part of the header exchange in action, you can try the following steps:
92
92
93
-
1. Use Postman or curl to issue a request to the Media Services origin for an audio or video segment or fragment. Make sure to add the header CDN-Origin-Assist-Prefetch-Enabled: 1 in the request.
94
-
2. In the response, you should see the header CDN-Origin-Assist-Prefetch-Path with a relative path as its value.
93
+
1. Use Postman or cURL to issue a request to the Media Services origin for an audio or video segment or fragment. Make sure to add the header `CDN-Origin-Assist-Prefetch-Enabled: 1` in the request.
94
+
2. In the response, you should see the header `CDN-Origin-Assist-Prefetch-Path` with a relative path as its value.
95
95
96
-
### Supported streaming protocols
96
+
### Supported streaming protocols
97
97
98
-
The *Origin-Assist CDN-Prefetch* feature supports the following streaming protocols for live and on-demand streaming:
98
+
The `Origin-Assist CDN-Prefetch` feature supports the following streaming protocols for live and on-demand streaming:
0 commit comments