Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lightbend Academyオンライントレーニングを受けてみた

Lightbend Academyオンライントレーニングを受けてみた

Lightbend社のオンライントレーニング「Lightbend Academy」の紹介と、受講したリアクティブアーキテクチャの理論についてのコースで学んだことをご紹介します。

Yohei TSUJI

June 16, 2020
Tweet

More Decks by Yohei TSUJI

Other Decks in Programming

Transcript

  1. © Chatwork ໨࣍  -JHIUCFOE"DBEFNZͱ͸  ͭͷτϨʔχϯάύε  डߨͷίπ 

    ͜͜·Ͱडߨֶͯ͠Μͩ͜ͱ ͳ͓ɺ͜ͷεϥΠυʹ͸Scalaͷ࿩͸͍͍ͬ͞ग़͖ͯ·ͤΜ... 3
  2. © Chatwork "LLBϚΠΫϩαʔϏε "LLBΞΫλʔͷ࢖͍ํ͔ΒΫϥελͷ૊Έํɺӡ༻؂ࢹͳͲɺ"LLBΞ ϓϦέʔγϣϯΛ։ൃ͠ӡ༻͢ΔͨΊͷ஌ࣝΛֶͼ·͢ɻ  -JHIUCFOE5FMFNFUSZ*OTUBMMBUJPO  "LLBGPS4DBMB1SPGFTTJPOBM 

    "LLB$MVTUFS'VOEBNFOUBMT  "LLB$MVTUFS4IBSEJOH 4DBMB   "LLB$MVTUFS4IBSEJOH +BWB   "LLB4USFBNTGPS4DBMB1SPGFTTJPOBM  "LLB4USFBNTGPS+BWB1SPGFTTJPOBM 13
  3. © Chatwork ΞʔΩςΫνϟ  *OUSPEVDUJPOUP3FBDUJWF  %PNBJO%SJWFO%FTJHO  3FBDUJWF.JDSPTFSWJDFT 

    #VJMEJOH4DBMBCMF4ZTUFNT  %JTUSJCVUFE.FTTBHJOH1BUUFSOT  $234&WFOU4PVSDJOH 4DBMBݴޠ  4DBMB-BOHVBHF1SPGFTTJPOBM "LLBϚΠΫϩαʔϏε  -JHIUCFOE5FMFNFUSZ*OTUBMMBUJPO  "LLBGPS4DBMB1SPGFTTJPOBM  "LLB$MVTUFS'VOEBNFOUBMT  "LLB$MVTUFS4IBSEJOH 4DBMB   "LLB4USFBNTGPS4DBMB1SPGFTTJPOBM डߨ͍ͨ͠ίʔε ݟੵΓɿ6࣌ؒ/ίʔε * 12ίʔε = 72࣌ؒ 19
  4. © Chatwork ΞʔΩςΫνϟ  *OUSPEVDUJPOUP3FBDUJWF  %PNBJO%SJWFO%FTJHO  3FBDUJWF.JDSPTFSWJDFT 

    #VJMEJOH4DBMBCMF4ZTUFNT  %JTUSJCVUFE.FTTBHJOH1BUUFSOT  $234&WFOU4PVSDJOH 4DBMBݴޠ  4DBMB-BOHVBHF1SPGFTTJPOBM "LLBϚΠΫϩαʔϏε  -JHIUCFOE5FMFNFUSZ*OTUBMMBUJPO  "LLBGPS4DBMB1SPGFTTJPOBM  "LLB$MVTUFS'VOEBNFOUBMT  "LLB$MVTUFS4IBSEJOH 4DBMB   "LLB4USFBNTGPS4DBMB1SPGFTTJPOBM ਐ௙ ͍͍ͩͨि1ϖʔεɻಓͷΓ͸௕͍... 20
  5. © Chatwork ΞʔΩςΫνϟ*OUSPEVDUJPOUP3FBDUJWF ̍ɽͳͥϦΞΫςΟϒͳͷ͔ʁ w ࣾձ׆ಈʹ͓͍ͯɺιϑτ΢ΣΞ͕Ռͨ͢໾ׂ͸େ͖͘ͳΔҰํɻ w ඞཁͳͱ͖ʹར༻Ͱ͖ͳ͚Ε͹ɺϢʔβʔ͸͙͢ʹ୅ସɾڝ߹ʹ৐ Γ׵͑ͯ͠·͏ɻ w

    ো֐Ͱશମ͕ఀࢭɺϝϯςφϯεͰ࢖͑ͳ͍͸΋͏ڐ͞Εͳ͍ɻ w ϦΞΫςΟϒΞʔΩςΫνϟ͕ղܾ͍ͨ͠՝୊͸ɺٕज़తͳ՝୊Ͱ ͸ͳ͘ɺ͜ͷΑ͏ͳιϑτ΢ΣΞʹର͢Δظ଴ͷมԽͰ͋Δɻ 23
  6. © Chatwork ΞʔΩςΫνϟ*OUSPEVDUJPOUP3FBDUJWF ̎ɽϦΞΫςΟϒΞʔΩςΫνϟͷݪଇ w ଈԠੑ 3FTQPOTJWF ৗʹԠ౴Λฦ͢ w ஄ྗੑ

    &MBTUJD ෛՙʹԠͨ͡εέʔϧΞοϓʗμ΢ϯ w ଱ো֐ੑ 3FTJMJFOU ো֐͕ൃੜͯ͠΋ճ෮͢Δ w ϝοηʔδۦಈ .FTTBHF%SJWFO ඇಉظɾϊϯϒϩοΩϯά ग़యɿϦΞΫςΟϒએݴ https://www.reactivemanifesto.org/ja ͢΂ͯ͸ଈԠੑͷͨΊɻ ৗʹԠ౴Λฦ͢͜ͱ͕Ϣʔβʔͷ৴པʹͭͳ͕Δɻ 24
  7. © Chatwork ΞʔΩςΫνϟ%PNBJO%SJWFO%FTJHO ̍ɽυϝΠϯۦಈઃܭ %%% ͱϦΞΫςΟϒΞʔΩςΫνϟ w %%%ͷߟ͑ํ΍نଇ͸ɺϦΞΫςΟϒΞʔΩςΫνϟͱ਌࿨ੑ͕ߴ ͍ɻ w

    େ͖ͳυϝΠϯΛɺϢʔβʔʗϏδωεͷࢹ఺͔ΒҰ؏ੑͷ͋Δ୯ Ґʹ෼ׂ͢Δ͜ͱ͸ɺϦΞΫςΟϒཁ݅Λຬͨͨ͢Ίʹ΋ඞཁͳ޻ ఔͰ͋Δɻ 29
  8. © Chatwork ΞʔΩςΫνϟ#VJMEJOH4DBMBCMF4ZTUFNT ̍ɽҰ؏ੑɺՄ༻ੑɺεέʔϥϏϦςΟ w Ұ؏ੑɿ ɹڧ͍Ұ؏ੑɾɾɾৗʹҰ؏ੑ͕͋Δঢ়ଶ͕อͨΕΔ ɹ݁Ռ੔߹ੑɾɾɾ࠷ऴతʹҰ؏ੑ͕͋Δঢ়ଶʹͳΔ w Մ༻ੑɿ

    ɹγεςϜ͕ͲΜͳঢ়ଶͰ΋Ԡ౴Λฦ͢͜ͱ͕Ͱ͖Δ w εέʔϥϏϦςΟɿ ɹԠ౴ੑΛҡ࣋ͨ͠··ཁٻͷ૿ՃʹରԠͰ͖Δ ɹεέʔϥϏϦςΟʹ͸্ݶ͕ͳ͍ w ͪͳΈʹύϑΥʔϚϯεͱεέʔϥϏϦςΟ͸ҧ͏ ɹ݅ͷཁٻΛͲΕ͚ͩ଎͘ॲཧͰ͖Δ͔ ɹύϑΥʔϚϯεʹ͸ݶք͕͋ΔʢͲ͜·Ͱ଎͘ͳͬͯ΋θϩʹ͸ͳΒͳ͍ʣ 39
  9. © Chatwork ΞʔΩςΫνϟ#VJMEJOH4DBMBCMF4ZTUFNT ̏ɽҰ؏ੑͱγϟʔσΟϯά w 3%#.4ͳͲͷػೳͰ͸ͳ͘ɺΞϓϦέʔγϣϯઃܭςΫχοΫɻ w σʔλΛ֨ೲ͢ΔثΛ෼ׂ͠ɺث୯ҐͰҰ؏ੑΛอূ͢Δɻ ҧ͏ثͲ͏͠͸ޓ͍ʹϩοΫͷӨڹΛड͚ͳ͍ɻ w

    σʔλ͕࣋ͭ*%ʹΑͬͯɺͲͷثʹೖΔ͔͕ܾ·Δɻ ԿΛ*%ͱ͢Δ͔͸ϏδωευϝΠϯͷϧʔϧɾཁ݅ʹΑΔɻ w σʔλ͸ෳ਺ͷثʹ෼ࢄͤͣɺͭͷثͷதʹ͔͠ଘࡏ͠ͳ͍ɻ Αͬͯͦͷث͕յΕΔͱೖ͍ͬͯͨσʔλ͕࢖͑ͳ͘ͳΔɻ w "LLB$MVTUFS4IBSEJOHɻ 41
  10. © Chatwork ΞʔΩςΫνϟ#VJMEJOH4DBMBCMF4ZTUFNT ̐ɽՄ༻ੑͱ$3%5 w $POqJDUGSFF3FQMJDBUFE%BUB5ZQFɻ w ݁Ռ੔߹ੑɻڧ͍Ұ؏ੑ͸ͳ͍ɻ w ॻ͖ࠐ·ΕͨσʔλΛෳ਺ͷϨϓϦΧʹඇಉظʹ൓ө͢Δ͜ͱͰՄ༻ੑΛ

    ֬อ͢Δɻ w σʔλߏ଄શମ͕ϝϞϦʹ৐Βͳ͍ͱμϝ ࠷৽ͷঢ়ଶΛԋࢉ͢ΔͨΊ ɻ w ߋ৽ස౓͕ߴ͍σʔλʹ͸ෆ޲͖ɻ w "LLB%JTUSJCVUFE%BUBɻಠࣗܕΛఆٛ͢Δ͜ͱ΋Մೳɻ 42
  11. © Chatwork ΞʔΩςΫνϟ#VJMEJOH4DBMBCMF4ZTUFNT ̑ɽҰ؏ੑͱՄ༻ੑͷબ୒ w Ұ؏ੑͱՄ༻ੑ͸τϨʔυΦϑͷؔ܎ʹ͋Δɻ w ೋऀ୒ҰͰ͸ͳ͘ɺ྆ऀͷؒͰͷόϥϯεɻ w ͲͪΒʹൺॏΛஔ͔͘͸ɺϏδωεཁ݅ɻ

    w ৗʹ੔߹ੑΛอͨͳ͍ͱ͍͚ͳ͍ɻอͯͳ͍ͳΒαʔϏεΛఀࢭ ͢Δ΂͖ɻ w ଟগ੔߹ੑ͕߹Θͳ͍͕࣌ؒ͋ͬͯ΋ɺαʔϏεΛఏڙ͠ଓ͚Δ ͜ͱͷ΄͏͕ॏཁɻ 43