Video streaming traffic today takes up 60-75% of all bytes sent on the internet. Sammy is a joint project between Netflix and Stanford researchers to make video traffic friendlier to neighboring applications sharing the same networks.
For more information, see the research paper published at SIGCOMM 2023
This repo includes a demo of Sammy running with an unmodified version of dash.js. To view it live, please visit the demo page.. To run it locally, clone the repository and open the index.html file in your favorite web browser. To make changes to the algorithm, edit the sammy.js file.
On the server-side, the demo uses the Fastly content delivery network to serve the video and set the requested pace rate. You can set up your own Fastly service (with a free trial for small amounts of traffic) if you want to change anything on the server side. Fastly has a good getting started guide, and the custom VCL configuration we used for the service can be seen in the repo.