User Tools

Site Tools


communication:bandwidth_conservation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
communication:bandwidth_conservation [2018/02/25 10:26]
frater_secessus [Bandwidth conservation]
communication:bandwidth_conservation [2020/05/21 09:10]
frater_secessus [video frugality]
Line 44: Line 44:
  
 The traditional way mobile sites were/are denoted was with the prefix "​m"​. ​ Compare the https://​m.alaskaair.com/​ mobile website with the https://​www.alaskaair.com/​ . If the site does client analysis you might get pushed to the regular www site.  You may want to hack that behavior by sending a false [[https://​en.wikipedia.org/​wiki/​User_agent#​Use_in_HTTP|user agent string]]. The traditional way mobile sites were/are denoted was with the prefix "​m"​. ​ Compare the https://​m.alaskaair.com/​ mobile website with the https://​www.alaskaair.com/​ . If the site does client analysis you might get pushed to the regular www site.  You may want to hack that behavior by sending a false [[https://​en.wikipedia.org/​wiki/​User_agent#​Use_in_HTTP|user agent string]].
 +
 +
  
  
Line 55: Line 57:
 === compression proxies === === compression proxies ===
  
-A compression proxy runs between you and the internet and optimizes / compresses web content to save bandwidth. ​ It may downgrade image quality for substantial savings. ​ It is an internet version of [[lifestyle:​mail forwarding|a mail forwarding service]] that throws out the junk mail and extra packing before sending your mail mail to you.+A compression proxy runs between you and the internet and optimizes / compresses web content to save bandwidth. ​ It may downgrade image quality for substantial savings. ​ It is an internet version of [[lifestyle:​mail forwarding|a mail forwarding service]] that throws out the junk and extra packing before sending your mail (web page) to you.
  
  
 Note:  **HTTPS (encrypted) traffic cannot be optimized** by third parties because it is encrypted and the proxy can't see what it is.  ​ Note:  **HTTPS (encrypted) traffic cannot be optimized** by third parties because it is encrypted and the proxy can't see what it is.  ​
  
-[[http://​www.opera.com/​|Opera]] made the first mainstream browser to offer a compression proxy on their mobile and desktop browsers. ​ Now the Chrome mobile browser has a proxy and there is a [[https://​chrome.google.com/​webstore/​detail/​data-saver/​pfmgfdlgomnbgkofeojodiodmgpgmkac|Data Savings plugin for Chrome/​Chromium]].+[[http://​www.opera.com/​|Opera]] made the first mainstream browser to offer a compression proxy on their mobile ​~~and desktop~~ browsers.  ​~~Now the Chrome mobile browser has a proxy and there is a [[https://​chrome.google.com/​webstore/​detail/​data-saver/​pfmgfdlgomnbgkofeojodiodmgpgmkac|Data Savings plugin for Chrome/​Chromium]].~~
  
-If you are technically minded and have a server somewhere you can run your own compression proxy using freeware like ziproxy. ​ Frater Secessus runs one of these and will make a login for you if you want to play with it.  PM him on the CRVL forum+If you are technically minded and have a server somewhere you can run your own compression proxy using freeware like ziproxy. ​ Frater Secessus runs one of these and will make a login for you if you want to play with it.
  
 +The [[https://​github.com/​ayastreb/​bandwidth-hero|Bandwidth Hero project]] compresses images; ​ significant assembly required. ​
  
 +A german ISP runs [[https://​www.skyzip.de/​skyzip-free-acceleration-and-compression-proxy-encrypts-your-traffic-increases-browsing-speed-and-saves-your-bandwidth-english/​|SkyZip]],​ a compression proxy.
 ==== email frugality ==== ==== email frugality ====
  
Line 95: Line 99:
 **Streaming is evil** when bandwidth is limited. Some networking gear is socket-limited; ​ there is a certain number of "​slots"​ available for users. ​ When web browsing, reading email, etc, a user will take one of the slots for active data then release it.  //Streaming holds a monopoly on the socket//, which can block other users from using the resource. **Streaming is evil** when bandwidth is limited. Some networking gear is socket-limited; ​ there is a certain number of "​slots"​ available for users. ​ When web browsing, reading email, etc, a user will take one of the slots for active data then release it.  //Streaming holds a monopoly on the socket//, which can block other users from using the resource.
  
-If you must stream use the minimum video quality you can tolerate.+If you must stream use the minimum video quality you can tolerate. ​ You can [[source:​youtube-dl|see what resolutions are available with the ''​-F''​ flag]]. 
 + 
 + 
 + 
  
 If you can, download the media during off-hours; ​ this is the kindest to the provider and to other users. If you can, download the media during off-hours; ​ this is the kindest to the provider and to other users.
Line 104: Line 112:
  
 For "​talking head" type videos you can download the audio only, using something like: For "​talking head" type videos you can download the audio only, using something like:
-  * ''​youtube-dl --format ​bestaudio [URL]''​ if you intended to process the file further; or +  * ''​youtube-dl -bestaudio [URL]''​ if you intended to process the file further; or 
-  * ''​youtube-dl --format ​worstaudio [URL]''​ if you are going to use it directly.  ​+  * ''​youtube-dl -worstaudio [URL]''​ if you are going to use it directly.  ​
  
 Pulling down audio only when possible can save 90% or more bandwidth.  ​ Pulling down audio only when possible can save 90% or more bandwidth.  ​
 +
 +If you need both audio and video, those pieces can be pulled down separately and combined for absolute smallest filesize:
 +
 +  * ''​youtube-dl -f worstaudio+worstvideo [URL]''​
 ==== android ==== ==== android ====
  
communication/bandwidth_conservation.txt · Last modified: 2020/05/21 09:16 by frater_secessus