accelerating youtube google search
play

Accelerating YouTube & Google Search Andreas Terzis YouTube - PowerPoint PPT Presentation

Accelerating YouTube & Google Search Andreas Terzis YouTube Statistics YouTube is a large fraction of Internet traffic globally 1 17% NA, 25% Europe, 33% LATAM, 23% APAC of fixed-line traffic Mobile makes ~40% of YouTubes


  1. Accelerating YouTube & Google Search Andreas Terzis

  2. YouTube Statistics YouTube is a large fraction of Internet traffic globally 1 ● ○ 17% NA, 25% Europe, 33% LATAM, 23% APAC of fixed-line traffic ● Mobile makes ~40% of YouTube’s global watch time Over 6B hours of video watched each month on YouTube 2 ● ● 100 hours of video are uploaded to YouTube every minute ● ~8M users concurrently saw Felix Baumgartner jump from space [1] https://www.sandvine.com/downloads/general/global-internet-phenomena/2013/2h-2013-global-internet-phenomena-report.pdf Google Confidential and Proprietary [2] http://www.youtube.com/yt/press/statistics.html

  3. How YouTube works: Mapping ① Client issues HTTP(S) request for manifest from YT Front End: GET /watch?v=n_6p- 1J551Y ② Mapping infrastructure determines cache that the user should contact ③ YTFE returns Manifest with videoplayback URLs for different encoding schemes/rates/video sizes ④ Client resolves xxx.googlevideo.com -> x.y.z.w (inside carrier’s addr space) DNS Carrier Google x.y.z.w Mapping ④ ② GGC ① YTFE ③ Google Confidential and Proprietary

  4. How YouTube works today: Video Playback ⑤ Client issue HTTP(S) videoplayback requests from nearest Google Global Cache (GGC) ● HTTP range requests for video chunks (100’s KB - MB) ● ABR algorithm at the client determines requested format for the next video chunk ○ ABR selection depends on multiple factors: network rate, screen size, client resources, etc. DNS Carrier Google x.y.z.w Mapping ④ ② ⑤ GGC ① YTFE ③ Google Confidential and Proprietary

  5. Delivering Video to Mobile Networks: TCP Proxies Split TCP Low latency and variability easy for TCP Medium latency and variability difficult for TCP High latency and variability even more difficult for TCP Google Confidential and Proprietary

  6. Challenging the assumption ● Conventional wisdom suggests that TCP proxies improve performance in cellular networks ● What happens if we bypass the proxy? ○ Quality of User Experience ○ Network usage ● To answer this question we bypassed TCP proxies for YouTube traffic and measured difference Google Confidential and Proprietary

  7. Direct is better 0.00001 0.001 0. 1 10 Direct=Proxied Proxied is better 0.000001 0.0001 0.01 1 100 Direct connections have fewer retransmitted bytes

  8. Lower throughput Proxied peak Direct Lower throughput due to clamp 10 100 1,000 10,000 100,000 kbits/sec Direct connections have higher throughput

  9. Proxied Direct Proxied connections are more bloated

  10. Removing proxy did not significantly change overall network traffic Slight increase in busy hour and daily volume No significant change in other metrics Busy Hour Volume Power Utilization Avg. Power Utilization BH Volume Direct Connection Proxied Direct Connection Proxied Time Time

  11. Evaluation Metrics II: Quality of Experience Initial/forced buffering Play Rebuffering Playing Seeking Paused T 0 T 1 T 2 T 3 T 4 T 5 T 6 T 7 T 8 T 9 1. Join Latency: T 1 -T 0 2. Playback time: T P = ( T 2 -T 1 ) + ( T 4 -T 3 ) + ( T 7 -T 6 ) + ( T 9 -T 8 ) 3. Total Rebuffer time: T 3 -T 2 4. Battery Lifetime (Power consumed during [ T 0 ,T 9 ] )

  12. Direct is better Worse Performance Proxied Direct=Proxied is better Direct connections rebuffer for less time

  13. Worse Performance Direct connections have lower join latency

  14. Decreasing web search latency on 2G networks ● Large portion of users in emerging markets access the Internet over 2G networks ● End-to-end Latency is 2 components ● Byte reduction can only improve Response Receipt / Render Browser 1st response Render Wake up DNS TCP / SSL requests Late load bytes rcvd (minimal Radio init javascript for SRP javascript) interactive features Request Time ● Request time is driven by RTT to closest Google front end (= 4* RTTs for HTTPS) Google Confidential and Proprietary

  15. RTT as a function of network type RTT Distribution for Indian ISP ● RTT between UEs and closest Google server ● Considerable variation in RTT ● Where is the variation coming from? 0 x 2x 3x 4x 5x 6x 7x 8x Google Confidential and Proprietary

Recommend


More recommend