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
20181114_SpringOnePlatform2018_feedback.pdf
Search
ozaki25
November 14, 2018
Technology
0
51
20181114_SpringOnePlatform2018_feedback.pdf
ozaki25
November 14, 2018
Tweet
Share
More Decks by ozaki25
See All by ozaki25
20210526_a11y.pdf
ozaki25
0
140
20210525_react_next.pdf
ozaki25
0
100
Webフロントエンドはなぜ複雑なのか
ozaki25
1
98
utility first css
ozaki25
0
67
20201225_how_to_learn_technology.pdf
ozaki25
0
130
20201124_blitz.pdf
ozaki25
0
67
20200727_liff_app.pdf
ozaki25
1
600
20200721_web_vitals.pdf
ozaki25
0
80
20200624_web_otp_api.pdf
ozaki25
1
100
Other Decks in Technology
See All in Technology
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
3
390
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
120
APIとはなにか
mikanichinose
0
120
AWS re:Invent 2024 Recap in ZOZO - Serverless で好きなものをしゃべってみた
chongmyungpark
0
200
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
200
プロダクト組織で取り組むアドベントカレンダー/Advent Calendar in Product Teams
mixplace
0
280
多様なメトリックとシステムの健全性維持
masaaki_k
0
120
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
3
1.5k
[Oracle TechNight#85] Oracle Autonomous Databaseを使ったAI活用入門
oracle4engineer
PRO
1
150
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
20
5.8k
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
130
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
220
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
40
2.4k
KATA
mclloyd
29
14k
YesSQL, Process and Tooling at Scale
rocio
170
14k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.4k
Making the Leap to Tech Lead
cromwellryan
133
9k
Adopting Sorbet at Scale
ufuk
73
9.1k
The Cult of Friendly URLs
andyhume
78
6.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
A better future with KSS
kneath
238
17k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
How STYLIGHT went responsive
nonsquared
96
5.2k
RailsConf 2023
tenderlove
29
940
Transcript
4QSJOH0OF1MBUGPSN
3FBDUJWF w "TZOD w /PO#MPDLJOH w #BDLQSFTTVSF ,OBUJWF
w 4FSWFSMFTT w 'BB4 w ,VCFSOFUFT ,PUMJO w +BWBͷସݴޠ w ϘΠϥʔϓϨʔτ ݮʹΑΔੜ࢈ੑ্ 4QSJOH0OFτϐοΫ
3FBDUJWF w "TZOD w /PO#MPDLJOH w #BDLQSFTTVSF ,OBUJWF
w 4FSWFSMFTT w 'BB4 w ,VCFSOFUFT ,PUMJO w +BWBͷସݴޠ w ϘΠϥʔϓϨʔτ ݮʹΑΔੜ࢈ੑ্ ࠓ,OBUJWFʹ͍ͭͯ ৄ͘͠͠·͢ 4QSJOH0OFτϐοΫ
3FBDUJWF w "TZOD w /PO#MPDLJOH w #BDLQSFTTVSF ,OBUJWF
w 4FSWFSMFTT w 'BB4 w ,VCFSOFUFT ,PUMJO w +BWBͷସݴޠ w ϘΠϥʔϓϨʔτ ݮʹΑΔੜ࢈ੑ্ 4QSJOH0OFτϐοΫ ࠓ,OBUJWFʹ͍ͭͯ ৄ͘͠͠·͢ 3FBDUJWFͱ,PUMJO ֓ཁͷΈ͠·͢
3FBDUJWF
3FBDUJWF w 8FCΞϓϦͷϦΫΤετ͔ΒϨεϙϯε·ͰͷྲྀΕΛ w ඇಉظͰϊϯϒϩοΩϯάʹ͢Δ w +BWBͷεϨουϦιʔεΛ༗ޮ׆༻͢Δ͜ͱ͕Ͱ͖Δ μ϶αίЀϕ
ςЄϝ DB RSocket SpringWebFlux Reactor R2DBC
,PUMJO
,PUMJO w +BWBͱޓੑͷ͋Δϓϩάϥϛϯάݴޠ w +BWBͱൺͯϘΠϥʔϓϨʔτ͕গͳ͍ w 4QSJOH'SBNFXPSLͰ,PUMJOରԠ w 4QSJOH*OJUJBMJ[SͰ,PUMJOΛબͰ͖Δ w
ΧϯϑΝϨϯεͷσϞαϯϓϧίʔυͰ ,PUMJOΛͬͨͷ͕ଟ
,OBUJWF
,OBUJWFͱ w (PPHMFͷ044 w 1JWPUBMڞಉ։ൃ͍ͯ͠Δ ͦͷଞʹ3FEIBU*#. w ,VCFSOFUFTϕʔεͷαʔόʔϨεϓϥοτϑΥʔϜ
ࡉ͔͍આ໌ʹೖΔલʹ લఏࣝΛཧ͓͖ͯ͠·͢ ,VCFSOFUFTʁ αʔόʔϨεʁ ίϯςφʁ 'BB4ʁ
ίϯςφ w ίϯςφΛΘͳ͍߹ w αʔό্ʹͦΕͧΕΞϓϦΛߏங͢Δ w ڥΛڞ༗͍ͯ͠ΔͷͰผͷΞϓϦʹӨڹΛ༩͑ͳ ͍Α͏ʹ͢Δඞཁ͕͋Δ w ྫ͑ҧ͏όʔδϣϯͷ+BWBΛ͏ΞϓϦΛڞଘ͞
ͤΔͱͨ͠ΒӨڹΛ༩͑ͳ͍Α͏ʹؾΛ͚ͭͳ͍ͱ ͍͚ͳ͍ *OGSBTUSVDUVSF 04 "QQ "QQ "QQ
ίϯςφ w ίϯςφΛ͏߹ %PDLFSͷྫ w ίϯςφ୯ҐͰ࣮ߦڥִ͕͞ΕΔ w ଞͷίϯςφͰͲΜͳΞϓϦ͕ಈ͍͍ͯͯؔ ͳ͍
*OGSBTUSVDUVSF 04 "QQ %PDLFS "QQ "QQ "QQ "QQ "QQ πЀϓϗ
ίϯςφ w ίϯςφΛ͏߹ %PDLFSͷྫ w ίϯςφΠϝʔδͱͯ͠ڥΛอଘͰ͖Δ w ಉ͡ΠϝʔδΛ͑ಉ͡ڥΛ༰қʹ࠶ ߏங͢Δ͜ͱ͕Ͱ͖Δ
w ࠶ݱ͕༰қͳͷͰؾ݉Ͷͳ͘ഁغ͢Δ͜ͱ Ͱ͖Δ *OGSBTUSVDUVSF 04 %PDLFS "QQ "QQ "QQ "QQ DockerImage *OGSBTUSVDUVSF 04 %PDLFS "QQ "QQ Image۸ ͽͣΡ ͯͦݶͮ厏हΨ ٚ匍ͽͣΡ
ίϯςφ w ίϯςφ·ͱΊ w ίϯςφΛ͏ͱଞͷϓϩηε͔Βִ͞Ε࣮ͨߦڥΛ࡞Δ ͜ͱ͕Ͱ͖Δ w ΠϝʔδΛڞ༗͢Δ͜ͱͰಉ͡ڥΛ༰қʹ࠶ݱͰ͖Δ w ༰қʹ࠶ݱͰ͖ΔͷͰഁغ͍͢͠
ॊೈͳεέʔϧΞτεέʔϧΠϯ͕Մೳ
,VCFSOFUFT w ,VCFOFUFTͱ w ίϯςφԽͨ͠ΞϓϦΛཧ͢Δ w ίϯςφΛεέʔϧͤͨ࣌͞ʹߟ͑ͳ͍ͱ͍͚ͳ͍͜ͱΛͬͯ͘ΕΔ w ϗετͷཧ w
ࢮ׆ࢹ w Φʔτεέʔϧ ίϯςφͷಛΛ׆͔ͨ͢Ίʹ༗༻ͳϓϥοτϑΥʔϜ
$BB4 1BB4 'BB4 ੨͍෦αʔϏε ͕ఏڙͯ͘͠ΕΔ ΑΓ্ར༻ऀ͕ ༻ҙ͢Δ w
ΫϥυαʔϏεͷྨ
$BB4 1BB4 'BB4 $BB4ίϯςφͱΞϓϦΛ ࣗͨͪͰ༻ҙ͢Δ ྫɿ0QFO4IJGU
$BB4 1BB4 'BB4 1BB4ΞϓϦ͚ͩ ༻ҙ͢Ε͍͍ ྫɿ1"4 چশ1$'
$BB4 1BB4 'BB4 'BB4͚ؔͩ ༻ҙ͢Δ
1BB4ͱ'BB4 w 1BB4ΞϓϦ͕ىಈ͍ͯ͠ͳ͍ͱΞΫηεͰ͖ͳ͍ w 'BB4Ұఆ࣌ؒΘΕ͍ͯͳ͍ͱࣗಈͰఀࢭ͢Δ ΞΫηε͕͋ΔͱͦͷͰىಈͯ͠ॲཧΛ࣮ߦ͢Δ PaaS ᩸㵕ͭͼ͚͚;
㳌ቘͽ͚ͣ FaaS ӧᥝ䦒΅ᛔ㵕ͽ؊ྊͭ ᥝ䦒ᛔ㵕ͽ ᩸㵕ͭ㳌ቘΨ䋚ᤈ
αʔόʔϨε w αʔόʔϨεͱ w ಈతʹʙ/ݸʹεέʔϧͰ͖ΔϓϥοτϑΥʔϜαʔϏε w 'BB4αʔόϨεͷͻͱͭ w ΠϕϯτۦಈͰॲཧΛ࣮ߦ͢Δ w
࣮ࡍʹαʔό͕ແ͍Θ͚Ͱͳ͘ӡ༻ཧ͠ͳ͍͍ͯ͘ͱ͍͏ ͜ͱ https://www.slideshare.net/makingx/serverless-with-spring-cloud-function-knative-and-riff-springonetour-s1t
લఏ͕͘ͳΓ·͕ͨ͠ ͔͜͜Β͕ຊͰ͢
վΊͯ ,OBUJWFͱ w (PPHMFͷ044 w 1JWPUBMڞಉ։ൃ͍ͯ͠Δ ͦͷଞʹ3FEIBU*#. w ,VCFSOFUFTϕʔεͷαʔόʔϨεϓϥοτϑΥʔϜ
վΊͯ ,OBUJWFͱ w (PPHMFͷ044 w 1JWPUBMڞಉ։ൃ͍ͯ͠Δ ͦͷଞʹ3FEIBU*#. w ,VCFSOFUFTϕʔεͷαʔόʔϨεϓϥοτϑΥʔϜ
,VCFOFUFTͰίϯςφΛཧ͠ ίϯςφͷϙʔλϏϦςΟΛ ׆༻͢Δ͜ͱΛϕʔεͱͨ͠
վΊͯ ,OBUJWFͱ w (PPHMFͷ044 w 1JWPUBMڞಉ։ൃ͍ͯ͠Δ ͦͷଞʹ3FEIBU*#. w ,VCFSOFUFTϕʔεͷαʔόʔϨεϓϥοτϑΥʔϜ
d/ݸʹεέʔϧ͠ ΠϕϯτυϦϒϯͰॲཧΛ ࣮ߦ͢ΔϓϥοτϑΥʔϜ
εέʔϧͷΠϝʔδ ,OBUJWF ΞΫηε͕ແ͍࣌ ݸʹεέʔϧ ΞΫηε͕ଟ͍࣌ඞཁͳ͚ͩεέʔϧ εέʔϧ,VCFOFUFT͕ͬͯ͘ΕΔ 'VODUJPO ,OBUJWF
'VODUJPO
,OBUJWFͷΈ w ͭͷίϯϙʔωϯτ͔Βߏ͞ΕΔ w 4FSWJOH w #VJME w &WFOUJOH
,OBUJWFͷΈ w 4FSWJOH w ϦΫΤετʹԠͯ͡εέʔϧ͢ΔॲཧΛߦ͏ w ,VCFOFUFTΛͬͯίϯςφΛ࡞ͬͨΓഁغͨ͠Γ
,OBUJWFͷΈ w #VJME w ίϯςφΛ࡞ΔͨΊͷΠϝʔδΛ࡞͢Δ w εέʔϧͤ͞Δ࣌ʹ͏ίϯςφΠϝʔδΛ͜͜Ͱ࡞Δ
,OBUJWFͷΈ w &WFOUJOH w ΠϕϯτυϦϒϯͰॲཧΛ࣮ߦ͢ΔͨΊͷΈΛఏڙ͢Δ
,OBUJWFͷΈ https://www.slideshare.net/makingx/serverless-with-spring-cloud-function-knative-and-riff-springonetour-s1t ΠϕϯτΛ ड͚͚ͯ ॲཧΛݺͿ ίϯςφΠϝʔδ ͷ࡞ εέʔϧͷ
ίϯςφཧ
ͳͥ,OBUJWF͕͞ΕͯΔ͔ w ಉ͜͡ͱΛ࣮ݱͰ͖ΔϓϩμΫτଞʹ͋Δ w "84-BNCEB w "[VSFGVODUJPOT w (PPHMF$MPVE'VODUJPOT w
044ϕʔεͰ͋Δ͜ͱ͕ڧΈ w ಛఆͷΫϥυϕϯμʔʹґଘ͠ͳ͍
%FNP ͕࣌ؒ͋Ε w εςοϓ ࣄલʹ࣮ࢪࡁΈ w ,OBUJWFڥͷ४උ w εςοϓ
w GVODUJPOͷ࡞ w εςοϓ w GVODUJPOΛσϓϩΠ w εςοϓ w αϯϓϧΞϓϦ͔ΒGVODUJPOʹΞΫηε
%FNP ͕࣌ؒ͋Ε φϓϐϤ1 φϓϐϤ2 φϓϐϤ3
͋Γ͕ͱ͏͍͟͝·ͨ͠