CDN 2.17¶
Overview¶
CDN 2.17 implements the following features in addition to previous versions:
- Origin to Origin stream replication
Origin to Origin stream replication¶
Since build 5.3.313, streams may be replicated from one Origin to another
The feature may be useful to transfer a stream between a regions. For example, a stream published to Origin in Eastern Europe may be replicated to Origin in Western Europe. Then the stream may be viewed by Western Europe subscribers on its Edge servers.
Configuration¶
By default, any stream replication is disabled
Stream may be replicated to a PRIMARY Origin in a different group, for example:
- Origin 1
- Origin 2
In this case a stream published to Origin 1 will be replicated to Origin 2.
Stream may be replicated to a SECONDARY Origin in the same group, for example:
- Origin 1
- Origin 2
- Origin 3
In this case a stream published to Origin 1 will be replicated to Origin 2 and Origin 3.
REST API¶
The new REST API query /rest-api/v3/cdn/show_groups is used to display a CDN topology as JSON object, for example
{
"group_A": {
"172.28.0.13": {
"role": "TRANSCODER",
"version": "2.17",
"rtt": 53
},
"172.28.0.11": {
"role": "ORIGIN(PRIMARY)",
"version": "2.17",
"rtt": 206
},
"172.28.0.12": {
"role": "ORIGIN(SECONDARY)",
"version": "2.17",
"rtt": 56
},
"172.28.0.1": {
"role": "EDGE",
"version": "2.17"
},
"172.28.0.15": {
"role": "EDGE",
"version": "2.17",
"rtt": 27
}
},
"group_B": {
"172.28.0.14": {
"role": "ORIGIN(PRIMARY)",
"version": "2.17",
"rtt": 55
},
"172.28.0.17": {
"role": "EDGE",
"version": "2.17",
"rtt": 28
},
"172.28.0.16": {
"role": "ORIGIN(SECONDARY)",
"version": "2.17",
"rtt": 216
}
}
}
The detailed REST API description is available here
Backward compatibility¶
- Streams will not be replicated to ny Origin of earlier CDN version