Skip to content

sakibstark11/usp-origin-resiliency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Playing with usp origin to see if I can failover to an identical packager using docker containers and nginx load balancer.

Setup

  • export your UspLicenseKey
    export UspLicenseKey=<you can request unified streaming for a trial license key for 7 days>
  • add origin.test to your /etc/hosts file
  • run the stack
    docker compose up

Playing Back

  • wait a minute
  • visit shaka-player
  • make sure you enable insecure content (as we don't use https) for this

Testing

  • try killing origin-1 packager from your docker dashboard. You should see no interruption in playback. You will notice that the active container id change
  • try turning origin-1 back up. You should see the opposite of step 1 happen but it will take 60s as nginx config waits for 60s before trying origin-1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published