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

Mackerel x Twilio Hands-On Seminar - Mackerel 編

Daisuke Inoue
December 02, 2016

Mackerel x Twilio Hands-On Seminar - Mackerel 編

Mackerel x Twilio Hands-On Seminar https://mackerelio.connpass.com/event/44324/ で使用した資料のうち、Mackerel 編の資料です。

Daisuke Inoue

December 02, 2016
Tweet

More Decks by Daisuke Inoue

Other Decks in Technology

Transcript

  1. 1 / 61 .BDLFSFMY5XJMJP )BOET0O4FNJOBS !גࣜձࣾ͸ͯͳ

  2. 2 / 61 ͝ѫࡰɾߨࢣࣗݾ঺հ n ϋϯζΦϯηϛφʔ .BDLFSFMฤɾߨࢣ l גࣜձࣾ͸ͯͳ .BDLFSFMηʔϧεΤϯδχΞ

    Ҫ্ େีʢJEBLOPXʣ n ςΟʔνϯάΞγελϯτ l גࣜձࣾ͸ͯͳ .BDLFSFMηʔϧεσϕϩούʔ ߥ୩ ᠳʢJETIBSBUBOJʣ
  3. 3 / 61 ͝Ҋ಺ n ࠓճͷϋϯζΦϯͰ࣮ߦ͢Δ֤छίϚϯυɺࢀর͢Δ 63- ͳͲΛ·ͱΊͨϖʔδΛ͝༻ҙ͍ͯ͠·͢ • IUUQTNBDLFSFMJPIBOETPOUXJMJP

  4. 4 / 61 ΞδΣϯμʢ.BDLFSFMฤʣ  ͸͡Ίʹ  ؂ࢹର৅αʔόʔͱ .BDLFSFMͷ४උ 

    ΤʔδΣϯτͷΠϯετʔϧɾىಈɾ(6*ͷ֬ೝ  ؂ࢹͷઃఆɾΞϥʔτͷ֬ೝ ˠ ϋϯζΦϯɾ5XJMJP ฤ ΁
  5. 5 / 61 ΞδΣϯμʢ.BDLFSFMฤʣ  ͸͡Ίʹ  ؂ࢹର৅αʔόʔͱ .BDLFSFMͷ४උ 

    ΤʔδΣϯτͷΠϯετʔϧɾىಈɾ(6*ͷ֬ೝ  ؂ࢹͷઃఆɾΞϥʔτͷ֬ೝ ˠ ϋϯζΦϯɾ5XJMJP ฤ ΁
  6. 6 / 61 ʮαʔόʔ؂ࢹʯ͸ ͳͥඞཁͳͷͰ͠ΐ͏͔ʁ ˞؂ࢹɿαʔόʔͷঢ়ଶΛҰఆִؒͰ଺Γແ֬͘ೝɾه࿥͢Δ͜ͱ

  7. 7 / 61 ͳͥαʔόʔ؂ࢹ͕ඞཁ͔ʁ l ͍ͪૣ͘ো֐ൃੜΛ֬ೝͰ͖ΔΑ͏ʹ͢ΔͨΊ l ෮چʹ͍ͪૣ͘औΓֻ͔ΕΔΑ͏ʹ͢ΔͨΊ l ঢ়گͷมԽΛ࣌ܥྻͰ؅ཧ͢Δ͜ͱͰɺΩϟύγςΟϓϥϯχϯά΍

    ো֐ͷ༧ஹͷ೺Ѳʹ໾ཱͯΔͨΊ *5αʔϏε͕ద੾ʹఏڙ͞Ε͍ͯΔɾ͞Ε͍ͯ͘ ঢ়ଶΛ҆ఆతʹҡ࣋͢ΔͨΊʹ ඞཁෆՄܽͳ΋ͷʂ
  8. 8 / 61 .BDLFSFMͷ͝঺հ

  9. 9 / 61 ಛ௕ᶃ 4BB4ܕͷαʔόʔ؂ࢹαʔϏε n 4PGUXBSFBTB4FSWJDF l Πϯλʔωοτܦ༝ͰඞཁͳػೳΛར༻Ͱ͖Δ࢓૊ΈͰͷ αʔϏεͷఏڙΛ͍ͯ͠Δ΋ͷ

    n ϝϦοτ l ϑϧϚωʔδυͷͨΊɺϝϯςφϯεෆཁ l ίΞࣄۀ΁ͷूதΛࢧԉʂ n σϝϦοτ l Πϯλʔωοτʹ઀ଓͰ͖ͳ͍ͱར༻Ͱ͖ͳ͍έʔε͕ଟ͍
  10. 10 / 61 ಛ௕ᶄ QVTIܕͷ؂ࢹ n ؂ࢹର৅ͷαʔό͕؂ࢹαʔϏεʹରͯ͠৘ใΛૹΔʢQVTIʣ l ιϑτ΢ΣΞͷΠϯετʔϧ͸ඞཁ͕ͩɺ֎෦ʹର͢ΔΠϯλʔ ωοτΞΫηε͑͞Ͱ͖Ε͹

    0, ؂ࢹର৅αʔόʔ QVTI
  11. 11 / 61 ʮ.BDLFSFMʯΛߏ੒͢Δɺͭͷେ͖ͳཁૉ n .BDLFSFMʢ8FCʣͱɺNBDLFSFMBHFOU

  12. 12 / 61 .BDLFSFMʢ8FCʣ

  13. 13 / 61 NBDLFSFMBHFOU • ؂ࢹର৅αʔόͷ৘ใΛ .BDLFSFMαʔόʹૹΓଓ͚Διϑτ΢ΣΞ • αʔόʔ্ͰίϚϯυΛ਺ճ࣮ߦ͢Δ͚ͩͰΠϯετʔϧ׬ྃʂ •

    ΤʔδΣϯτىಈޙɺ͙͢ʹɾ؆୯ʹ؂ࢹΛ࢝ΊΔ͜ͱ͕Ͱ͖·͢ NBDLFSFMBHFOU
  14. 14 / 61

  15. 15 / 61 ΤϯδχΞͷlϫΫϫΫzΛՃ଎ɾࢧԉ • ͞·͟·ͳπʔϧͱͷ࿈ܞͷ͠΍͢͞ • ͦͷத֩ʹ .BDLFSFMΛʂ %FW

    0QT
  16. 16 / 61 ༷ʑͳศརͳػೳɾಛ௕ l "84ΠϯςάϨʔγϣϯ l 63-֎ܗ؂ࢹ l ϓϥάΠϯػߏʹΑΔ෯޿͍؂ࢹ߲໨΁ͷରԠ

    l ϗετʹඥ෇͔ͳ͍਺஋ͷՄࢹԽʢαʔϏεϝτϦοΫʣ l ΞϧΰϦζϜͷ׆༻ʹΑΔӡ༻ࢧԉ
  17. 17 / 61 "84ΠϯςάϨʔγϣϯ ɾΤʔδΣϯτΠϯετʔϧ͕ෆՄೳͳϚωʔδυαʔϏε΋؂ࢹՄೳʹ ɾ&$ɺ&-#"-#ɺ3%4ɺ&MBTUJDBDIFͳͲ ॱ֦࣍େத "1* "NB[PO $MPVE8BUDI

    "NB[PO 3%4 "NB[PO &-#"-#
  18. 18 / 61 63-֎ܗ؂ࢹ ᶃ֎ܗ؂ࢹઃఆʹैͬͯ 63-ʹΞΫηεʢIUUQIUUQTʣ .BDLFSFMαʔόʔ ᶅઃఆ͞Εͨ؂ࢹϧʔϧͱ ϨεϙϯεΛ΋ͱʹ؂ࢹ IUUQXXXIBUFOBOFKQ

    ᶄϨεϙϯεΛऔಘ 0, 3FTQPOTF CPEZ ϨεϙϯελΠϜ 44- ূ໌ॻ ༗ޮظݶ
  19. 19 / 61 ϓϥάΠϯػߏʹΑΔϝτϦοΫ߲໨ͷ֦ு ɾϓϥάΠϯػߏʹΑΓɺϝτϦοΫ߲໨ͷ֦ு͕Մೳ ɾ؂ࢹର৅ʹ߹ΘͤͯϓϥάΠϯΛબ୒ɺॊೈͳ؂ࢹΛ࣮ࢪ ɾνΣοΫϓϥάΠϯʹΑΓɺϓϩηε΍ϩάͷ؂ࢹ΋ QMVHJO औಘ ର৅

    ᶄ֤छ஋ͷऔಘ ᶅ஋ΛΤʔδΣϯτʹग़ྗ ؂ࢹର৅αʔό ᶆσʔλͷ౤ߘ ᶃ࣮ߦ
  20. 20 / 61 ಛఆͷϗετʹඥ෇͔ͳ͍਺஋ͷՄࢹԽ ɾ.BDLFSFMͷʮαʔϏεϝτϦοΫʯ

  21. 21 / 61 ΞϧΰϦζϜͷ׆༻ʹΑΔӡ༻ࢧԉ • աڈͷ܏޲Λ෼ੳ͠কདྷΛ༧ଌɺͦͷ༧ଌʹج͍ͮͯܯࠂ • ྫ͑͹ɺσΟεΫ͕ރׇ͢Δϱ݄લʹܯࠂɺͱ͍͏কདྷ༧ଌ΋Մೳ $SJUJDBM কདྷ

    5SFOET ϱ݄લ ݱࡏ
  22. 22 / 61 ͦͷଞͷಛ௕ l ෯޿͍͓٬༷ l ਐԽ͠ଓ͚ΔαʔϏε l ߴ͍ηΩϡϦςΟੑ

    l ޿͍؂ࢹର৅ϨΠϠʔ l 8JOEPXTਖ਼ࣜαϙʔτ
  23. 23 / 61 -FU`TTUBSU.BDLFSFM ͦΕͰ͸ͦΖͦΖɺ ʮ.BDLFSFMͱ 5XJMJP Λ༻͍ͨαʔόʔϞχλϦϯάʯΛ ମݧ͍͖ͯ͠·͠ΐ͏ʂ

  24. 24 / 61 ΞδΣϯμʢ.BDLFSFMฤʣ  ͸͡Ίʹ  ؂ࢹର৅αʔόʔͱ .BDLFSFMͷ४උ 

    ΤʔδΣϯτͷΠϯετʔϧɾىಈɾ(6*ͷ֬ೝ  ؂ࢹͷઃఆɾΞϥʔτͷ֬ೝ ˠ ϋϯζΦϯɾ5XJMJP ฤ ΁
  25. 25 / 61 ϋϯζΦϯʹؔ͢Δ͓ئ͍ ʻ஫ҙࣄ߲΍͓ئ͍Ͱ͢ʼ  ίϚϯυྨ͸શͯ IUUQTNBDLFSFMJPIBOETPOUXJMJP ʹ ͝༻ҙ͍ͯ͠·͢ͷͰɺͥͻ͝ར༻Լ͍͞ɻ

     ෼͔Βͳ͍఺͕͋ͬͨΒɺԕྀͳ࣭͘໰͍ͯͩ͘͠͞ɻ • ͓ۙ͘ͷߨࢣɾ5"ʹ͓੠ֻ͚௖͍ͯ΋ 0,Ͱ͢ʂ • ॱ൪ʹରԠ͍ͨ͠·͢
  26. 26 / 61 ࠓճͷϋϯζΦϯͷશମ૾ ؂ࢹର৅αʔόʔ Πϯετʔϧ ΞΧ΢ϯτ࡞੒ ؂ࢹͷ࣮ࢪ ͋ͳͨ

  27. 27 / 61 αʔόʔͷ֬ೝ n ࢀՃऀͷΈͳ͞Μ֤ਓʹͻͱͭͣͭɺαʔόʔΛ͝༻ҙ͍ͯ͠·͢ • Ϋϥ΢υαʔόʔʢ"84&$ʣΛ࢖͍·͢ n ϩάΠϯͰ͖ͨΒɺʮϗετ໊ͷมߋʯ΋ߦͬͯΈ·͠ΐ͏

    • ʲखॱ̎ʳϗετ໊ʢαʔόʔ໊ʣͷมߋ • ʲ໊͓લʳIPTUʢྫɿ JOPVFIPTUʣ • ʲखॱ̏ʳϗετ໊ʢαʔόʔ໊ʣͷมߋΛ֬ೝ
  28. 28 / 61 ଓ͍ͯ .BDLFSFMͷ४උͰ͢ n ͦΕͰ͸ૣ଎ΞΧ΢ϯτͷ࡞੒ʂʜͷલʹ n .BDLFSFMʹ͓͚Δͭͷ֓೦ʹ͍ͭͯ •

    ΦʔΨχθʔγϣϯ • αʔϏε • ϩʔϧ n ͜ͷͭ͸Έͳ͞Μʹ΋࡞੒ͯ͠௖͘͜ͱʹͳΓ·͢
  29. 29 / 61 ΦʔΨχθʔγϣϯ n ௚༁͢Δͱʮ૊৫ʯ n جຊతʹ͸ʮ૊৫ʯ୯ҐͰ࡞੒ͯ͠௖͍ͯ໰୊͋Γ·ͤΜ n ҎԼͷ༷ͳಛ௃Λ཈্͑ͨͰɺద੾ͳཻ౓Ͱ࡞੒͠·͠ΐ͏

    • ಉҰΦʔΨχθʔγϣϯʹॴଐ͢Δϝϯόʔ͸ɺجຊతʹ͢΂ͯͷ ৘ใΛӾཡՄೳ • ʮϩʔϧʯʢͷͪ΄Ͳ͝঺հʣ୯ҐͰάϥϑΛ·ͱΊͯӾཡͰ͖Δ ͷ͸ಉҰΦʔΨχθʔγϣϯͷൣғ಺ͷΈ
  30. 30 / 61 αʔϏε n จࣈ௨ΓɺʮαʔϏεʯ n ૊৫Ͱఏڙ͍ͯ͠ΔαʔϏε୯Ґʹ࡞੒͢Δ n ʮͦͷαʔϏεΛఏڙ͢ΔͨΊʹଘࡏ͍ͯ͠ΔαʔόʯΛ·ͱΊͯ

    ؅ཧ͢ΔͨΊͷ֓೦
  31. 31 / 61 ϩʔϧ n Ұఆن໛Ҏ্ͷ *5αʔϏεͷఏڙʹ͸ɺෳ਺୆ͷαʔόʔ͕ෆՄܽ • શͯͷαʔόʔʹ͸ɺԿΒ͔ͷ໾ׂ͕༩͑ΒΕ͍ͯΔ͸ͣ •

    ಉ͡໾ׂΛ࣋ͬͨαʔόʔ΋ෳ਺ʹ σʔλϕʔε༻αʔό όονॲཧ༻αʔό 8FCαʔό
  32. 32 / 61 ϩʔϧ n ໾ׂ୯ҐͰαʔόͷঢ়ଶΛ֬ೝͰ͖Δͷ͕ .BDLFSFMͷಛ௕Ͱ͢

  33. 33 / 61 ϩʔϧ n ໾ׂ୯ҐͰαʔόͷঢ়ଶΛ֬ೝͰ͖Δͷ͕ .BDLFSFMͷಛ௕Ͱ͢ • ಈతͳαʔόʔͷ૿ݮʹ΋εϚʔτʹରԠ サーバーの増強

    サーバーの縮退
  34. 34 / 61 ͦΕͰ͸͋ΒͨΊͯɺ.BDLFSFMͷ४උͰ͢ n IUUQTNBDLFSFMJPTJHOVQ ͔ΒΞΧ΢ϯτΛ࡞੒͠·͠ΐ͏ • ʲखॱ̐ʳ.BDLFSFMͷΞΧ΢ϯτΛ࡞੒ʢαΠϯΞοϓʣ •

    ˞طʹΞΧ΢ϯτΛ͓࣋ͪͷํ͸͓஌Β͍ͤͩ͘͞ n ΦʔΨχθʔγϣϯ໊ΛܾΊ·͠ΐ͏ • ʲ໊͓લʳPSHʢྫɿJOPVFPSHʣ • ͜ͷΦʔΨχθʔγϣϯʹͱͬͯͷ࠷ॳͷϢʔβʔɿ͋ͳͨ • ؅ཧऀϢʔβʔɿ͋ͳͨ
  35. 35 / 61 ΦʔΨχθʔγϣϯͷ࡞੒׬ྃ

  36. 36 / 61 ݱ࣌఺Ͱͷঢ়ଶ ؂ࢹର৅αʔόʔ ʲJOPVFIPTUʳ ΦʔΨχθʔγϣϯ ʲJOPVFPSHʳ ͋ͳͨ

  37. 37 / 61 ΞδΣϯμʢ.BDLFSFMฤʣ  ͸͡Ίʹ  ؂ࢹର৅αʔόʔͱ .BDLFSFMͷ४උ 

    ΤʔδΣϯτͷΠϯετʔϧɾىಈɾ(6*ͷ֬ೝ  ؂ࢹͷઃఆɾΞϥʔτͷ֬ೝ ˠ ϋϯζΦϯɾ5XJMJP ฤ ΁
  38. 38 / 61 ΤʔδΣϯτʢNBDLFSFMBHFOUʣͷΠϯετʔϧͱىಈ n ΦʔΨχθʔγϣϯͷ࡞੒׬ྃޙʹදࣔ͞Ε͍ͯΔը໘ʹैͬͯɺ ࡞ۀΛਐΊͯΈ͍ͯͩ͘͞ • ΤʔδΣϯτʢNBDLFSFMBHFOUʣͷΠϯετʔϧ •

    ΤʔδΣϯτʢNBDLFSFMBHFOUʣͷઃఆ • ΤʔδΣϯτʢNBDLFSFMBHFOUʣͷىಈ n ͸΍͘Ͱ͖ͨํ͸ɺ͍Ζ͍Ζͳը໘΍άϥϑΛݟͯɾ৮ͬͯΈ͍ͯͩ͘͞ • ʲखॱ̑ʳάϥϑΛ֬ೝ͢Δ
  39. 39 / 61 αʔϏεͱϩʔϧͷ࡞੒ n αʔϏεͱϩʔϧΛ࡞੒ͯ͠Έ·͠ΐ͏ • JOPVFTFSWJDF • JOPVFEC

  40. 40 / 61 αʔϏεͱϩʔϧ΁ͷॴଐ n αʔόʔʢϗετʣΛαʔϏεɾϩʔϧʹॴଐͤͯ͞Έ·͠ΐ͏ l ϗετҰཡʢ)PTUTʣ͔Β • αʔϏε໊ϩʔϧ໊

    • ˞ࢀߟ˞αʔϏε໊ͱϩʔϧ໊ΛઃఆϑΝΠϧʹॻ͍͓ͯ͘ ͜ͱͰɺࣗಈతʹॴଐͤ͞Δ͜ͱ΋ՄೳͰ͢
  41. 41 / 61 .BDLFSFMͷը໘ΛோΊͯΈ·͠ΐ͏ n ؅ཧը໘ΛҰ௨Γݟ͍͖ͯ·͠ΐ͏ • ΦʔΨχθʔγϣϯτοϓϖʔδ • %BTICPBSET

    • 0WFSWJFX • )PTUT • γεςϜϝτϦοΫ • 4FSWJDFT • ϩʔϧάϥϑ • .POJUPST • "MFSUT
  42. 42 / 61 現時点での状態 ؂ࢹର৅αʔόʔ ʲJOPVFIPTUʳ ʲJOPVFPSHʳ ͋ͳͨ ϝτϦοΫͷૹ৴ ʲJOPVFTFSWJDFʳ

    JOPVFEC ϗετ৘ใ γεςϜϝτϦοΫ
  43. 43 / 61 ΞδΣϯμʢ.BDLFSFMฤʣ  ͸͡Ίʹ  ؂ࢹର৅αʔόʔͱ .BDLFSFMͷ४උ 

    ΤʔδΣϯτͷΠϯετʔϧɾىಈɾ(6*ͷ֬ೝ  ؂ࢹͷઃఆɾΞϥʔτͷ֬ೝ ˠ ϋϯζΦϯɾ5XJMJP ฤ ΁
  44. 44 / 61 ؂ࢹϧʔϧͷ֬ೝ n .BDLFSFMʹ͓͚ΔʮΞϥʔτΛൃੜͤ͞Δ΂͖͔Ͳ͏͔ʯͷ൑ఆ͸ɺ ͋Β͔͡ΊఆΊͨϧʔϧʹԊͬͯ൑அ͞ΕΔ n ࠓ͋Δ؂ࢹϧʔϧΛ֬ೝͯ͠Έ·͠ΐ͏

  45. 45 / 61 DPOOFDUJWJUZ n ʮαʔόʔ͔ΒͷϝτϦοΫૹ৴͕Ұఆ࣌ؒҎ্ࢭ·͍ͬͯͳ͍͔ʯͱ ͍͏؂ࢹϧʔϧ • ͍ΘΏΔʮϗετࢮ׆؂ࢹʯ •

    ϧʔϧ໊ʮDPOOFDUJWJUZʯ͸มߋՄೳͰ͢
  46. 46 / 61 ؂ࢹϧʔϧʹ఍৮͢ΔͱͲ͏ͳΔ͔ n ʮ؂ࢹϧʔϧʹ൓͢Δҟৗ͕؍ଌ͞Εͨʯͱ͍͏৘ใ͕ ʮىථʯ͞Ε·͢ n ͦΕ͕ʮΞϥʔτʯͰ͢ʂ

  47. 47 / 61 ؂ࢹϧʔϧΛ࡞ͬͯΈ·͠ΐ͏

  48. 48 / 61 ؂ࢹϧʔϧΛ࡞ͬͯΈ·͠ΐ͏ n ؂ࢹର৅ɿ$16 n ؂ࢹର৅ͷߜΓࠐΈɿແ͠ n Ξϥʔτͷൃੜ৚݅

    • 8BSOJOH$SJUJDBM • ৚݅ͷ࣋ଓ࣌ؒɿ෼ؒͷฏۉ஋
  49. 49 / 61 ΞϥʔτΛൃੜͤͯ͞ΈΑ͏ n ίϚϯυΛ࣮ߦͯ͠ɺ$16ʹෛՙΛֻ͚ͯΈ·͠ΐ͏ l IUUQTNBDLFSFMJPIBOETPOUXJMJP • ʲखॱ̒ʳ$16ʹෛՙΛֻ͚ͯΈΔ

    n ࣮ߦͰ͖ͨΒɺ.BDLFSFMͷϗετৄࡉΛ֬ೝ͠·͠ΐ͏
  50. 50 / 61 ˞ิ଍˞ ϝτϦοΫʹ͍ͭͯ n γεςϜϝτϦοΫ l NBDLFSFMBHFOU͕ඪ४Ͱૹ৴͢Δ΋ͷ •

    $16 • .FNPSZ • 'JMFTZTUFN • ʜ n ΧελϜϝτϦοΫ l ެࣜϓϥάΠϯͳͲͰΤʔδΣϯτͷػೳΛ֦ு͠ૹ৴͢Δ΋ͷ • .Z42-ʹؔ͢ΔϝτϦοΫ • "QBDIFʹؔ͢ΔϝτϦοΫ • ʜ
  51. 51 / 61 $16ෛՙঢ়گͷ֬ೝ n άϥϑͰݟΔ $16࢖༻཰ͷਪҠ͸͍͔͕Ͱ͠ΐ͏͔ʁ l ͖͞΄Ͳ࡞੒ͨ͠؂ࢹϧʔϧͷᮢ஋͸ӽ͑ͨʁ n

    ଞͷมԽ͸Ͳ͏Ͱ͠ΐ͏͔ʁ l "MFSUTλϒͷ֬ೝ • ʲखॱ̓ʳΞϥʔτλϒΛ֬ೝͯ͠ΈΔ l ϝʔϧϘοΫεͷ֬ೝ
  52. 52 / 61 "MFSUTͷ֬ೝ

  53. 53 / 61 "MFSUTͷ֬ೝ

  54. 54 / 61 Ξϥʔτϝʔϧͷ֬ೝ

  55. 55 / 61 ਖ਼ৗͳঢ়ଶʹ෮ؼͤͯ͞Έ·͠ΐ͏ n Ξϥʔτ͕Φʔϓϯʢىථʣ͞Εɺ௨஌ͱͯ͠ϝʔϧ͕ૹ৴͞ΕΔ͜ͱ ΋֬ೝͰ͖·ͨ͠ n ݱࡏ΋·ͩΞϥʔτʢʹ؂ࢹϧʔϧʹ఍৮͍ͯ͠Δঢ়ଶʣ͕ܧଓதͰ͢ n

    Ͱ͸ɺਖ਼ৗͳঢ়ଶʹ໭͢ͱͲ͏ͳΔͰ͠ΐ͏͔ʜʁ l ʲखॱ̔ʳ$16ʹෛՙΛֻ͚ΔίϚϯυͷఀࢭ
  56. 56 / 61 ※補足※ 通知先について

  57. 57 / 61 ਖ਼ৗͳঢ়ଶʹ෮ؼ͢Δͱʁ n Φʔϓϯʢىථʣ͞ΕͨΞϥʔτ͕ࣗಈతʹΫϩʔζ͞Ε·͢ l ͜Ε΋ .BDLFSFMͷػೳͰ͢ n

    ࠶ͼ௨஌ʢϝʔϧʣ΋ड৴͠·ͨ͠ l ᮢ஋ʹର͢Δঢ়ଶͷมԽͷλΠϛϯάͰ௨஌Λߦ͍·͢ • ʲ0,ʳˠʲ$SJUJDBMʳ ˠʲ0,ʳ • ʲ0,ʳˠʲ8BSOJOHʳ ˠʲ$SJUJDBMʳ ˠʲ0,ʳ
  58. 58 / 61 ΞδΣϯμʢ.BDLFSFMฤʣ  ͸͡Ίʹ  ؂ࢹର৅αʔόʔͱ .BDLFSFMͷ४උ 

    ΤʔδΣϯτͷΠϯετʔϧɾىಈɾ(6*ͷ֬ೝ  ؂ࢹͷઃఆɾΞϥʔτͷ֬ೝ ˠ ϋϯζΦϯɾ5XJMJP ฤ ΁
  59. 59 / 61 5XJMJP ࿈ܞΛ༻͍ͯɺ ΞϥʔτΛʮి࿩ʯʹ௨஌ͤͯ͞Έ·͠ΐ͏ʂ /FYU4UFQ