cdn:high-availability

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cdn:high-availability [2020/03/17 13:58] – created ischluffcdn:high-availability [2026/07/26 22:17] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== CDN High Availability ======+###### CDN High Availability
 Ideas about points of failure and possible fixes in the CDN structure. Ideas about points of failure and possible fixes in the CDN structure.
  
-===== Encoder =====+##### Encoder
 The room encoders are a spof (single point of failure) for every single stream. The same is often true for the network between the encoder and the master relay. The room encoders are a spof (single point of failure) for every single stream. The same is often true for the network between the encoder and the master relay.
  
-===== Master-Relay =====+##### Master-Relay
 The master relay is currently a spof for all streams, which could be eliminated by having 2 redundant masters. The master relay is currently a spof for all streams, which could be eliminated by having 2 redundant masters.
  
-==== Redundant Masters ====+#### Redundant Masters
 The following problems have to be solved to allow redundant encoders: The following problems have to be solved to allow redundant encoders:
   - encoder-source:   - encoder-source:
-    - easy, both masters pull from the same encoder+    - enough bandwidth: both masters pull from the same encoder 
 +    - low bandwidth: encoder pushes to first reachable master
   - transcode:   - transcode:
     - Possibility A: single transcode with fallback source and dual outputs: hard     - Possibility A: single transcode with fallback source and dual outputs: hard
Line 24: Line 25:
       - however if the fanouts are not guaranteed to be equal the upstreams should not be load balanced!       - however if the fanouts are not guaranteed to be equal the upstreams should not be load balanced!
  
-===== Public Relay =====+##### Public Relay
 Multiple public relays exist and in case of relay failure only the viewers on that relay will be impacted. However at the moment the streams of these viewers will not properly recover. Multiple public relays exist and in case of relay failure only the viewers on that relay will be impacted. However at the moment the streams of these viewers will not properly recover.
  
-==== Auto-Recovering Webclient ====+#### Auto-Recovering Webclient
 The webplayers should automatically retry on another relay if the current connection fails. Currently the load-balancers determine the viewer->relay assignment. The client will need to fetch another redirect from the loadbalancer (use exponential backoff to avoid crashing the lbs). The webplayers should automatically retry on another relay if the current connection fails. Currently the load-balancers determine the viewer->relay assignment. The client will need to fetch another redirect from the loadbalancer (use exponential backoff to avoid crashing the lbs).
  
  • cdn/high-availability.1584453491.txt.gz
  • Last modified: 2020/03/17 13:58
  • by ischluff