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
480
Recapping Chatwork Scala Journey - ScalaMatsuri2023
yoshiyoshifujii
0
2.6k
ここ数ヶ月でAkkaを勉強した方法について紹介 / I have studied Akka in the past few months
yoshiyoshifujii
1
260
コードをどまんなかに据えたモデリング-Scala版 / Modeling with code in the middle-Scala version
yoshiyoshifujii
0
120
Chatworkのドメインをモデリングした / Modeling Chatwork domain
yoshiyoshifujii
0
810
サマーインターンシップ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
4k
実践 Clean Architecture
yoshiyoshifujii
13
10k
Other Decks in Technology
See All in Technology
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
200
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
170
非機能品質を作り込むための実践アーキテクチャ
knih
5
1.5k
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
220
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
160
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
1
250
DevOps視点でAWS re:invent2024の新サービス・アプデを振り返ってみた
oshanqq
0
180
祝!Iceberg祭開幕!re:Invent 2024データレイク関連アップデート10分総ざらい
kniino
3
310
2024年にチャレンジしたことを振り返るぞ
mitchan
0
140
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
550
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
270
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
560
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Six Lessons from altMBA
skipperchong
27
3.5k
Designing for Performance
lara
604
68k
BBQ
matthewcrist
85
9.4k
GitHub's CSS Performance
jonrohan
1030
460k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The Invisible Side of Design
smashingmag
298
50k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
It's Worth the Effort
3n
183
28k
Making the Leap to Tech Lead
cromwellryan
133
9k
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ͰͬͯΈͨ Λ͠·ͨ͠