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
ExAws
Search
kanmo
January 11, 2017
Programming
1
520
ExAws
Elixir 勉強会 tokyo.ex#7 × 歌舞伎座.tech#13 資料
kanmo
January 11, 2017
Tweet
Share
More Decks by kanmo
See All by kanmo
Keep Phoenix App Productivity
kanmo
2
1.1k
Elixir/OTPを使った分散アプリケーション
kanmo
4
2.3k
Real Time Web Application with Elixir and Phoenix
kanmo
1
1.4k
Elixir 次に来る大物Web言語の可能性
kanmo
8
2.8k
Other Decks in Programming
See All in Programming
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
React への依存を最小にするフロントエンド設計
takonda
6
1.4k
距離関数を極める! / SESSIONS 2024
gam0022
0
290
最新TCAキャッチアップ
0si43
0
200
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1k
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
200
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
CSC509 Lecture 13
javiergs
PRO
0
110
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
200
Jakarta EE meets AI
ivargrimstad
0
240
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
520
39k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Six Lessons from altMBA
skipperchong
27
3.5k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Docker and Python
trallard
40
3.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Transcript
&Y"XTͰ"84ͷ"1* Λ͏ Elixir ษڧձ tokyo.ex#7 × Վب࠲.tech#13 2017/01/01
w "LJIJEF,BOH !LBONP@BL w $MBTTNFUIPEגࣜձࣾʹॴଐ w ීஈϞόΠϧΞϓϦαʔϏε෦ͱ͍͏ͱ͜ΖͰαʔ όαΠυͷ͓ࣄΛ͍ͯ͠·͢ʢ3VCZɺ/PEFͳ Ͳ
ɻ͋ͱΠϯϑϥʢ"84ʣ
"84ϝΠϯͷձࣾͰ&MJYJSͷ͜ͱΛ Α͘#MPHͰॻ͍ͯ·͢ ձࣾ ࢲ
ࢲͷΈʜ&MJYJSΛࣄͰ͑ͳ͍ w ձࣾͰΘΕ͍ͯΔݴޠ3VCZɺ/PEFɺ+BWBɺ 4DBMBʢ(Pগ͠ʣ w ࡢɺ্࢘ʹʮ&MJYJS͜ͷձࣾͰ͏Մೳੑ΄΅ ͳ͍͚ͲؤுͬͯʯͱݴΘΕͨ Ͳ͏͢Ε&MJYJS͑Δ͔ʜ
ͻΒΊ͍ͨʂ "84ͷձࣾͩ͠ɺ"84ͱ ͷ࿈ܞ͕ॆ࣮͍ͯ͠Ε ͑ΔΑ͏ʹͳΔ͔ʂ
ࠓΑ͋͘Δී௨ͷϞόΠϧόοΫΤϯυγεςϜ Ͱɺ&Y"XTΛͬͨ߹ͷ"84"1*ͷݺͼग़͠ʹͭ ͍͓ͯ͠͠·͢ w 4 w %ZOBNP%# w 4/4 424
w ,JOFTJT4USFBNT
&Y"XT w &MJYJSͷ"84$MJFOU-JCSBSZ w ରԠ͍ͯ͠ΔαʔϏε%ZOBNP%#ɺ4ɺ&$ɺ ,JOFTJTɺ-BNCEBɺ3%4ɺ4/4ɺ424ɺ,.4 w ࡢ݄ʹWFS͕ϦϦʔε͞Ε·ͨ͠ w TIBSFE@DSFEFOUJBMTFYQPOFOUJBMCBDLP⒎ʹରԠ
͍ͯͨ͠Γͱ৭ʑศར
4Λͬͨίϯςϯπ৴ $.4͔Βཧऀ͕ίϯςϯπΛొ ࡞ͨ͠ίϯςϯπʢ+40/ͱ͔ը૾ʣΛ4ʹΞο ϓϩʔυ $%/ܦ༝ͰϞόΠϧΞϓϦʹදࣔ͢Δ CMS S3 Cloud Front
Ξοϓϩʔυ μϯϩʔυ
%ZOBNP%#Λͬͨίϯςϯπ৴ w 4Ͱ৴͍ͯͨ͠ͷΛ%ZOBNP%# "1*αʔό ܦ༝ͰϞόΠϧΞϓϦʹදࣔ͢Δ DynamoDB API Server
Ϩίʔυͷऔಘ ߋ৽
আ
4/4τϐοΫΛͬͨϓογϡ௨ 424ܦ༝ͷσόΠετʔΫϯొ API Server SNS Topic CMS SQS Worker ϓογϡ௨
τʔΫϯొ
4/4τϐοΫͷύϒϦογϡ
424͔Βͷϝοηʔδऔಘɺআ
,JOFTJT4USFBNTܦ༝Ͱ%ZOBNP%# ఆྔ8$6ॻ͖ࠐΈ Stream Lambda DynamoDB Stream Lambda Worker w %ZOBNP%#ͷେྔϨίʔυॻ͖ࠐΈ
w -BNCEBͰಡΈࠐΈϨίʔυྔΛτϦΨʔͰݻఆͯ͠ %ZOBNP%#ͷॻ͖ࠐΈྔΛௐ͢Δ
4USFBNͷϨίʔυՃ ෳϨίʔυՃ
4USFBN͔ΒͷϨίʔυऔಘ
,.4 w ࡢɺ)JSPLJ0IUTVLB͞Μ͕࣮ͯ͘͠Ε·ͨ͠ʂ ͋Γ͕ͱ͏͍͟͝·͢☺ w ,.4҉߸ԽΩʔͷੜɺཧΛ"84ͰͰ͖ΔαʔϏε ҉߸Խ ෮߸Խ
·ͱΊ w &Y"XTΛͬͯ"84ͷ"1*Λ͏ͷඇৗʹ؆୯ w ݱࡏ։ൃ͕׆ൃͰࠓޙରԠαʔϏε͕૿͍͑ͯ ͘ͱࢥΘΕΔ w υΩϡϝϯτ͔ͬ͠Γ͍ͯ͠Δ w όάɺυΩϡϝϯτमਖ਼ͳͲ·ͩ·ͩਓख͕Γͳ
ͦ͏ͳͷͰߩݙͰ͖Δνϟϯε͋Δ ʢࣗখ͍͞मਖ਼ͳͲϓϧϦΫૹͬͨΓͯ͠·͢ʣ