kelinger / OmniStream

Deployment and management tools for an entire streaming platform that can reside on a server (local, remote, hosted, VPS) with media files stored on cloud services like Google Drive or Dropbox.
MIT License
33 stars 10 forks source link

Slow networking inside containers. #10

Closed shadowsbane0 closed 2 years ago

shadowsbane0 commented 2 years ago

Any idea why the docker container networking is slow. IE. Running Speedtest from CLI on host I’m getting 900+ Mbps. Using the Speedtest container I’m getting less than 100 Mbps.

kelinger commented 2 years ago

The speedtest CLI checks between your server and a nearby host on the Internet while the speedtest container tests the speed between your browser and the server.

So, for example, my server is in Paris and I am in the United States. The CLI is going to test my Internet speed (ie, verify that the ISP is truly delivering what I'm paying for) while the speedtest container is meant to test the user experience (in my case, streaming a large amount of data from Paris to the US).

But, this may not be your situation nor may it be the question you intended to ask so let me know if that answers it or just makes things worse 😄