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

再送処理再入門

6ed12627fec46a135f1bce5d56f3568e?s=47 nwiizo
June 29, 2021
510

 再送処理再入門

3-shake SRE Tech Talk #2 でのLT
https://3-shake.connpass.com/event/214041/

6ed12627fec46a135f1bce5d56f3568e?s=128

nwiizo

June 29, 2021
Tweet

Transcript

  1. ೥݄೔TIBLF43&5FDI5BML!OXJJ[P ࠶ૹॲཧ࠶ೖ໳ )551ʹର͢ΔفΓͦ͏͍͑͹ɺస৬͠·ͨ͠

  2. ࠷ۙɺTIBLFʹస৬ͨ͠ !OXJJ[PͰ͢ ΑΖ͓͘͠Ͷ͕͍͠·͢ʔ

  3. ΠϯϑϥΤϯδχΞ͕࠶ૹॲཧΛ࣮૷͢Δػձͬͯগͳ͍ w 5$1ϨϕϧΛ࣮૷͢Δػձ͕΄΅ͳ͍ w $-*Λ࣮૷͢Δࡍʹ΋ҙ֎ʹ࣮૷͠ͳ͍  🥺

  4. 5$1ϨϕϧΛ࣮૷͢Δػձ͕΄΅ͳ͍ ࠓճ͸είʔϓ֎ w جຊతʹ͸ݴޠ͝ͱʹ࣮૷͞Ε͍ͯΔ w ͞Ε͍ͯͳ͍ݴޠΛۀ຿ͷٕज़બఆͰબΜͩ͜ͱ͕·ͩɺͳ͍ ܦݧ্  w 3'$ΛಡΉͱྑ͍

    w ඇߏ଄ԽετϦʔϜɺશೋॏ௨৴ɺίωΫγϣϯ؅ཧɺߴ৴པੑɺγʔέϯε൪߸ɺ࠶ૹ ੍ޚɺॱং੍ޚɺ᫔᫓੍ޚɺνΣοΫαϜ  IUUQTXXXJOGSBFYQFSUDPNTUVEZHJGUDQJQHJGɹΑΓ
  5. ࠶ૹॲཧ͸ ࣮૷Λߟ͑Δͷָ͕͍͠ͷʹ࣮૷͢Δػձ͸গͳ͍ 
 ࠶ૹॲཧͱ͍͏ΑΓ)551ϦτϥΠॲཧͷ࿩͠·͢

  6. $-*Λ࣮૷͢Δ࣌ʹ΋࣮૷͠ͳ͍ w ίϚϯυϓϩϯϓτͰ࣮ߦͷ৔߹ʹ͸ࣦഊ͢Ε͹ 
 ͦͷ৔Ͱඞཁ͕͋Ε͹࠶࣮ߦ͢Ε͹ྑ͍ Զ͕ͦ͜࠶ૹॲཧΛߦ͏͎͏͏͏͏  w Ϋϥ΢υͷ4%,ͳͲΛ࢖͏৔߹ʹ͸ϥΠϒϥϦଆͰ࠶ૹͯ͘͠ΕΔ 


    ࣮૷͕ՃΘ͍ͬͯͨΓ͢Δ w ͳͷͰɺ࣮૷Λҙࣝͤͣʹ࠶࣮ߦͯͨ͠Γ΋͢Δ w ൥ࡶͳ࡞ۀͰ͋ͬͨΓ5PJMͷ࡟ݮͷͨΊʹ΋ޮՌతͳ࠶ૹॲཧͷ஌͕ࣝ͋Δ͜ͱ͸େ੾  ͋ɺࣦഊͨ͠😅 
 ˠ࠶࣮ߦ͠Α❤ ӡ༻ίετ͸Լ͕Βͳ͍😭 
 ࣗಈԽͣ͠Β͍ 
 ͦ΋ͦ΋ɺࣗಈԽͷϞνϕʔγϣϯ͕ͦΜͳʹͳ͍ ࢀߟIUUQTEPDTBXTBNB[PODPNHFOFSBMMBUFTUHSBQJSFUSJFTIUNM IUUQTHJUIVCDPNBXTBXTTELHPWCMPCNBJOBXTSFUSZNJEEMFXBSFHP ͓લ͕3FDPODJMFMPPQʹͳΔΜͩΑ
  7. ࠶ૹॲཧΛ࣮૷͢Δ࣌ʹߟྀ͢΂͖͜ͱ w "1*΍ΤϯυϙΠϯτͷ࣮૷Λ֬ೝ͢Δ w ؔ܎ͳ͍͚ͲSPCPUTUYU͕͋ΔͳΒࣄલʹ֬ೝ w ႈ౳ੑ͕"1*ଆͰ୲อ͞Ε͍ͯΔͷ͔ʁ 
 ˠ࠶࣮ߦͯ͠΋໰୊ͳ͍ͷ͔ʁೋॏॲཧʹͳͬͨΓ͠ͳ͍ͷ͔ʁ݁Ռ੔߹ੑ͸ʁ 


    ˠঢ়ଶ͕͋Δͳ͠ͰͷϦελʔτॲཧ΍ద੾ʹΤϥʔΛฦ͔͢Ͳ͏͔ʹ͍ͭͯ w ΫϥΠΞϯτͷ࣮૷ʹ͍ͭͯ w ඞཁͳॲཧ͕ਖ਼࣮͘͠ߦ͞Ε͍ͯΔ͔ʁґଘؔ܎͸໰୊ͳ͍͔ʁ w Ҏલɺඞཁͳࣄલॲཧ͕ऴΘͬͯͳͯ͘ઈରʹճͦͷɺ"1*Λୟ͘Έ͍ͨͳΫϥΠΞϯτ࡞ͬͨɻ w ϦτϥΠִ࣮ؒߦճ਺ w ΤΫεϙωϯγϟϧόοΫΦϑͱ࣮ͯ͠૷͢Δͷ͔ ɹඵˠඵˠඵʜʜ͝ͱʹ࣮૷ͨ͠Γ w ୯७ʹඵ͝ͱʹ  w ͦΕΒͷ࠷େճ਺͸ʁ  "1*͝ͱͷ6UJMTͱ͔࡞Γ͕ͪɻɻɻ
  8. (PݴޠͰIUUQΫϥΠΞϯτ࣮૷͢Δͱ͖ͷҙ֎ʹศརͳ΍ͭ w DVSMUP(P w DVSMͷϦΫΤετΛ(Pʹม׵ͯ͠ΕΔπʔϧ w IUUQTNIPMUHJUIVCJPDVSMUPHP w OFUIUUQIUUQUFTU w

    IUUQͷςετΛॻ͘ͷʹศརͳύοέʔδ w ؆୯ͳ.PDLαʔόʔΛཱͯͯɺςετ͕ॻ͚Δͱબ୒ࢶ޿͕͍ͬͯ͘ ͋ͱ͸ண࣮ʹ࣮૷͍ͯͬͯͪ͠ΌΜͱ࣮૷͍ͯ͘͠΋ͷ͹͔ΓͳͷͰׂѪ  ݸਓతʹ͸ඪ४ύοέʔδͰࣄ଍ΓΔͱࢥ͏͚ͲɺεΫϨΠϐϯάͰ͓͢͢Ίͳπʔϧڭ͑ͯཉ͍͠
  9. ࢀߟ w %FTJHOJOH%BUB*OUFOTJWF"QQMJDBUJPOT w IUUQTMFBSOJOHPSFJMMZDPNMJCSBSZWJFXEFTJHOJOHEBUBJOUFOTJWF BQQMJDBUJPOT w &SSPSSFUSJFTBOEFYQPOFOUJBMCBDLP ff JO"84

    w IUUQTEPDTBXTBNB[PODPNHFOFSBMMBUFTUHSBQJSFUSJFTIUNM • Cloud Native Go Chapter 4. Cloud Native Pattern s • https://learning.oreilly.com/library/view/cloud-native-go/9781492076322/ch04.html  ࠓ೔ɺ࠙਌ձʹग़ͳ͕Β(Pݴޠʹ͓͚ΔϦτϥΠॲཧʹؔ͢ΔϒϩάͰ΋ͨͨ͠ΊΑ͏ͱࢥͬͯ·͢
  10. %0/&