Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ウェブ地図「地理院地図」with Fastly
Search
Shinya Omori
November 25, 2020
Technology
0
390
ウェブ地図「地理院地図」with Fastly
Yamagoya Traverse 2020 | Fastly
DAY 1 2020.11.25
https://www.fastly.jp/yamagoya2020
Shinya Omori
November 25, 2020
Tweet
Share
More Decks by Shinya Omori
See All by Shinya Omori
AWS案件で得たナレッジ紹介_20240920
shinpy
0
48
OCI Cloud Native アーキテクチャ from 他社クラウド_移行の秘訣
shinpy
0
170
Oracle Cloud Infrastructure Advent Calendar 2023- Cloudii -
shinpy
0
170
OCIJP#33_NetworkFirewall
shinpy
0
510
OCIと歩んだ2年間
shinpy
0
370
Cloudiiブログで実践するOCI
shinpy
0
51
MySQL Database Service レビュー
shinpy
0
390
OCIJP#11_Always Free
shinpy
0
360
AWS×VPN
shinpy
0
660
Other Decks in Technology
See All in Technology
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
500
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
270
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
200
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
2024年にチャレンジしたことを振り返るぞ
mitchan
0
140
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
640
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
860
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
3
1.3k
非機能品質を作り込むための実践アーキテクチャ
knih
5
1.6k
株式会社ログラス − エンジニア向け会社説明資料 / Loglass Comapany Deck for Engineer
loglass2019
3
32k
UI State設計とテスト方針
rmakiyama
2
710
Working as a Server-side Engineer at LY Corporation
lycorp_recruit_jp
0
300
Featured
See All Featured
RailsConf 2023
tenderlove
29
940
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Music & Morning Musume
bryan
46
6.2k
Adopting Sorbet at Scale
ufuk
73
9.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Rails Girls Zürich Keynote
gr2m
94
13k
Typedesign – Prime Four
hannesfritz
40
2.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Faster Mobile Websites
deanohume
305
30k
Visualization
eitanlees
146
15k
Transcript
lΣϒਤʮཧӃਤʯXJUI 'BTUMZ
2 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE େ ৴࠸ !TIJOQZ גࣜձࣾΞτϛςοΫʢॴଐΦϑΟεɿळ༿ݪ6%9ʣ ΫϥυαʔϏεࣄۀͰ͋Δ ΫϥσΟ
Λ୲ ౡݝձएদࢢ ࡏॅʢϑϧɾϦϞʔτʣ ΠϯϑϥΤϯδχΞ݉ΤόϯδΣϦετ ࠷ۙ0$*ʢ0SBDMF $MPVE *OGSBTUSVDUVSFʣΛओͱͯ͠୲ ˞ଞʹɺ"84 ɺ "[VSFҊ݅ɺكʹΦϯϓϨɻɻɻ ʹग़ձͬͯҐ ˗*5ίϛϡχςΟ
3 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE !$MPVEJJ@KQ IUUQTDMPVEJJKQ ϋογϡλά $MPVEJJ $MPVEJJ #MPH
4 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE "HFOEB • ʮཧӃਤʯҊ݅ʹ͍ͭͯ • 'BTUMZΛબͨ͠ཧ༝ •
ߏհ • 'BTUMZ࣮༰ˍ݁Ռ • ࠓޙͷలҊ • ·ͱΊ
5 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ʮཧӃਤʯҊ݅ʹ͍ͭͯ
6 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ͓٬༷ɿࠃཧӃ ༷ Ҋ ݅ɿཧӃਤαʔόӡ༻ۀ ʮཧӃਤʯͱʁ ࠃཧӃ͕උͨ͠ܗਤɺࣸਅɺ
ඪߴɺܗྨɺࡂใͳͲɺ ຊͷࠃͷ༷ࢠΛൃ৴͢ΔΣϒਤ IUUQTNBQTHTJHPKQ !HTJ@DZCFSKBQBO !HTJDZCFSKBQBO ˞ཧӃਤͷιʔεϑΝΠϧΛ044ͱͯ͠ެ։
7 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ʲۀ༰ʳ • ཧӃਤΛՔಇͤ͞ΔΠϯϑϥج൫Λఏڙˍӡ༻ ʲಛʳ • $%/@৴ྔ
ɿ5#݄ • $%/@ϦΫΤετ ɿ ԯ3FR݄ • ΦϦδϯ@ετϨʔδ༰ྔɿ 5# ˞ਤσʔλ֨ೲ • ɾ෩ͳͲͷࣗવࡂൃੜ࣌ʹεύΠΫΞΫηε͕ ൃੜ͢Δ߹͕͋Δ
8 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE 'BTUMZΛબͨ͠ཧ༝
9 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE • ࡢ·Ͱ"84Ͱӡ༻͍ͯͨ͠ • ฐࣾΫϥυج൫ͱͯ͠0$*ʢ0SBDMF $MPVE *OGSBTUSVDUVSFʣΛఏҊ
ʲ 0$*ಛʳ ʮωοτϫʔΫ௨৴අʯ͕҆Ձ Ø Ξτόϯυ௨৴5#݄·Ͱແྉ Ø Πϯόϯυ௨৴શͯແྉ Ø ϦʔδϣϯͷαʔϏεαʔόؒͷ௨৴ྉۚແྉ Ø ઐ༻ઢͷ௨৴ྉۚແྉ ʮΠϯελϯεඅ༻ʯ͕҆Ձ Ø ଞࣾΫϥυͱൺΔͱ҆Ձʹઃఆ͞Ε͍ͯΔ Ø ࠷৽".% $16Λ҆Ձʹར༻Մೳ Ø $16ͱϝϞϦΛ̍୯ҐͰ૿ݮͰ͖ΔϞσϧఏڙ Ø ݻఆάϩʔόϧ*1ར༻͍ͯ͠ͳ͘ͱແྉ ͔͠͠ɺ0$*Ͱ$%/αʔϏεΛఏڙ͍ͯ͠ͳ͍ɻɻɻ
10 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE 0$*ʹ$%/͕ͳ͍ ʢଈܾʣ • 0$*ΛऔΓѻ͏Α͏ʹͳ͔ͬͯΒɺ'BTUMZΛௐࠪݕূ͍ͯͨ͠ • ΤοδαʔϏεͱ༷ͯ͠ʑͳػೳΛఏڙˍࠃࣄྫ૿͖͍͑ͯͯΔ
ಋೖલ'BTUMZΠϝʔδ ɾΩϟογϡύʔδ͕ߴ ɾϩάΛϦΞϧλΠϜग़ྗ ɾϩʔυόϥϯγϯάͰ͖ΔʢҠߦͰ׆༻ʁʣ ɾΧελϜ7$-Ͱػೳ֦ுՄೳ ɾதͷํʑΈΜͳڧͦ͏ʂʂ ɾ$%/৴ྔˍϦΫΤετ͕ଟ͍ͷͰσΟεΧϯτͰ͖ͦ͏ʂʂ
11 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ߏհ
12 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE • $%/ʹ$MPVE'SPOUͰఏڙ • ੩తίϯςϯπσʔλʢ4ʣɿ5# • ੩తίϯςϯπߋ৽ຖिճʢߴසʣ
ʹ Ωϟογϡύʔδසଟ͍ • ਤݕࡧػೳͷ"1*αʔόఏڙʢ&$ʣ • େྔͷϩάղੳʢ"NB[PN &.3ʣ "1*47 ຊ൪ "84 $MPVE $%/ "NB[PO$MPVE'SPOU %PDLFS ίϯςφ "1*47 ςετ Πϯλʔωοτ %PDLFS ίϯςφ ίϯςϯπΛ Ξοϓϩʔυ %PDLFSΠϝʔδΛ σϓϩΠ 71$ ΦϑΟε &.3 &$ &$ 4 "84ߏ࣌ʢࡢʣ
13 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE "1*47 ຊ൪ 0$* 7$/ $PNQVUF $PNQVUF
%PDLFS ίϯςφ "1*47 ςετ Πϯλʔωοτ 0CKFDU 4UPSBHF %PDLFS ίϯςφ ΦϑΟε %PDLFSΠϝʔδΛ σϓϩΠ ίϯςϯπΛ Ξοϓϩʔυ • $%/ʢ$MPVE'SPOUʣˠ 'BTUMZ • 4 ˠ 0CKFDU4UPSBHF • &$ ˠ $PNQVUF • ϩάղੳʢ&.3ʣ ˠ'BTUMZ͔Βϩάग़ྗ࣌ͰΧελϚΠζ ˞ϦϞʔτϩάετϦʔϛϯά ˠղੳʢूܭʣɿγΣϧ 'BTUMZʴ0$*ߏʢݱࡏʣ
14 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE 'BTUMZ࣮༰ˍ݁Ռ
15 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE 3FXSJUF • 0$* 0CKFDU 4UPSBHFͷ֎෦ެ։༻63-Λ'BTUMZͰ3FXSJUF ˞4ͱҧͬͯ·ͩϗεςΟϯάαʔϏεػೳ͕ऑ͍
Ø 0CKFDU 4UPSBHF͕ൃߦ͢Δ63- ྫɿIUUQTPCKFDUTUPSBHF DPN ུ UFTUQOH Ø 'BTUMZͰ3FXSJUF ྫɿIUUQTNBQTHTJHPKQUFTUQOH
16 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE Ωϟογϡઃఆ • ੩తίϯςϯπʢਤλΠϧσʔλʣ΄΅Ωϟογϡ • ಋೖॳɿΤϥʔදࣔը໘ΛΧελϜද͍ࣔͯͨ͠ʢ 4ZOUIFUJDϨεϙϯεʣ
Ø Τϥʔදࣔը໘ΛΧελϜදࣔ͢ΔͱΩϟογϡ͞Εͳ͍༷ Ø ΤϥʔશͯΦϦδϯʢ0CKFDU 4UPSBHFʣʹΞΫηε Ø ΦϦδϯͷτϥϑΟοΫྔɺΞΫηεɺ༨ܭͳෛՙͱίετ͕ൃੜ • ΤϥʔΩϟογϡ͢ΔΑ͏ʹઃఆௐ Ø ΦϦδϯͷτϥϑΟοΫྔɺΞΫηε͕ݮগʂ Ø ίετݮ ׂ'BTUMZʢΩϟογϡʣͰఏڙͰ͖͍ͯΔ
17 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE Ωϟογϡύʔδ • ϫΠϧυΧʔυɾΩϟογϡύʔδ Ø 4VSSPHBUF,FZTΛ༻ͨ͠ΩϟογϡύʔδͰ࣮ݱ •
ਤσʔλΛ6QMPBE͢Δ5JMF6QMPBE.BOBHFSʢ56.ʣͰͷࣗಈύʔδ Ø 1VSHF "1*࿈ܞͰ56.ʹ࣮ ˞1VSHF "1*ͰԠ༻͕Մೳ 56. 0CKFDU 4UPSBHF ̍ɽίϯςϯπ6QMPBE ̎ɽ6QMPBEޙɺ֘ՕॴΛΩϟογϡύʔδ
18 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ϦϞʔτϩάετϦʔϛϯάઃఆ • 'BTUMZϩάΛϦΞϧλΠϜͰՕॴʢෳΤϯυϙΠϯτʣʹग़ྗ • ߲ΛΧελϚΠζ͓͠٬༷ͷཁʹରԠ 0CKFDU4UPSBHF
0CKFDU4UPSBHF $PNQVUF ̍ɽ"NB[PO 4 -PHHJOH &OEQPJOU ͓٬༷ࢦఆϑΥʔϚοτͰͷϩάग़ྗ ̎ɽ"NB[PO 4 -PHHJOH &OEQPJOU ฐࣾϩάղੳ༻ϑΥʔϚοτͰͷϩάग़ྗ ̏ɽ4'51 -PHHJOH &OEQPJOU "NB[PO 4 -PHHJOH &OEQPJOUোʹΑΔϩάܽଛରࡦ ʢԽʣ
19 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ࠓޙͷలҊ
20 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ࠓޙͷలʢҊʣ • 'BTUMZͰϩʔυόϥϯγϯάͯ͠ࡂରࡦͰ͖ͳ͍͔ʁ 0$* Πϯλʔωοτ ΦϯϓϨ
ଞࣾΫϥυ 0$* ౦ژϦʔδϣϯ େࡕϦʔδϣϯ %$ "84ɺ"[VSFɺ($1 PS PS %3ڥ 参考:https://docs.fastly.com/en/guides/load-balancing-configuration
21 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ࠓޙͷలʢҊʣ • 'BTUMZͷϦΞϧλΠϜετϦʔϛϯάϩάΛ ($1ͷ#JH2VFSZʹग़ྗͯ͠ ͬͱָʹϩάղੳͰ͖ͳ͍͔ʂʁ 0$*
౦ژϦʔδϣϯ BigQuery ࢀߟɿIUUQTXXXGBTUMZKQQBSUOFSHDQ
22 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ·ͱΊ
23 $PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE ʮ'BTUMZΛબͯ͠ྑ͔ͬͨʂʂʯ • Ωϟογϡύʔδ͕ߴ Ø 4VSSPHBUF ,FZΛར༻ͨ͠ύʔδͰԠ༻
• ϩάΛϦΞϧλΠϜʹग़ྗ Ø ෳΤϯυϙΠϯτग़ྗˍΧελϚΠζ͕ศར • ϩʔυόϥϯγϯάͰ͖Δ Ø #$1%3ͱͯ͠෯͕͕Δ • ΧελϜ7$-Ͱػೳ֦ுՄೳ Ø 0CKFDU 4UPSBHFͷΓͳ͍ػೳΛΧόʔ • தͷਓୡΈΜͳڧͦ͏ʂʂ Ø αϙʔτͷํʑ͔Βͯ͠ڧ͍ʂʂʢαϙʔτܖΦεεϝʣ Ø εύΠΫΞΫηε͕͋ͬͨͱ͖ؾʹ͔͚ͯ͘Εͨɻ • σΟεΧϯτʜ Ø Ҋ݅֫ಘʂ ίεύ࠷ߴʂʂ
$PQZSJHIU "UPNJUFDI *OD"MMSJHIUTSFTFSWFE 24 5IBOL:PV