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
Microservicesにおけるサーバレスの使いどころ
Search
yoshiyoshifujii
August 25, 2017
Technology
1
1.5k
Microservicesにおけるサーバレスの使いどころ
Serverless Meetup Osaka #3
https://serverless.connpass.com/event/61416/
yoshiyoshifujii
August 25, 2017
Tweet
Share
More Decks by yoshiyoshifujii
See All by yoshiyoshifujii
プロダクトオーナーの視座から見た信頼性とオブザーバビリティ / Reliability and Observability from the Perspective of a Product Owner
yoshiyoshifujii
1
1.4k
プロダクトオーナーがFour Keys + 信頼性に思うところ / Product Owners Think of Four Keys + Reliability
yoshiyoshifujii
0
440
Recapping Chatwork Scala Journey - ScalaMatsuri2023
yoshiyoshifujii
0
2.5k
ここ数ヶ月でAkkaを勉強した方法について紹介 / I have studied Akka in the past few months
yoshiyoshifujii
1
250
コードをどまんなかに据えたモデリング-Scala版 / Modeling with code in the middle-Scala version
yoshiyoshifujii
0
110
Chatworkのドメインをモデリングした / Modeling Chatwork domain
yoshiyoshifujii
0
790
サマーインターンシップ2019で学生とDDDなScala開発に取り組んだ / Working on DDD and Scala development with students at Summer Internship 2019
yoshiyoshifujii
2
4k
Clean Architecture in Practice @ScalaMatsuri2019
yoshiyoshifujii
9
3.9k
実践 Clean Architecture
yoshiyoshifujii
13
10k
Other Decks in Technology
See All in Technology
クライアントサイドでよく使われる Debounce処理 をサーバサイドで3回実装した話
yoshiori
1
150
2024-10-30-reInventStandby_StudyGroup_Intro
shinichirokawano
1
620
「視座」の上げ方が成人発達理論にわかりやすくまとまってた / think_ perspective_hidden_dimensions
shuzon
2
120
カメラを用いた店内計測におけるオプトインの仕組みの実現 / ai-optin-camera
cyberagentdevelopers
PRO
1
120
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
24
6.7k
初心者に Vue.js を 教えるには
tsukuha
5
390
使えそうで使われないCloudHSM
maikamibayashi
0
170
10分でわかるfreeeのQA
freee
1
3.4k
物価高なラスベガスでの過ごし方
zakky
0
360
CAMERA-Suite: 広告文生成のための評価スイート / ai-camera-suite
cyberagentdevelopers
PRO
3
260
一休.comレストランにおけるRustの活用
kymmt90
3
580
フルカイテン株式会社 採用資料
fullkaiten
0
36k
Featured
See All Featured
KATA
mclloyd
29
13k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Happy Clients
brianwarren
97
6.7k
GitHub's CSS Performance
jonrohan
1030
460k
Writing Fast Ruby
sferik
626
61k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
107
49k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Optimizing for Happiness
mojombo
376
69k
Teambox: Starting and Learning
jrom
132
8.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Transcript
.JDSPTFSWJDFTʹ͓͚Δ αʔόϨεͷ͍Ͳ͜Ζ 'SJ !ZPTIJZPTIJGVKJJ
͜Μʹͪ w:PTIJUBLB'VKJJ !ZPTIJZPTIJGVKJJ w4PGUXBSF&OHJOFFS w4DBMB+BWB1ZUIPO 5ZQFTDSJQU w4DBMBؔ4VNNJU4UB⒎ w4FSWFSMFTT0TBLB4UB⒎
None
None
None
ձεϙϯαʔͬͯ·͢ ʮͷʯ ͱݺΕͯ·͢
ି͠ग़͠Ͱ͖Δ෦ w ηϛφʔϗʔϧ ໊ w ձٞࣨ ໊͔Β໊ w
ΧϑΣεϖʔε ໊ w ϏΞόογϡͳͲͷ࠙ձ։࠵ՄೳͰ͢ʂ
݄ !ఱຬݚमηϯλʔ
"84SF*/7&/5 /07%&$c-"47&("4 /7
ࠓ͓͢Δ༰ w.JDSPTFSWJDFTΛ͓͞Β͍ w4FSWFSMFTTͷద༻ॴ w࣮ࡍͷߏ
ࠓ͓͢Δ༰ w.JDSPTFSWJDFTΛ͓͞Β͍ w4FSWFSMFTTͷద༻ॴ w࣮ࡍͷߏ
.JDSPTFSWJDFTΛ ͓͞Β͍͓͖ͯ͠·͠ΐ͏
.JDSPTFSWJDFTͭͷಛ αʔϏεΛ௨ͨ͡ίϯϙʔωϯ τԽ ϏδωεߦೳྗʹؔΘΓ ৫͕ཧ͞ΕΔ͜ͱ ϓϩδΣΫτͰͳ͘ϓϩμΫ τ
ݡ͍ TNBSU ΤϯυϙΠϯτͱ ࢄ౷࣏ ࢄσʔλཧ ΠϯϑϥࣗಈԽ োͷͨΊͷઃܭ ਐԽతͳઃܭ ླ༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢܦ#1/FYU*$5બॻʣ ,JOEMFͷҐஔ/P ܦ#1,JOEMF൛
ෳαʔϏεͰߏ w ͭͷΞϓϦέʔγϣϯΛΑΓখ͞ ͳ୯ҐͷʮαʔϏεʯͷΈ߹Θ ͤͰߏ͢Δख๏ w ͦΕͧΕͷαʔϏεݸผͷϓϩ ηεͰಈ࡞ w "1*Λ௨ͯ͡)551ͳͲͷඪ४తͳ
ϓϩτίϧͰ࿈ܞ ླ༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢܦ#1/FYU*$5બॻʣ ,JOEMFͷҐஔਤ ܦ#1,JOEMF൛
αʔϏε͝ͱͷϥΠϑαΠΫϧ wϞϊϦγοΫ Ұຕؠ ͩͱӨڹ ௐࠪʹ͕͔͔࣌ؒΔ wӨڹൣғαʔϏε෦ʹด͡ Δ w࣮ࡍɺͦΜͳ୯७Ͱͳ͍ wαʔϏεͷׂ͕ॏཁͰɺ͍͔ ʹӨڹൣғΛαʔϏε෦ʹཹ
ΊΔ͔ ླ༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢܦ#1/FYU*$5બॻʣ ,JOEMFͷҐஔਤ ܦ#1,JOEMF൛
ૄ݁߹ͳαʔϏε࿈ܞ wૄ݁߹ͷදʮΩϡʔʯΛ ༻͍ͨ࿈ܞ wαʔϏεಉ͕࢜࿈ܞͤͣ ʹࡁΉ wαʔϏεͷμϯλΠϜΛ ؾʹ͠ͳͯ͘ྑ͍ w࿈ܞઌαʔϏεͷੑೳྼԽ ླ༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢܦ#1/FYU*$5બॻʣ
,JOEMFͷҐஔਤ ܦ#1,JOEMF൛
σʔλϕʔεαʔϏε͝ͱʹ wैདྷγεςϜɺͭͷΞ ϓϦʹͭͷσʔλϕʔε wσʔλϕʔεڞ༗ੑೳ ͕ʹ wࢄσʔλϕʔε߹ ੑ͕ʹ ླ༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢܦ#1/FYU*$5બॻʣ ,JOEMFͷҐஔਤ
ܦ#1,JOEMF൛
αʔϏεߏཧ wαʔόʔߏஙखଓ͖Λ ίʔυԽ w%PDLFS wΫϥυಛ༗ͷ͠͞ ླ༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢܦ#1/FYU*$5બॻʣ ,JOEMFͷҐஔਤ ܦ#1,JOEMF൛
ࠓ͓͢Δ༰ w.JDSPTFSWJDFTΛ͓͞Β͍ w4FSWFSMFTTͷద༻ॴ w࣮ࡍͷߏ
υϝΠϯۦಈઃܭ wୈ෦ઓུతઃܭ ୈষϞσϧͷ߹ੑ Λҡ࣋͢Δ wڥք͚ͮΒΕͨίϯςΩ ετΛѲ͢Δ wγεςϜ͕ѻ͏υϝΠϯ Λཧղ͠దʹڥքΛઃ ܭ͢Δ &SJD&WBOTυϝΠϯۦಈઃܭʢᠳӭࣾʣ
1ਤ ᠳӭࣾ
ίϯςΩετϚοϓ wαʔϏεͷΓޱɺίϯςΩετϚοϓʹै͏ wίϯςΩεταʔϏε w4FSWFSMFTT"SDIJUFDUVSF͕ద༻Ͱ͖Δ͔ wίϯςΩετͷಛੑ͔Βஅ͢Δ
ίϯςΩετͷಛੑ w$"1ఆཧ wίΞυϝΠϯ wυϝΠϯࣝͷཧղ
$"1ఆཧ w߹ੑ$POTJTUFODZ wՄ༻ੑ"WBJMBCJMJUZ wஅੑ1BSUJUJPOUPMFSBODF
"1PS$1 w߹ੑΛ٘ਜ਼ʹ͢Δ"14FSWFSMFTT wՄ༻ੑΛ٘ਜ਼ʹ͢Δ$1ैདྷܕ wσʔλϕʔεΛαʔϏε͝ͱʹબͰ͖Δ wίϯςΩετͷಛੑ͔Βݟग़͢
ίΞυϝΠϯ wैདྷܕ wଞͷαʔϏεͱ࿈ܞ͕ଟ͍ w4FSWFSMFTT੍͕ଟ͘ɺͦͷ੍ʹΑͬͯɺ .JDSPTFSWJDFTʹӨڹ͢Δͷμϝ wαʔϏεͷதʹด࣮ͯ͡ફ͢Δ͠
υϝΠϯࣝͷཧղ wཧղ͕ઙ͍ैདྷܕ wকདྷͷల͕͋Δఔݟ͍͑ͯΔ4FSWFSMFTT w੍ͷଟ͍4FSWFSMFTT wυϝΠϯ͕Αʔ͔ΒΜ͏ͪΊͱ͘
ίϯςΩετͷಛੑΛ͔ͭΉ wಛੑʹ͍ͭͯɺυϝΠϯΤΩεύʔτͱͷରॏཁ wཧղΛޡΔͱɺ4FSWFSMFTTແཧͬͯͳͬͯखΔ wͱ͍͑ɺ%%%ͳߏͰϓϩάϥϜΛΉͱɺҙ֎ ͱ͢ΜͳΓΠέΔ͔ wϕϯμʔϩοΫΠϯͷۃখԽ͕Ͳ͜·Ͱग़དྷΔ͔
ࠓ͓͢Δ༰ w.JDSPTFSWJDFTΛ͓͞Β͍ w4FSWFSMFTTͷద༻ॴ w࣮ࡍͷߏ
Amazon API Gateway client AWS Lambda Amazon S3 Amazon DynamoDB
Amazon Kinesis AWS Lambda AWS Lambda Context + Token Principal + Policy Allowed Amazon CloudFront Amazon S3 Amazon CloudFront AWS Step Functions AWS Lambda AWS Lambda Amazon SQS
Amazon API Gateway client AWS Lambda Amazon S3 Amazon DynamoDB
Amazon Kinesis AWS Lambda AWS Lambda Context + Token Principal + Policy Allowed Amazon CloudFront Amazon S3 Amazon CloudFront AWS Step Functions AWS Lambda AWS Lambda Amazon SQS 41"
41" w4JOHMF1BHF"QQMJDBUJPO w.JDSPTFSWJDFTͰߏ͞ΕΔγεςϜͷϑϩϯτΤϯ υʹ࠷ద w41"ͷϞδϡʔϧɺίϯςΩετΛԣஅͯͭ͠ʹ ͳΔ wষ౷߹ϢʔβʔΠϯλϑΣʔε
None
Amazon API Gateway client AWS Lambda Amazon S3 Amazon DynamoDB
Amazon Kinesis AWS Lambda AWS Lambda Context + Token Principal + Policy Allowed Amazon CloudFront Amazon S3 Amazon CloudFront AWS Step Functions AWS Lambda AWS Lambda Amazon SQS ೝূɾೝՄ
ೝূɾೝՄ wೝূɾೝՄαʔϏεΛ࡞Δ w4FSWFSMFTTͰ࡞ΕΔ wΧελϜೝূ-BNCEBΛίϯςΩετؒͰڞ༗ w4DBMBͳΒೝূɾೝՄϩδοΫΛ+"3Ͱଞίϯς Ωετʹ
Amazon API Gateway client AWS Lambda Amazon S3 Amazon DynamoDB
Amazon Kinesis AWS Lambda AWS Lambda Context + Token Principal + Policy Allowed Amazon CloudFront Amazon S3 Amazon CloudFront AWS Step Functions AWS Lambda AWS Lambda Amazon SQS ඇಉظॲཧ
ඇಉظॲཧ w,JOFTJT424ͱͯศར wίϯςΩετؒͷϝοηʔδॲཧʹ͏ w1VCMJTIFSͱ4VCTDSJCFSͰɺ ༷ͷऔΓܾΊΛ͢Δ w&WFOU5ZQFΛผ͠ɺ;ΓΘ͚Δߏ
ࠓ͓ͨ͠༰ w.JDSPTFSWJDFTΛ͓͞Β͍ w4FSWFSMFTTͷద༻ॴ w࣮ࡍͷߏ
4DBMB.BUTVSJ w4FSWFSMFTT "SDIJUFDUVSFΛ 4DBMBͰͬͯΈͨ Λ͠·ͨ͠