ginco-engineer-meetup-2019-04-11

 ginco-engineer-meetup-2019-04-11

55c65de66a523fad9f41b21e70dcfa29?s=128

Tomokazu Kozuma

April 11, 2019
Tweet

Transcript

  1. LTͱ'JSFCBTFΛ࢖ͬͨ Ծ૝௨՟΢ΥϨοτͷόοΫΤϯυ Tomokazu Kozuma 2019 / 04/ 11 / THU

    Ginco Engineer Meetup
  2. A B O U T M Y S E L

    F ࣗݾ঺հ Tomokazu Kozuma @Tomokazu106 ౦ژ޻ۀେֶେֶӃଔۀޙɺαΠόʔΤʔδΣϯτͰεϚϗήʔϜͷαʔόɺΠϯ ϑϥશൠΛ୲౰ɻԾ૝௨՟ʹ͍ٕͭͯज़ϒϩάΛॻ͍ͯΔ͏ͪʹ຅಄͠ɺຊ৬ͱ ͯ͠஫ྗ͢ΔͨΊʹ(JODPʹೖࣾɻ(JODPͰ͸ϒϩοΫνΣʔϯͷϊʔυӡ༻ɺ ϋʔυϑΥʔΫରԠɺόοΫΤϯυͳͲ޿ൣғΛ୲౰ɻ
  3. 5 5 A g e n d a Ծ૝௨՟΢ΥϨοτʹ͍ͭͯ ΢ΥϨοτͷόοΫΤϯυʹ͍ͭͯ

    ΢ΥϨοτҎ֎ͷػೳʹؔͯ͠ ֓ཁ
  4. Ծ૝௨՟΢ΥϨοτʹ͍ͭͯ P A R T 1

  5. ϒϩοΫνΣʔϯͱ͸ʁ • ୭ͷڐՄ΋ͳ͘ӡ༻Ͱ͖ɺ୭Ͱ΋த਎Λ͔֬ΊΕΔ • ϊʔυ͸ੈքதͰӡ༻͞Ε͍ͯͯɺ૬ޓʹσʔλΛ΍Γ ͱΓ͢Δ͜ͱͰಉ͡σʔλΛಉظ͍ͯ͠Δ • "͕#ʹૹͬͨͱ͍͏ཤྺΛอ࣋ʢτϥϯβΫγϣϯʣ • ϒϩοΫνΣʔϯϊʔυͷ৘ใΛͲ͏ѻ͏͔͕΢ΥϨο

    τΛ࡞Δ্Ͱॏཁ W h a t ’ s B l o c k c h a i n
  6. ΢ΥϨοτͱ͸ʁ • Ծ૝௨՟ͷૹडۚɺऔҾཤྺɺࢿ࢈؅ཧ͢Δ΋ͷ • ࢿ࢈ʹඥͮ͘ൿີ伴Λ؅ཧ͍ͯ͠Δ • ൿີ伴Λ࢖ͬͯॺ໊ͯ͠ૹۚͰ͖Δ • ൿີ伴ˠެ։伴ˠΞυϨεΛੜ੒ͯ͠Ծ૝௨՟Λड͚ औΕΔ

    W h a t ’ s W a l l e t
  7. ΢ΥϨοτͷछྨ • αʔόܕʢऔҾॴɺ#MPDLDIBJOJOGPɺ.POBQQZʣ ɹɹαʔόଆͰ؅ཧ͢ΔͷͰࣗ෼Ͱൿີ伴Λ؅ཧͰ͖ͳ͍ • ΫϥΠΞϯτܕʢ(JODP &MFDUSVN 5SVTUʣ ɹɹࣗ෼ͷ୺຤ͷΈͰൿີ伴Λ؅ཧ͢Δ T

    y p e o f W a l l e t
  8. P r o s a n d C o n

    s Ϣʔβࢹ఺ͰͷϝϦοτσϝϦοτ ϝϦοτ σϝϦοτ αʔόܕ ൿີ伴؅ཧͷख͕ؒল͚Δ ϋοΧʔ͔ΒૂΘΕ΍͍͢ ΫϥΠΞϯτܕ ʢ(JODPʣ ࢿ࢈Λࣗ෼Ͱ؅ཧͰ͖Δ ։ൃݩʹѱҙ͕ ͋Δͱ౪·ΕΔ
  9. Bitcoin Cash Crypto Wallet

  10. ·ͱΊͯͻͱͭʹ Bitcoin Bitcoin Cash Litecoin XRP Ethereum Classic Ethereum

  11. ෳ਺ͷԾ૝௨՟Λ·ͱΊͯ؅ཧ

  12. ΢ΥϨοτͷόοΫΤϯυʹ͍ͭͯ P A R T 2

  13. ΢ΥϨοτʹඞཁͳ΋ͷ W h a t ’ s n e e

    d ɾૹۚػೳ ॺ໊ॲཧɺωοτϫʔΫ΁ͷૹ৴ ɾϒϩοΫνΣʔϯϊʔυӡ༻ ,VCFSOFUFT (,& $MPVE'VODUJPOT ɾऔҾཤྺɺ࢒ߴ؅ཧ τϥϯβΫγϣϯ؅ཧ $MPVE'JSFTUPSF ΞυϨε௨՟ผͷ࢒ߴ؅ཧ
  14. ϒϩοΫνΣʔϯϊʔυӡ༻

  15. ϒϩοΫνΣʔϯϊʔυӡ༻Ͱେࣄͳ͜ͱ • Մ༻ੑʢ̒छྨϊʔυʣ • όʔδϣϯΞοϓ͕ଟ͍ͷͰ؅ཧ͕͠΍͍͢͜ͱ • ҆ఆʹՔಇ͍ͯ͠Δ͔ϞχλϦϯά͠΍͍͢͜ͱ B l o

    c k c h a i n N o d e
  16. ,VCFSOFUFTͷಛ௃ • એݴతઃఆʢঢ়ଶΛίʔυͰઃఆʣ • *NNVUBCJMJUZʢมߋΛՃ͑ͳ͍৽نͰ࡞Γ௚͢ʣ • ࣗݾम෮ʢࢦఆͨ͠ঢ়ଶʹࣗಈͰम෮ʣ K u b

    e r n e t e s
  17. Bitcoin Bitcoin ཤྺ࢒ߴऔಘ༻ ϊʔυӡ༻ͷΞʔΩςΫνϟ A r c h i t

    e c t u r e Engine Kubernetes *OHSFTT 4FSWJDF 4FSWJDF Bitcoin Bitcoin 5Yૹۚ༻ ֎෦͔Βͷ௨৴ڐՄ *OHSFTTɿ-ϩʔυόϥϯαɺ4FSWJDFɿ-ϩʔυόϥϯα ֎͔ΒͷΞΫηεېࢭ ෳ਺ϊʔυ ෳ਺ϊʔυ 1PE 1PE
  18. ؀ڥ͋ͨΓ A r c h i t e c t

    u r e Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum Engine Kubernetes Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum ཤྺ༻ ૹۚ༻
  19. શ؀ڥ A r c h i t e c t

    u r e %FWFMPQɿ5FTUOFU 4UBHJOHɿ-JWFOFU 1SPEVDUJPO-JWFOFU Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum Engine Kubernetes Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum Engine Kubernetes Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum Engine Kubernetes Bitcoin Bitcoin Bitcoin Cash Bitcoin Cash Litecoin Litecoin XRP XRP Ethereum Ethereum Classic Ethereum Classic Ethereum
  20. Ծ૝௨՟ͷૹۚ

  21. ૹۚ S e n d T r a n s

    a c t i o n Engine Kubernetes Bitcoin Bitcoin *OHSFTT 4FSWJDF Functions Cloud • ॺ໊ࡁΈ5YΛ$MPVE'VODUJPOTܦ༝ͰϊʔυʹૹΔ ୺຤ͷൿີ伴Ͱ5Yʹॺ໊ ૹۚ༻
  22. औҾཤྺɺ࢒ߴ؅ཧ

  23. औҾཤྺɺ࢒ߴ؅ཧ T x H i s t o r y

    a n d B a l a n c e Engine Kubernetes 4FSWJDF औҾཤྺɺ࢒ߴΛߋ৽ Firestore Cloud ϦΞϧλΠϜʹऔಘ Pub/Sub Cloud Bitcoin Bitcoin ཤྺऔಘ༻ • ϊʔυʹ͋ΔσʔλΛݕࡧ͠΍͍͢Α͏ʹ'JSFTUPSFʹ౤ೖ
  24. ΢ΥϨοτҎ֎ͷ෦෼ʹؔͯ͠ P A R T 3

  25. ΢ΥϨοτҎ֎ͷػೳ • σϓϩΠʢ,VCFSOFUFTɺ$MPVE'JSFTUPSF'VODUJPOTʣ • ϞχλϦϯά • 'JSFTUPSFͷόοΫΞοϓͱ#JH2VFSZ࿈ܞ • Ϋϥογϡϩάʢ*TTVFԽ4MBDL௨஌ʣ •

    ϓογϡ௨஌ • ڧ੍Ξοϓσʔτ • Ϣʔβߦಈϩάͷऔಘ F u n c t i o n s
  26. ,VCFSOFUFT΁ͷσϓϩΠ D e p l o y t o K

    u b e r n e t e s CircleCI Engine Container $MPVE
 #VJME Engine Kubernetes Stackdriver $POUBJOFS
 3FHJTUPSZ ᶄ#VJME5FTU ᶅ*NBHFͷొ࿥ ᶆσϓϩΠ࣮ߦ ᶇ1PEͷ*NBHFͷߋ৽ GitHub ᶃϚʔδͨ͠ΒΩοΫ
  27. $MPVE'JSFTUPSF'VODUJPOT΁ͷσϓϩΠ D e p l o y t o K

    u b e r n e t e s CircleCI ᶄ#VJME5FTU GitHub ᶃϚʔδͨ͠ΒΩοΫ Functions Cloud ᶅ'VODUJPOTͷσϓϩΠ Firestore Cloud ᶆSVMFTJOEFYͷσϓϩΠ
  28. ϞχλϦϯά͸4UBDLESJWFS M o n i t o r i n

    g
  29. ϞχλϦϯά M o n i t o r i n

    g ᶃࣗಈͰ4UBDLESJWFSʹूܭ͞ΕΔ Engine Kubernetes Stackdriver Functions Cloud Slack ᶄᮢ஋Λ௒͑ͨΒ௨஌ 4UBDLESJWFSͰϞχλϦϯά
  30. 'JSFTUPSFͷόοΫΞοϓͱ#JH2VFSZ࿈ܞ B a c k u p o f F

    i r e s t o r e & I n t e g r a t i o n t o B i g Q u e r y Scheduler Cloud Functions Cloud ᶃ#BDLVQ"1*Λ࣮ߦ Storage Cloud ᶄ#BDLVQϑΝΠϧ͕࡞੒͞ΕΔ BigQuery ᶅ#BDLVQϑΝΠϧͷ࡞੒͕׬ྃޙ
 ɹ#JH2VFSZ΁ϩʔυ͢Δ"1*Λ࣮ߦ
  31. Ϋϥογϡϩά C r a s h l o g ᶃΫϥογϡϩάΛ௨஌

    Functions Cloud ᶄΫϥογϡΛτϦΨʔʹىಈ ᶅ(JU)VCʹJTTVF࡞੒ Crashlytics GitHub Slack ᶆ4MBDLʹ௨஌
  32. ϓογϡ௨஌ P u s h N o t i f

    i c a t i o n Functions Cloud ᶃσʔλ͕ߋ৽͞ΕͨΒ'VODJUPOTΛىಈ ᶄ.FTTBHJOHʹ௨஌ ᶅ.FTTBHJOH͔Β୺຤ʹ௨஌ Firestore Cloud Messaging Cloud
  33. ڧ੍Ξοϓσʔτ V e r s i o n U p

    d a t e Config Remote ᶃىಈ࣌ʹ3FNPUF$POpH͔Β࠷௿όʔδϣϯΛऔಘ 04ผʹ࠷௿όʔδϣϯΛઃఆ J04W "OESPJEW
  34. ϢʔβΞΫγϣϯͷऔಘ U s e r L o g g i

    n g ᶃΞΫγϣϯΛ&WFOUʹϓογϡ Analytics Functions Cloud ᶄ&WFOUΛτϦΨʔʹىಈ ֎෦ API ᶅ֎෦"1*Λ࣮ߦʢ޿ࠂͷଌఆʣ ΞΫγϣϯͷαϚϦΛݟΕΔ
  35. ·ͱΊ • ,Tͱ'JSFCBTFͰόοΫΤϯυӡ༻ΛָʹͰ͖Δ • $MPVE'VODUJPOT͸αʔϏε࿈ܞ͕ॆ࣮͍ͯͯ͠
 αʔόϨεͳͷͰϝϯςίετఈ • ,Tɺ'JSFCBTFͩͬͨΒগਓ਺ӡ༻΋࣮ݱͰ͖Δ S u

    m m a r y