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

ProfllyのSlack連携機能開発とチームの取り組み / proflly-slack-team-dev

6e4c7cb36e31e3b871f3ae0c83ac8110?s=47 shoito
October 06, 2021

ProfllyのSlack連携機能開発とチームの取り組み / proflly-slack-team-dev

プロフィールビュアーサービスProfllyはクラスメソッドのコミュニケーションの中心となるSlackとの連携機能を提供しています。
マルチテナント対応のサーバレスアーキテクチャでどのように、ProfllyのSlack連携機能を実現しているのか。Slackアプリ開発をする上でのチームの取り組みとそこで得た知見を紹介します。

6e4c7cb36e31e3b871f3ae0c83ac8110?s=128

shoito

October 06, 2021
Tweet

Transcript

  1.  1SP fl MZͷ4MBDL࿈ܞػೳ։ൃͱ 
 νʔϜͷऔΓ૊Έ ৽نࣄۀ౷ׅ෦ 
 ҏ౻঵!TIPJUP

  2. ຊηογϣϯͷର৅ऀ  w4MBDL࿈ܞαʔϏεͷ։ൃʹڵຯͷ͋Δํ wαʔόʔϨεɾϚϧνςφϯτߏ੒ͷαʔϏεͷΞʔΩςΫ νϟʹڵຯͷ͋Δํ wνʔϜ։ൃͰͷษڧձͷऔΓ૊Έʹڵຯͷ͋Δํ

  3.  ҏ౻঵!TIPJUP ιϑτ΢ΣΞΤϯδχΞ 1SP fl MZͷاըɾ։ൃɾӡ༻ %FWFMPQFST*0ϒϩάͷϝϯςφ ޷͖ͳ"84αʔϏε ⿣ "NB[PO0QFO4FBSDI

    &MBTUJDTFBSDI 4FSWJDF ⿣ "NQMJGZ$POTPMF ⿣ "84-BNCEB "1/"845PQ&OHJOFFS "1/"--"84$FSUJ fi DBUJPOT&OHJOFFS
  4. ΞδΣϯμ  w1SP fl MZͱ͸ w4MBDL࿈ܞػೳͰͰ͖Δ͜ͱ w1SP fl MZͷΞʔΩςΫνϟ wνʔϜͷऔΓ૊Έ

    w·ͱΊ
  5. 

  6. Ϋϥεϝιου๊͕͍͑ͯͨ૊৫ͷ೰Έ 

  7. 

  8. ΞδΣϯμ  w1SP fl MZͱ͸ w4MBDL࿈ܞػೳͰͰ͖Δ͜ͱ w1SP fl MZͷΞʔΩςΫνϟ wνʔϜͷऔΓ૊Έ

    w·ͱΊ
  9. ίϛϡέʔγϣϯϋϒͱͯ͠ͷ4MBDL  ⿣ νϟοτ ⿣ ΦϯϥΠϯϛʔςΟϯά ⿣ ۀ຿࿈བྷ ⿣ ग़ୀۈએݴ

    ⿣ Ξϥʔτ௨஌ ⿣ ʜ
  10. ίϛϡέʔγϣϯϋϒͱͯ͠ͷ4MBDL  +

  11. 4MBDL࿈ܞʹΑΓ4MBDL͔ΒࠓͰ͖Δͭͷ͜ͱ  ಉ྅ͷϓϩϑΟʔϧΛ୳͢ ࠓ೔ͷௐࢠΛ஌ΒͤΔ ಉ྅ʹײँͷؾ࣋ͪΛ఻͑Δ

  12. ΞδΣϯμ  w1SP fl MZͱ͸ w4MBDL࿈ܞػೳͰͰ͖Δ͜ͱ w1SP fl MZͷΞʔΩςΫνϟ wνʔϜͷऔΓ૊Έ

    w·ͱΊ
  13. ٕज़ཁૉ܈  όοΫΤϯυ"1*(BUFXBZ -BNCEB %ZOBNP%#  0QFO4FBSDI4FSWJDF $MPVE'SPOU 4 424

    4/4 4&4  1JOQPJOU "NQMJGZ$POTPMF $MPVE8BUDI &WFOU#SJEHF ,JOFTJT %BUB'JSFIPTF (MVF "UIFOB 8"' $%,  $PNQSFIFOE  ϑϩϯτΤϯυ7VFKT /VYUKT 7VFUJGZ "UPNJD%FTJHO  'JHNB ݴޠ5ZQF4DSJQU +BWB4DSJQU "VUI3VMFT"DUJPOTͷΈ  ͦͷଞ(JU)VC 4MBDL 7JTVBM4UVEJP$PEF "VUI HPPHMF[Y
  14. ΞʔΩςΫνϟҰ෦ൈਮ  AWS Cloud Ϣʔβʔ Amazon OpenSearch Service Amazon Simple

    Notification Service Amazon Simple Queue Service Amazon Simple Email Service Email Amazon DynamoDB AWS Cloud Development Kit Amazon CloudWatch Alarm AWS Chatbot AWS Amplify Amazon API Gateway Amazon CloudFront Amazon Route 53 Amazon Simple Storage Service AWS Lambda AWS Lambda AWS Lambda Amazon Simple Storage Service AWS Lambda Amazon Simple Notification Service Amazon Athena Amazon Comprehend AWS WAF Amazon Pinpoint CS
  15. ΞʔΩςΫνϟҰ෦ൈਮ  AWS Cloud Ϣʔβʔ Amazon OpenSearch Service Amazon Simple

    Notification Service Amazon Simple Queue Service Amazon Simple Email Service Email Amazon DynamoDB AWS Cloud Development Kit Amazon CloudWatch Alarm AWS Chatbot AWS Amplify Amazon API Gateway Amazon CloudFront Amazon Route 53 Amazon Simple Storage Service AWS Lambda AWS Lambda AWS Lambda Amazon Simple Storage Service AWS Lambda Amazon Simple Notification Service Amazon Athena Amazon Comprehend AWS WAF Amazon Pinpoint CS
  16. ΞʔΩςΫνϟҰ෦ൈਮ  AWS Cloud Ϣʔβʔ Amazon OpenSearch Service Amazon Simple

    Notification Service Amazon Simple Queue Service Amazon Simple Email Service Email Amazon DynamoDB AWS Cloud Development Kit Amazon CloudWatch Alarm AWS Chatbot AWS Amplify Amazon API Gateway Amazon CloudFront Amazon Route 53 Amazon Simple Storage Service AWS Lambda AWS Lambda AWS Lambda Amazon Simple Storage Service AWS Lambda Amazon Simple Notification Service Amazon Athena Amazon Comprehend AWS WAF Amazon Pinpoint CS
  17. 4MBDL࿈ܞؔ࿈ͷΞʔΩςΫνϟ  AWS Cloud Ϣʔβʔ Amazon OpenSearch Service Amazon DynamoDB

    Amazon API Gateway Amazon Route 53 AWS Lambda AWS Lambda AWS Lambda AWS WAF 4MBDL"QQར༻ػೳ ⿣ εϥογϡίϚϯυ 
 QSP fl MZ 
 QSP fl MZDPOEJUJPO 
 QSP fl MZUIBOLT  ⿣ γϣʔτΧοτ 
 4FOEBUIBOLTNFTTBHFXJUI1SP fl MZ Amazon Simple Notification Service Amazon Simple Queue Service AWS Lambda
  18. 1SP fl MZͱ4MBDLͷαϯΫεϝοηʔδ౤ߘͱಉظ 

  19. 1SP fl MZͱ4MBDLͷαϯΫεϝοηʔδ౤ߘͱಉظ 

  20. 1SP fl MZͱ4MBDLͷαϯΫεϝοηʔδ౤ߘͱಉظ 

  21. 1SP fl MZͱ4MBDLͷαϯΫεϝοηʔδ౤ߘͱಉظ 

  22. 1SP fl MZͱ4MBDLͷαϯΫεϝοηʔδ౤ߘͱಉظ  from, to message channel timestamp channel

    timestamp timestamp timestamp from, to message channel timestamp from, to message channel timestamp
  23. ಉ྅ͷϓϩϑΟʔϧΛ୳͢  AWS Cloud Ϣʔβʔ Amazon OpenSearch Service Amazon DynamoDB

    Amazon API Gateway Amazon Route 53 AWS Lambda AWS Lambda AWS Lambda AWS WAF Amazon Simple Notification Service Amazon Simple Queue Service AWS Lambda
  24. ΞδΣϯμ  w1SP fl MZͱ͸ w4MBDL࿈ܞػೳͰͰ͖Δ͜ͱ w1SP fl MZͷΞʔΩςΫνϟ wνʔϜͷऔΓ૊Έ

    w·ͱΊ
  25. εΩϧϚοϓʹΑΔνʔϜͷՄࢹԽ 

  26. ि࣍ͷνʔϜษڧձ 

  27. ि࣍ͷ4MBDLΞϓϦ։ൃษڧձ  IUUQTBQJTMBDLDPNMBOHKBKQ

  28. ษڧձͰѻͬͨهࣄͱબఆཧ༝ͱֶͼ  w0"VUIείʔϓ w#MPDL,JUͰ؆ܿͳ৘ใΛ wΞϓϦͷηΩϡϦςΟ wΞΫγϣϯ"1*Λ࢖͏ w"QQఏग़ͷνΣοΫ߲໨

  29. ΞδΣϯμ  w1SP fl MZͱ͸ w4MBDL࿈ܞػೳͰͰ͖Δ͜ͱ w1SP fl MZͷΞʔΩςΫνϟ wνʔϜͷऔΓ૊Έ

    w·ͱΊ
  30. ηογϣϯͷ·ͱΊ  w4MBDLͱ1SP fl MZͷ࿈ܞػೳͱͦΕΛ࣮ݱ͢Δ 
 ΞʔΩςΫνϟΛ঺հ wνʔϜͰͷऔΓ૊Έͱͯ͠εΩϧϚοϓͷӡ༻ͱ 
 ि࣍ͷษڧձΛ঺հ

  31. None