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.5k
プロダクトオーナーがFour Keys + 信頼性に思うところ / Product Owners Think of Four Keys + Reliability
yoshiyoshifujii
0
490
Recapping Chatwork Scala Journey - ScalaMatsuri2023
yoshiyoshifujii
0
2.7k
ここ数ヶ月で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
830
サマーインターンシップ2019で学生とDDDなScala開発に取り組んだ / Working on DDD and Scala development with students at Summer Internship 2019
yoshiyoshifujii
2
4.1k
Clean Architecture in Practice @ScalaMatsuri2019
yoshiyoshifujii
9
4k
実践 Clean Architecture
yoshiyoshifujii
13
10k
Other Decks in Technology
See All in Technology
ABWGのRe:Cap!
hm5ug
1
120
Amazon Q Developerで.NET Frameworkプロジェクトをモダナイズしてみた
kenichirokimura
1
200
KMP with Crashlytics
sansantech
PRO
0
240
ドメイン駆動設計の実践により事業の成長スピードと保守性を両立するショッピングクーポン
lycorptech_jp
PRO
13
2.2k
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
140
深層学習と3Dキャプチャ・3Dモデル生成(土木学会応用力学委員会 応用数理・AIセミナー)
pfn
PRO
0
460
20250116_自部署内でAmazon Nova体験会をやってみた話
riz3f7
1
100
embedパッケージを深掘りする / Deep Dive into embed Package in Go
task4233
1
220
Visual StudioとかIDE関連小ネタ話
kosmosebi
1
380
あなたの知らないクラフトビールの世界
miura55
0
130
Godot Engineについて調べてみた
unsoluble_sugar
0
410
comilioとCloudflare、そして未来へと向けて
oliver_diary
6
450
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
960
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
The Language of Interfaces
destraynor
155
24k
Building Adaptive Systems
keathley
38
2.4k
Raft: Consensus for Rubyists
vanstee
137
6.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Being A Developer After 40
akosma
89
590k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.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ͰͬͯΈͨ Λ͠·ͨ͠