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

SwiftでgRPCとProtocolBuffersを使う

Yusuke Ito
January 27, 2017

 SwiftでgRPCとProtocolBuffersを使う

Yusuke Ito

January 27, 2017
Tweet

More Decks by Yusuke Ito

Other Decks in Programming

Transcript

  1. $PQZSJHIU4IJSPZBHJ$PSQPSBUJPO"MMSJHIUTSFTFSWFE H31$ w 31$ 3FNPUFQSPDFEVSFDBMM ௨৴ن֨ w ௨৴͸)551Λ࢖༻ w 31$ͷఆٛʹ1SPUPDPM#V⒎FSTΛ࢖༻

    w /4%BUB όΠφϦ Λ΍ΓͱΓ͢Δ w γϦΞϥΠζʹ͸ඪ४తʹ1SPUPDPM#V⒎FSTΛ࢖༻ w ΫϩεϓϥοτϑΥʔϜ 
  2. $PQZSJHIU4IJSPZBHJ$PSQPSBUJPO"MMSJHIUTSFTFSWFE 4XJGU࣮૷ ݱ࣌఺  ࣮૷
 ϦϙδτϦ ϓϥοτ ϑΥʔϜ αʔόʔ ΫϥΠΞϯτ

     HSQDHSQD "QQMFͷΈ ͳ͠ 0CKFDUJWF$ Ͱͷ࣮૷ 
 HSQDHSQD TXJGU -JOVY"QQMF
 Φʔϓϯιʔ ε൛ $ͱ4XJGUͰͷ ࣮૷ $ͱ4XJGUͰͷ ࣮૷ IUUQTHJUIVCDPNHSQDHSQDHJU IUUQTHJUIVCDPNHSQDHSQDTXJGUHJU
  3. $PQZSJHIU4IJSPZBHJ$PSQPSBUJPO"MMSJHIUTSFTFSWFE Կʹ࢖͏͔ w )551T +40/ͷ௨৴ͷஔ͖׵͑ w J04ΞϓϦͷ"1*ͱͯ͠ w αʔόʔͱΫϥΠΞϯτͰಉ͡.PEFM QSPUPఆٛ

    ͕࢖͑Δϝ Ϧοτ w ϑΝΠϧ΍σʔλϕʔεอଘ࣌ͷγϦΞϥΠζ w ܕνΣοΫೖΓͷγϦΞϥΠζ QMJTUͱൺ΂ͯ ͕Ͱ͖Δ w ϚΠΫϩαʔϏεͳͲͷ಺෦௨৴ +40/31$ͳͲͷஔ͖׵͑ 
  4. $PQZSJHIU4IJSPZBHJ$PSQPSBUJPO"MMSJHIUTSFTFSWFE ΞϓϦͷ"1*ͱͯ͠ w αʔόʔαΠυଆΛ4XJGU΍(P +BWBͳͲͰॻ͘ w ΫϥΠΞϯταΠυଆΛ4XJGUͰॻ͘ w .PEFM QSPUPఆٛ

    ͸ڞ௨ w )551ϝιουͱ63*ͷ୅ΘΓʹɺ31$ͷ໊લۭؒɾαʔϏ ε໊ɾϝιου໊Λ࢖͏ w 31$͸QSPUPʹهड़͞ΕΔͷͰυΩϡϝϯτʹ΋ͳΔ w αʔόʔͱΫϥΠΞϯτ͸ࣗಈੜ੒͞ΕΔ 
  5. $PQZSJHIU4IJSPZBHJ$PSQPSBUJPO"MMSJHIUTSFTFSWFE ӬଓԽ࣌ͷγϦΞϥΠζ w J04Ͱ͋Ε͹ɺ+40/ 6TFS%FGBVMUT 1SPQFSUZ -JTUΛஔ͖׵͑ w ܕͷαϙʔτ w

    4XJGUͷTUSVDUͷσʔλΛͦͷ··σʔλϕʔεʹ ೖΕ͍ͨ৔߹ ׶͑ͯΧϥϜʹ͠ͳ͍৔߹  w .Z42-Ͱ͋Ε͹ɺ1SPUPCVGΛ#-0#ʹͯ͠อଘ