Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Webプロトコル最前線

 Webプロトコル最前線

CEDEC2018プレゼン 大津担当分の発表スライド

Shigeki Ohtsu

August 23, 2018
Tweet

More Decks by Shigeki Ohtsu

Other Decks in Technology

Transcript

  1. Πϯλʔωοτͷ ৘ใݕࡧɾίϛϡχέʔγϣϯϓϩτίϧࠓੲ ೥ ୅൒͹ ೥ ςΩετݕࡧ ωοτχϡʔε (6*ݕࡧ ϒϩʔυόϯυαʔϏεͰ͸, WebϓϩτίϧʢTCP:80,

    443, UDP:443ʣͷར༻͕શ ମͷ75.5ˋΛ઎ΊɺϞόΠϧωοτϫʔΫͰ͸, ͦͷׂ߹͕87.5ˋʹ·Ͱ૿Ճɻ Internet Infrastructure Review, vol.36 Sep. 2017. https://www.iij.ad.jp/dev/report/iir/036.html 5$1 //51  )551  (PQIFS  )5514  *3$  8"*4  4.51  4.514  5$1 )551  )5514  *3$  4.514  4.51  8FC 8FC νϟοτ ϝʔϧ ϝʔϧ 8FC 8FC
  2. 4:/ 4:/"$, "$, 5$1ϋϯυγΣΠΫ (&5)551 )5510, (&5)551 )5510, )551௨৴ )5514௨৴

    $ISPNF 4:/ 4:/"$, "$, 5$1ϋϯυγΣΠΫ )551ϦΫΤετɾϨεϙϯε )551ϦΫΤετɾϨεϙϯε 5-4ϋϯυγΣΠΫ ҉߸௨৴ ฏจ௨৴ ΫϥΠΞϯτ αʔό ΫϥΠΞϯτ )551ͱ)5514௨৴ͷҧ͍
  3. )551ϓϩτίϧͷ೥ද       8FCͷ ࢝·Γ )551

    )551 3'$ )551 3'$ )551 3'$ )551/(தࢭ 41%: 41%: 41%: )551 3'$ )1"$, 3'$ )551 3'$ IUUQCJT8( ҉ࠇͷ࣌୅
  4. 5-4ϓϩτίϧͷ೥ද       8FCͷ ࢝·Γ 44-

    44- 3'$ 5-4 3'$ 5-4 3'$ 5-4 3'$ 5-4 3'$ ೥݄ൃߦ 1$5
  5. ೥ʙ೥ w 5-4 ೥ 5-4 ೥ ͕ඪ४Խ w ೥ɺ44-ʹ100%-&੬ऑੑ͕ݟ͔ͭΓഇࢭ w

    ೥͔Β(PPHMF͕41%:Λ։ൃɺ೥͔Β)551ͷඪ४Խ࡞ۀ ։࢝ 44-5-4 5-45-4 5$1 )551 IUUQT IUUQ 41%:
  6. ճઢଳҬΛ૿଎͍ͯ͘͠ͱ HTTPܦ༝ͷμ΢ϯϩʔυ ࣌ؒ[ms] 0 800 1600 2400 3200 ճઢଳҬ[MBps] 0

    3 5 8 10 More Bandwidth does’nt matter ΑΓσʔλҾ༻http://docs.google.com/a/chromium.org/viewer? a=v&pid=sites&srcid=Y2hyb21pdW0ub3JnfGRldnxneDoxMzcyOWI1N2I4YzI3NzE2 ϖʔδͷදࣔ࣌ؒ͸ɺ͜ ΕҎ্୹ॖͰ͖ͳ͍ɻ Make the Web Faster: Google ͷࢼݧ
  7. RTT(Round Trip Time)Λখ͍ͯ͘͘͞͠ͱ HTTPܦ༝ͷμ΢ϯϩʔυ࣌ؒ [ms] 0 1000 2000 3000 4000

    RTT[ms] 0 50 100 150 200 250 300 ͪΌΜͱԼ͕Δ More Bandwidth does’nt matter ΑΓσʔλҾ༻http://docs.google.com/a/chromium.org/viewer? a=v&pid=sites&srcid=Y2hyb21pdW0ub3JnfGRldnxneDoxMzcyOWI1N2I4YzI3NzE2 Webϖʔδͷදࣔ଎౓Λ଎͘͢Δʹ͸ɺճઢ଎౓૿ڧΑΓ RTTʢͷӨڹʣΛখ͘͢͞Δ͔͕ॏཁɻͰ΋෺ཧతͳ੍ݶ Ͱ೉͍͠ɻ Make the Web Faster: Google ͷࢼݧ
  8. HTTP/1.1 ͷ໰୊఺ HTTP Head of Line Blocking ΫϥΠΞϯτ αʔό HTTP/1.1

    1ຊͷTCP઀ଓ HTTP ϦΫΤετ HTTPϨεϙϯε ଴ͪ࣌ؒ HTTP ϦΫΤετ
  9. ೥ͷ 8FCϓϩτίϧɾελοΫ 5$1 5-4 5-4 )551 IUUQT IUUQ )551 )551

    ηϚϯςΟΫε w ೥)551࢓༷Խ׬ྃ w ࣮࣭)5514 5-4 ͚ͩʹར༻੍ݶ w େखΠϯλʔωοταʔϏεΛத৺ʹಋೖ
  10. *"# ʹΑΔΠϯλʔωοτͷ ৴པੑʹؔ͢Δએݴ  w ৽͘͠ϓϩτίϧΛઃܭ͢Δࡍʹ͸ɺ҉߸ԽػೳΛඞ ਢͱ͢΂͖ɻ w ωοτϫʔΫӡ༻ऀ΍αʔϏεఏڙऀʹ҉߸Խ௨৴ͷ ಋೖΛਪਐ͢ΔΑ͏ڧ͘ٻΊΔɻ

    w ίϯςϯπϑΟϧλʔ΍*%4౳ฏจ௨৴͕ඞཁͳػೳ ʹ͍ͭͯ͸কདྷతʹ୅ସٕज़ͷ։ൃʹऔΓ૊Ήɻ *OUFSOFU"SDIJUFDUVSF#PBSE IUUQTXXXJBCPSHJBCTUBUFNFOUPOJOUFSOFUDPOpEFOUJBMJUZ
  11. )551 4 දࣔͷมߋ w )5514ͷ྘৭ද͕ࣔഇࢭ w ʮอޢ͞Εͨ௨৴ʯͷද͕ࣔഇࢭ w )551 ฏจ

    ௨৴ͰσʔλೖྗΛߦ͏ͱ੺৭ܯࠂ ݱࡏ $ISPNF དྷ݄Ҏ߱ $ISPNF 
  12. 5-4ͱ5-4ͷҧ͍ 5$1 ϋϯυγΣΠΫ 5-4 ΫϥΠΞϯτ αʔό ΫϥΠΞϯτ αʔό )551 ϦΫΤετ

    Ϩεϙϯε 5-4 )5510, $MJFOU)FMMP 4FSWFS)FMMP $FSUJpDBUF $FSUJpDBUF7FSJGZ 'JOJTIFE 'JOJTIFE (&5)551 5-4 ϋϯυγΣΠΫ 4:/ 4:/"$, "$, )5510, (&5)551 $MJFOU)FMMP $IBOHF$JQIFS4QFD 'JOJTIFE 4FSWFS)FMMP $FSUJpDBUF  4FSWFS,FZ&YDIBOHF 4FSWFS)FMMP%POF $MJFOU,FZ&YDIBOHF $IBOHF$JQIFS4QFD 'JOJTIFE 355 355 4:/ 4:/"$, "$, ૣ͍ϋϯυγΣΠΫ