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
380
ウェブ地図「地理院地図」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
38
OCI Cloud Native アーキテクチャ from 他社クラウド_移行の秘訣
shinpy
0
150
Oracle Cloud Infrastructure Advent Calendar 2023- Cloudii -
shinpy
0
150
OCIJP#33_NetworkFirewall
shinpy
0
490
OCIと歩んだ2年間
shinpy
0
360
Cloudiiブログで実践するOCI
shinpy
0
50
MySQL Database Service レビュー
shinpy
0
370
OCIJP#11_Always Free
shinpy
0
350
AWS×VPN
shinpy
0
640
Other Decks in Technology
See All in Technology
Creating Intuitive Developer Tool in Swift
giginet
PRO
0
570
KaigiOnRails2024
igaiga
6
3.6k
WHOLENESS, REPAIRING, AND TO HAVE FUN: 全体性、修復、そして楽しむこと
snoozer05
PRO
3
3.6k
AWS re:Inventを徹底的に楽しむためのTips / Tips for thoroughly enjoying AWS re:Invent
yuj1osm
0
180
[PyCon Korea 2024] Lightning Talk: PyPI패키지를 의심하세요
studioego
PRO
0
130
小規模に始めるデータメッシュとデータガバナンスの実践
kimujun
2
260
ActiveRecord SQLインジェクションクイズ (Rails 7.1.3.4)
kozy4324
9
2.1k
Figma Dev Modeで進化するデザインとエンジニアリングの協働 / figma-with-engineering
cyberagentdevelopers
PRO
1
340
LeSSをはじめよう〜LeSSをはじめるとき、LeSSをはじめてから、知りたかったこと詰め合わせ〜
lycorptech_jp
PRO
2
210
APIテスト自動化の勘所
yokawasa
4
1.1k
失敗しないOpenJDKの非互換調査
tabatad
0
230
サイロ化した金融システムを、packwerk を利用して無事故でリファクタリングした話
coincheck_recruit
3
3.2k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
770
Unsuck your backbone
ammeep
668
57k
Designing on Purpose - Digital PM Summit 2013
jponch
115
6.9k
The Cult of Friendly URLs
andyhume
78
6k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
A Philosophy of Restraint
colly
203
16k
Docker and Python
trallard
40
3k
The Art of Programming - Codeland 2020
erikaheidi
51
13k
Automating Front-end Workflow
addyosmani
1365
200k
Designing for Performance
lara
604
68k
The Invisible Side of Design
smashingmag
297
50k
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