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
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.1k
C++でシェーダを書く
fadis
6
4.1k
subpath importsで始めるモック生活
10tera
0
300
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
160
Amazon Qを使ってIaCを触ろう!
maruto
0
400
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
Remix on Hono on Cloudflare Workers
yusukebe
1
280
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
Macとオーディオ再生 2024/11/02
yusukeito
0
370
Quine, Polyglot, 良いコード
qnighy
4
640
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
The Pragmatic Product Professional
lauravandoore
31
6.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Site-Speed That Sticks
csswizardry
0
23
Code Review Best Practice
trishagee
64
17k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Speed Design
sergeychernyshev
24
610
Why Our Code Smells
bkeepers
PRO
334
57k
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 όάɺυΩϡϝϯτमਖ਼ͳͲ·ͩ·ͩਓख͕Γͳ
ͦ͏ͳͷͰߩݙͰ͖Δνϟϯε͋Δ ʢࣗখ͍͞मਖ਼ͳͲϓϧϦΫૹͬͨΓͯ͠·͢ʣ