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

Past, Present and Futures of CDN @ CDN Study (...

Past, Present and Futures of CDN @ CDN Study (http2study)

2018年4月13日に開催されたCDN Study (http2study)のAkamai 岡本の発表です。Akamaiのキャッシュのパージは5秒で、Cache Taggingという仕組みをもってタグベースでパージの粒度をコントロール可能なんですよ (当日言えなかった)。
https://http2study.connpass.com/event/81469/

Akamai 塲田の発表は以下。
https://www.slideshare.net/ToshiyaBata1/cdn-study-in-http2study-by-bata

Akamai Tech Summit
日時:2018/6/21(木)10:00~18:00
場所:Akamai Technologies 東京オフィス (京橋)
レジストレーションサイト:4/27オープン予定

Hideki Okamoto

April 14, 2018
Tweet

More Decks by Hideki Okamoto

Other Decks in Technology

Transcript

  1. ©2018 AKAMAI | FASTER FORWARDTM Past, Present and Futures of

    CDN @CDN Study (http2study) Hideki Okamoto Akamai Technologies April 13, 2018
  2. ©2018 AKAMAI | FASTER FORWARDTM The opinions expressed in this

    slide are my own and do not express the positions, strategies or opinions of
  3. ©2018 AKAMAI | FASTER FORWARDTM Ԭຊ ӳًʢ͓͔΋ͱ ͻͰ͖ʣ "LBNBJ5FDIOPMPHJFT(,4FOJPS&OHBHFNFOU.BOBHFS $*441

    IUUQTUVEZྺ ͸͡Ίͯ ٳ೔ͷա͝͠ํ ϲ݄લ͔Β͸͡ΊͨτϥϯϓϚδοΫͷ࿅शɾύϯ࡞Γ
  4. ©2018 AKAMAI | FASTER FORWARDTM ೥ɺ Πϯλʔωοτ͕௚໘͢ΔͰ͋Ζ͏՝୊Λ5JN#FSOFST-FF͕ࢦఠ “Tim was interested

    in issues with the Internet and the web, and he foresaw there would be problems with congestion. Hot spots, flash crowds, … and that the centralized model of distributing content would be facing challenges. He was right. There were considerable challenges and it was simply not going to scale. He presented an ideal problem for me and my group to work on.” Tom Leighton (CEO & Co-Founder of Akamai Technologies) ςΟϜ͸Πϯλʔωοτ΍8FCͷ໰୊ʹ͍ͭͯڵຯΛ͍࣋ͬͯͯɺΠϯλʔωοτͷ ࠞࡶ͕໰୊ʹͳΔ͜ͱΛ༧ݟ͍ͯͨ͠ɻϗοτεϙοτɺϑϥογϡΫϥ΢υɺͦ͠ ͯίϯςϯπ഑৴ͷதԝूݖϞσϧ͕ࠔ೉ʹ௚໘͢ΔͰ͋Ζ͏ͱɻ൴͸ਖ਼͔ͬͨ͠ɻ Πϯλʔωοτͱ͍͏΋ͷ͸୯७ʹ͸εέʔϧ͠ͳ͍ͱ͍͏େ͖ͳ໰୊͕͋ͬͨɻ൴ ͸ࢲͷνʔϜʹཧ૝తͳ໰୊Λఏڙͯ͘͠ΕͨΜͩ
  5. ©2018 AKAMAI | FASTER FORWARDTM ೥ɺ 4UBS8BST&QJTPEF*5IF1IBOUPN.FOBDF༧ࠂฤެ։ In 24 hours

    it was downloaded more than a million times. In the first five days, it was downloaded 3.5 million times, soaring to 6.4 million within three weeks. Steve Jobs himself described the second trailer as "the biggest Internet download event in history". Richard Trenholm (CNN) ͦΕ͸࠷ॳͷ࣌ؒͰສճҎ্ɺ೔ؒͰສճɺिؒͰສճ΋μ΢ϯ ϩʔυ͞ΕͨɻεςΟʔϒɾδϣϒζ͸͜ͷ༧ࠂฤެ։ʹ͍ͭͯʮྺ্࢙࠷େͷΠϯ λʔωοτμ΢ϯϩʔυΠϕϯτʯͱදݱͨ͠
  6. ©2018 AKAMAI | FASTER FORWARDTM 2004: US Election Day -

    21 Gbps 2008: Major Golf Tournament - 444 Gbps 2012: Super Bowl - 1.4 Tbps 2014: FIFA World Cup - 6.9 Tbps 2016: UEFA Euro 2016 - 7.3 Tbps 2016: Rio Summer Olympics - 4.5 Tbps 2018.4.11: Indian Premier League – 5.5M concurrent viewer
  7. ©2018 AKAMAI | FASTER FORWARDTM ࣄۀ։࢝ 1P1 ˞ Akamai Technologies

    1998 1700 Amazon CloudFront 2008 114 CDNetworks 2000 200 Cloudflare 2009 151 EdgeCast Networks 2006 125 Fastly 2011 50 Level 3 Communications (1) 2006 99 Limelight Networks 2001 80 ˞೥ͷ4BWWJTࣾങऩΛج४ͱ͍ͯ͠·͢ ˞ʮ˓˓୆ʯදهʮ˓˓୆Ҏ্ʯදهͷ਺஋͕ࠞࡏ͍ͯ͠·͢
  8. ©2018 AKAMAI | FASTER FORWARDTM ϢʔβʔΛͲ͏΍ͬͯ࠷దͳΤοδαʔόʔʹ༠ಋ͢Δͷ͔ ੈքதʹΤοδαʔόʔ͕ஔ͍ͯ͋Δͱͯ͠ɺϢʔβʔ͸Ͳ͏ ΍ͬͯ࠷دΓͷΤοδαʔόʔ܈ Ϧʔδϣϯ ʹ޲͔͏ͷ͔ɻϢʔ

    βʔ͸Τοδαʔόʔͷ*1ΞυϨεΛ௚઀஌Δ͜ͱ͕Ͱ͖ͳ͍͠ɺ 63-Λ͍͍ͪͪม͑ΔΘ͚ʹ΋͍͔ͳ͍ %/4ͷ໊લղܾͷ࣌఺ͰΞΫηεݩʹΑͬͯԠ౴Λಈతʹม͑Δ "LBNBJ%ZOBNJD.BQQJOH U.S. Patent No. 6108703 Global hosting system https://www.google.com/patents/US6108703 2019 Akamai
  9. ©2018 AKAMAI | FASTER FORWARDTM ࠷దͳΤοδαʔόʔ܈ͱ͸ Ͱ͖Δ͚ͩϢʔβʔʹͱͬͯշదͳΤοδαʔόʔ܈ Ϧʔδϣϯ ʹ༠ಋ͍ͨ͠ɻͲͷΑ͏ʹϦΫΤετΛ෼ࢄ͢΂͖͔ɻ $16ʹ༨༟͸͋Δ͕ωοτϫʔΫଳҬ͸ࠞࡶ͍ͯ͠ΔϦʔδϣϯ

    ΍ɺͦͷٯͷঢ়ଶͷϦʔδϣϯ͕ࠞࡏ͍ͯ͠ΔɻͲ͏͢Δ ͦͯ͠ɺͰ͖Ε͹Φϑϩʔυ཰΋ߴ͍΄͏͕ྑ͍͕ʜɻ • 4UBCMFNBSSJBHFQSPCMFN ҆ఆ݁ࠗ໰୊ • (BMF4IBQMFZΞϧΰϦζϜ Algorithmic Nuggets in Content Delivery https://www.akamai.com/us/en/multimedia/documents/technical-publication/algorithmic- nuggets-in-content-delivery-technical-publication.pdf
  10. ©2018 AKAMAI | FASTER FORWARDTM "LBNBJͷΤοδαʔόʔ • ߴػೳͳಠࣗ։ൃ)551αʔόʔ • 9.-ϕʔεͷ%4-ͰϩδοΫΛ૊Ή

    • ๲େͳػೳ͕͋ΔͨΊɺ͍ͨ͜͠ͱ͸ݱ৔ͷ ΤϯδχΞϨϕϧͰ͔ͳΓͷ͜ͱ͕Ͱ͖Δ %4-ɾػೳͷ಺෦υΩϡϝϯτ͕໿ ϖʔδӳ୯ޠ׵ࢉͰ໿ສޠ
  11. ©2018 AKAMAI | FASTER FORWARDTM <match:regex string="%(AK_PATH)" regex="/\d{6}/$" flags=""> <match:request.type

    value="CLIENT_REQ"> <match:client.edgescape2 value="JP" field="COUNTRY_CODE" result="true" use-headers="all" check-ips="both"> <assign:variable> <name>AKA_PM_OUTCOME_URL</name> <value>%(AK_URL)</value> <transform> <substitute> <regex>/\d{6}/</regex> <replacement>/close/</replacement> <flags>g</flags> </substitute> </transform> </assign:variable> <forward:modify-path.by-rule> <status>on</status> <rule>=%(AKA_PM_OUTCOME_URL)</rule> <replace-length>-1</replace-length> <remove-slash>off</remove-slash> </forward:modify-path.by-rule> </match:client.edgescape2> </match:request.type> </match:regex>
  12. ©2018 AKAMAI | FASTER FORWARDTM Origin servers Client The internet

    Edge Server ͜͜Ͱߴ౓ͳॲཧΛ ͢Ε͹ྑ͍ͷͰ͸
  13. ©2018 AKAMAI | FASTER FORWARDTM Πϯλʔωοτͷܦ࿏ͷෆ҆ఆ͞ʹରԠ͍ͨ͠ 44-ηογϣϯ਺͕ଟ͗ͯͭ͢Β͍ͷΛରॲ͍ͨ͠ αʔόʔ΍ճઢ͕͍ۤ͠ͷͰ੩తϑΝΠϧ഑৴͸·͔͍ͤͨ 8FCαΠτશମ "1*ΛΩϟογϡ͔Βग़ͯ͠Ԡ౴Λ଎͍ͨ͘͠

    ը૾ɾಈըɾ)5.-ͳͲϖΠϩʔυΛࣗಈతʹ࠷దԽͯ͠΄͍͠ --ͷ%%P4ରࡦɾ)551΍26*$ରԠɾ#SPUMJରԠ౳ ΍΍௿ϨΠϠʔͷχʔζ΋΋ͪΖΜ͋Δ Τοδ ࠷લઢ Ͱߴ౓ͳॲཧΛ͢Δ $%/Ͱ͔ͨͬͨ͜͠ͱɾ͍ͯ͠Δ͜ͱ -%%P4ରࡦ 8"'#PUɾεΫϨΠϐϯάରࡦΛ͍ͨ͠
  14. ©2018 AKAMAI | FASTER FORWARDTM ೥ɺ&EHF4JEF*ODMVEFTͷ࢓༷ΛࡦఆɾϦϦʔε ೥ɺ*#.ͱڞಉͰ&EHF$PNQVUJOH &EHF+BWB ΛϦϦʔε ˠ

    ೥ &0- ೥ɺ8FC"QQMJDBUJPO'JSFXBMMϦϦʔε ೥ɺ'SPOU&OE0QUJNJ[BUJPOϦϦʔε ೥ɺ$MPVEMFU੡඼܈ϦϦʔε ೥ɺ#PU.BOBHFSϦϦʔε ೥ɺ*NBHF.BOBHFSϦϦʔε ͦΕҎલʹલ਎੡඼͋Γ ೥ɺ&EHF8PSLFST &EHFͰಈ࡞͢Δ+BWB4DSJQU Λ։ൃத "LBNBJͷಈ͖
  15. ©2018 AKAMAI | FASTER FORWARDTM Origin servers The internet Telco

    Edge Server Base station Mobile Device lΤοδz͸Ͳ͔͜ ࠷લઢ
  16. ©2018 AKAMAI | FASTER FORWARDTM http://elijah.cs.cmu.edu/DOCS/satya-edge2016.pdf The old axiom about

    the three top determinants of real estate value being “location, location, and location.” ݹ͍֨ݴᐌ͘ɺෆಈ࢈Ձ஋ΛܾΊΔཁ ҼɺͦΕ͸ཱ஍ɺཱ஍ɺཱͦͯ͠஍ͩ
  17. ©2018 AKAMAI | FASTER FORWARDTM 26*$ରԠ ܞଳి࿩໢ʹ࠷దԽ͞Εͨ᫔᫓੍ޚ ίϯςϯπͷ༧ଌ഑৴ 1FFSBTTJTUFE%FMJWFSZ FUD

    ϞόΠϧσόΠε༻ʹ4%,Λఏڙ ˞೥݄ݱࡏ ະ࣮૷ͷػೳؚΉ "LBNBJ.FEJB"DDFMFSBUJPO&GGJDJFODZ4%,
  18. ©2018 AKAMAI | FASTER FORWARDTM Data Center Internet Cell Networks

    *P5σόΠεؒ௨৴ .255 Device Device Edge server “location, location, and location” "LBNBJ*P5&EHF$POOFDU
  19. ©2018 AKAMAI | FASTER FORWARDTM • ࣾ֎޲͚8FCαΠτ͕υϝΠϯ਺׵ࢉͰҎ্ͱ͔͋Δ • ओཁαʔϏε͸΋ͪΖΜ੬ऑੑࢼݧͳͲ΍͍ͬͯΔ͕ɺख͕·Θ͍ͬͯͳ͍αʔϏ ε΋͋ΓηΩϡϦςΟ͕ෆ҆ɻ

    • ৗ࣌44-Խ͸͚ͨ͠ͲɺͲͷυϝΠϯ͕Ͳͷ$JQIFS4VJUF࢖ͬͯΔͷ͔Θ͔Βͳ͍ • Ϣʔβʔ΍੍࡞νʔϜ͕ͨ·ʹ͏͔ͬΓ.#ͷը૾ͱ͔Λషͬͯ͠·͏͜ͱ͕͋Δ • ੍࡞νʔϜ΍ϚʔέςΟϯάνʔϜ͕ҟৗʹ஗͍SEQBSUZ+BWB4DSJQUΛಥવ షͬͯ͠·͏͜ͱ͕͋Δ • υϝΠϯΛΘ͚͍ͯΔඞવੑͷͳ͍ͱ͜Ζ͸ɺ֎޲͚ʹ͸શͯ XXXIPHFIPHFDPNͰݟ͍ͤͨ 8FCΨόφϯεڧԽͷͨΊͷ$%/ ͨͱ͑͹"LBNBJͰ΋͜ΕΒͷ໰୊͸શͯରԠՄೳ
  20. ©2018 AKAMAI | FASTER FORWARDTM • Ϩεϙϯεͷ಺༰͕ͦͷϦΫΤετҎ֎ͷϦΫ Τετʹґଘ͢Δ ϦΫΤετؒͷґଘੑΛͳ͘͢ •

    Ϩεϙϯεͷ಺༰ΛΫΤϦύϥϝʔλ ϦΫΤ ετϔομʔ ࣌ؒʹͷΈґଘ͢ΔΑ͏ʹ͢Δ
  21. ©2018 AKAMAI | FASTER FORWARDTM &5BHϔομʔͷར༻ • ಈతʹϨεϙϯε͕มԽ͢ΔΞϓϦͰ͏·͘ &5BHΛੜ੒Ͱ͖Ε͹ɺΦϦδϯ·ͰϦΫΤετ ͸ඈͿ΋ͷͷసૹྔͷઅ໿ͱ଎౓޲্͕ݟࠐΊΔ

    ͕ɺ&5BHͷઃܭख๏͸·ͩ·ͩະ։୓ ͱɺࢥͬͯ·͢ օ͞ΜͷձࣾͰಈతίϯςϯπʹରͯ͠&5BHΛੜ੒͍ͯ͠Δࣄྫ ͕͋Ε͹ͥͻڭ͍͖͍͑ͯͨͩͨͰ͢ɻ http://bitworking.org/news/150/REST-Tip-Deep-etags-give-you-more- benefits Deep etags give you more benefits ݁ߏ೉͍͠Ͱ͢
  22. ©2018 AKAMAI | FASTER FORWARDTM • ಈը഑৴΍ύον഑৴ͳͲͱൺֱͯ͠ɺ8FCΞϓϦ΍"1*ͷ Ωϟογϡઓུ͸ϘτϜΞοϓɾBEIPDʹͳΓ͕ͪ • $BDIFBCJMJUZ

    ΩϟογϡՄ൱ɾΩϟογϡͷੜଘ࣌ؒɾύʔδ ͷλΠϛϯά Λߟྀͨ͠ΞϓϦέʔγϣϯಛੑͷهड़ख๏͕ͳ͍ ΋͠طʹ͋ͬͨΒڭ͍͑ͯͩ͘͞ • 4XBHHFSΈ͍ͨͳ"1*࢓༷هड़ݴޠͷ֦ு͔Βͱ͔ $BDIFBCJMJUZͷ؍఺͔ΒͷΞϓϦέʔγϣϯͷϞσϦϯά