sns mobilepush

C786d7772602b488a7972c38c143f61c?s=47 con_mame
November 01, 2013

sns mobilepush

AWS Casual Talks#1 で話したSNS Mobile Pushの話です

C786d7772602b488a7972c38c143f61c?s=128

con_mame

November 01, 2013
Tweet

Transcript

  1. ؾܰͳ4/4.PCJMF1VTIͷ࿩

  2. ੕໺๛ !DPO@NBNF ΫοΫύουגࣜձࣾΠϯϑϥετϥΫνϟʔ෦ "84.Z42-3FETIJGU%BUB4UPSFFUD IUUQEDPONBNF IUUQGBDFCPPLDPNDPONBNF

  3. 1VTI/PUJGJDBUJPO

  4. J1IPOFJ1BE"OESPJE ,JOEMFͱ͔ʹ௨஌ΛૹΔ͋Ε

  5. "1/4($."%.

  6. None
  7. ϓϥοτϗʔϜຖʹ ࢓༷͕ҧ͏

  8. None
  9. J04"OESPJE J04"OESPJE81 8JO4UPSF J04"OESPJE818JO 4UPSF,JOEMF#MBDL#FSSZ J04"OESPJE,JOEMF

  10. 4/4.PCJMF1VTI

  11. ສ1VTI౰ͨΓ 1VTIґཔ 1VTI഑৴ 5PQJDΛ࡞੒͢Δ͜ͱʹΑΓҟͳΔϓϥοτ ϗʔϜʹಉ࣌ʹ഑৴Մೳ ҆ఆͯ͠Δ "84಺Ͱ׬݁͢Δ ূ໌ॻͳͲͷೝূ৘ใΛ4/4ʹొ࿥͢Δ "1/4"1/4@4"/%#09($."%.

  12. 5PLFOͷແޮɾมߋͳͲͷॲཧΛࣗಈͰߦ͏ 'FFECBDL௨஌΋Մೳ ແޮͳ&OEQPJOU"SO͸ૹ৴ର৅͔Β֎ ͯ͠༨ܭͳίετ΍ύϑΥʔϚϯεఆ ՁΛආ͚Δ FHΞϓϦέʔγϣϯ͕ ΞϯΠϯετʔϧ͞Εͨ ஗Ԇ͋Γ FH"1/4GFFECBDLTFSWJDF ʙ਺೔

  13. %FWJDFUPLFO

  14. ͜ͱ͹ %FWJDFUPLFOΞϓϦέʔγϣϯΛࣝผ͢ ΔͨΊͷ֤1MBUGPSN͕ൃߦ͢Δ΋ͷ &OEQPJOU"SO%FWJDF5PLFO͔Βੜ੒͞ Εɺ4/4Ͱ֤EFWJDFΛࣝผ͢Δ΋ͷ 4/4ͷૢ࡞Ͱ͸͜ ΕΛ࢖͏ "QQMJDBUJPO"SO1VTIΛ͢ΔΞϓϦ έʔγϣϯͷ୯Ґ

  15. %FWJDFUPLFOͷ4/4΁ͷొ࿥ํ๏ %FWJDF"1* %FWJDF4/4 5PLFOຒΊࠐΈ 5PLFO7FOEJOH.BDIJOF 4/4Ͱ͸&OEQPJOU"SOͱ"QQMJDBUJPO"SOΛ ࢖༻

  16. %FWJDFUP"1*

  17. token DB M API token DB S API 5PLFOSFRVFTU 5PLFOSFTQPOTF

    5PLFOTFOE 5PLFODSFBUF &OEQPJOU"SO 4BWF&OEQPJOU"SO
  18. %FWJDFUP4/4

  19. token DB M API token DB S API 5PLFOSFRVFTU 5PLFOSFTQPOTF

    5PLFOTFOE &OEQPJOU"SO 4BWF&OEQPJOU"SO &OEQPJOU"SO
  20. token DB M API token DB S API 5PLFOSFRVFTU 5PLFOSFTQPOTF

    5PLFOTFOE &OEQPJOU"SO 4BWF&OEQPJOU"SO &OEQPJOU"SO "QQMJDBUJPO"SO "84"DDFTT,FZ "844FDSFU,FZ
  21. "84ΞΫηε৘ใΛΞϓϦέʔγϣϯʹຒΊࠐΉඞཁ͕͋ Δ "DDFTT,FZ4FDSFUͷมߋͷͨΊʹ͸ΞϓϦέʔ γϣϯͷ৹ࠪఏग़͕ඞཁ શϢʔβ͕௚͙ʹ6QEBUF͢Δͱ͸ݶΒͳ͍ ΞΫηε৘ใ͕࿙Εͨ৔߹ͳͲΛߟ͑ͯ*".ͰݖݶΛ ߜ͓ͬͯ͘ FH$SFBUF&OEQPJOU

  22. 5PLFO7FOEJOH.BDIJOF

  23. token DB M API token DB S API 5PLFOSFRVFTU 5PLFOSFTQPOTF

    5PLFOTFOE &OEQPJOU"SO 4BWF&OEQPJOU"SO &OEQPJOU"SO TVM (FU5FNQPSBSZDSFEFOUJBMT IUUQBN[OUP%/3C
  24. token DB M API token DB S API 5PLFOSFRVFTU 5PLFOSFTQPOTF

    5PLFOTFOE &OEQPJOU"SO 4BWF&OEQPJOU"SO &OEQPJOU"SO TVM (FU5FNQPSBSZDSFEFOUJBMT "QQMJDBUJPO"SO "845NQ"DDFTT,FZ "845NQ4FDSFU,FZ IUUQBN[OUP%/3C
  25. 5PLFO7FOEJOH.BDIJOF 57. "844FDVSJUZ5PLFO4FSWJDF 454 454ʹඞཁͳݖݶ͚ͩΛ͚ͭͨ*". 3PMF Λ͚ͭͨΞϓϦέʔγϣϯ Πϯ ελϯε ͕"84ͷ*EFOUJUZ"DDFTT

    .BOBHFNFOU4FSWJDFʹΞΫηεͯ͠ඞ ཁͳݖݶΛϦΫΤετ Ұ࣌తͳΞΫηε৘ใΛൃߦ ඪ४Ͱ͸࣌ؒ
  26. ΞΫηε৘ใ͕࿙Εͨ৔߹Ͱ΋ɺͦͷ ,FZͳͲ͸ඪ४Ͱ͸࣌ؒͰ࢖͑ͳ͘ͳΔ "QQMJDBUJPO"SO΋Ұॹʹฦ͢͜ͱਪન "QQMJDBUJPO"SOࣗମ͸4/4.PCJMF 1VTI"QQMJDBUJPOΛࣝผ͢Δ͚ͩ BSOBXTTOTBQ OPSUIFBTUYYYYYYYYYYYBQQ"1/4 "QQMJDBUJPO/BNF

  27. ΞΫηε৘ใ͕࿙Εͨ৔߹Ͱ΋ɺͦͷ ,FZͳͲ͸ඪ४Ͱ͸࣌ؒͰ࢖͑ͳ͘ͳΔ "QQMJDBUJPO"SO΋Ұॹʹฦ͢͜ͱਪન "QQMJDBUJPO"SOࣗମ͸4/4.PCJMF 1VTI"QQMJDBUJPOΛࣝผ͢Δ͚ͩ BSOBXTTOTBQ OPSUIFBTUYYYYYYYYYYYBQQ"1/4 "QQMJDBUJPO/BNF "84"DDPVOU*%

  28. 1VTI

  29. ΞΫηε৘ใͷઃఆ͸লུ DMJFOU"844/4OFXDMJFOU ొ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͕͋ͬͯ %FWJDFUPLFO Λ$VTUPN6TFS%BUBͳ͠Ͱొ ࿥͠Α͏ͱ͢Δ৔߹

  44. QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO $VTUPN6TFS%BUBVTFSEBUB  

                                                                                                                                                                                                                                                                                  5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^ $SFBUF1MBUGPSN&OEQPJOU QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO                                                                                                                                                                                                                                                                           5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^
  45. QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO $VTUPN6TFS%BUBVTFSEBUB  

                                                                                                                                                                                                                                                                                  5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^ $SFBUF1MBUGPSN&OEQPJOU QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO                                                                                                                                                                                                                                                                           5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^ ੒ޭͯ͠ಉҰ&OEQPJUO "SO͕͔͑Δ̇
  46. QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO $VTUPN6TFS%BUBVTFSEBUB  

                                                                                                                                                                                                                                                                                  5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^ $SFBUF1MBUGPSN&OEQPJOU QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO                                                                                                                                                                                                                                                                           5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^ ੒ޭͯ͠ಉҰ&OEQPJUO "SO͕͔͑Δ̇ Τϥʔʂ
  47. &SSPS3FTQPOTFYNMOTIUUQTOTBNB[POBXTDPNEPD &SSPS 5ZQF4FOEFS5ZQF $PEF*OWBMJE1BSBNFUFS$PEF .FTTBHF*OWBMJEQBSBNFUFS5PLFO3FBTPO&OEQPJOUBSOBXTTOTBQ OPSUIFBTUYYYYFOEQPJOU"1/4IPHFYYYYFBBBYYFYYYYYYYYYYYBMSFBEZFYJTUT XJUIUIFTBNF5PLFO CVUEJGGFSFOUBUUSJCVUFT.FTTBHF &SSPS 3FRVFTU*EYYYZZ[[C[[BBBBDDWWWWW3FRVFTU*E

    &SSPS3FTQPOTF
  48. ΋͠ 4/4ʹొ࿥ࡁΈ %FWJDFUPLFO Λ ొ࿥͢৔߹

  49. QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO  $VTUPN6TFS%BUBVTFSEBUB 

                                                                                                                                                                                                                                                                                                          5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^ $SFBUF1MBUGPSN&OEQPJOU QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO                                                                                                                                                                                                                                                                           5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^
  50. $VTUPN6TFS%BUB·Ͱ ಉҰʹ͢Δඞཁ͕͋Δ ΋ͱ΋ͱ͚͍ͭͯͳ͍ͳΒؾʹ͢Δඞཁ͕ͳ͍ .BOBHFNFOU$POTPMF͔Β։ൃऀΛࣝผͤ͞ΔͨΊͱ͔ͦ͏͍ ͏༻్Ͱ࢖ͬͯΔͱϋϚΔ͔΋

  51. ফͨ͠ͱͯ͠΋μϝʂ Ұ౓6TFS%BUBΛొ࿥͢ΔͱϑΟʔ ϧυ͕಺෦తʹੜ੒͞Εͯ͠·͏

  52. QBSBNT\ "DUJPO$SFBUF1MBUGPSN&OEQPJOU "84"DDFTT,FZ*E"$$&44@*%&/5*'*&3 4JHOBUVSF.FUIPE)NBD4)" 4JHOBUVSF7FSTJPO 5JNFTUBNQ5JNFOPXJTP 7FSTJPO  $VTUPN6TFS%BUB 

                                                                                                                                                                                                                                                                                                      5PLFO%&7*$&50,&/ 1MBUGPSN"QQMJDBUJPO"SOBSOBXTTOTBQOPSUIFBTUYYYYBQQ"1/4IPHF ^
  53. .FUSJDT

  54. $PODMVTJPO

  55. ֨҆Ͱ҆ఆͯ͠1VTI௨஌ΛૹΓ͍ͨɾෳ ਺1MBUGPSN΁ಉใ͍ͨ͠ͱ͖ʹศར "84಺Ͱ׬݁͢Δ .BOBHFNFOU$POTPMF΍"1*͸·ͩ࢖͍ͮΒ ͍ શEFWJDFҰ੪௨஌΍ϝλσʔλʹԠ͡ ͨ1VTI௨஌͸ࣗલͰ؅ཧ͠ͳ͍ͱ͍͚ ͳ͍ ࢓༷·ΘΓ͸Α͘೺Ѳ͓ͯ͘͠

  56. 5IBOLZPV