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

モンストサーバーの負荷との向き合い方/How Monster Strike is dealing with server load

Abde1cc59b4baaec3c12d65581c5d017?s=47 riita10069
February 12, 2021

モンストサーバーの負荷との向き合い方/How Monster Strike is dealing with server load

Abde1cc59b4baaec3c12d65581c5d017?s=128

riita10069

February 12, 2021
Tweet

Transcript

  1. גࣜձࣾϛΫγΟ ։ൃຊ෦$50ࣨ43&άϧʔϓ ࢁాྒྷଠ Ϟϯεταʔόʔ ෛՙͱͷ޲͖߹͍ํ

  2. Ryota Yamada ౦ژ޻ۀେֶ޻ֶӃ৘ใ௨৴ܥ .-鳚鲿鳣鱳ධՁࢦඪ鱰ؔ鱞鲐ݚڀ גࣜձࣾ鳗鲧鲯鲛 $50ࣨ鳚鳫鲱鳀43&  ؔ৺鱳鱇鲐ٕज़ɿ 鳖鲜鲧鳥鲭鱅鳋鲱鲚鱅鲥鲾鲧鲹鳛 %FW0QT

    .-0QT 43& TXFU
  3. ϞϯελʔετϥΠΫ ੈքྦྷܭར༻ऀ਺ɹສਓಥഁʂʂ

  4. Ϟϯετ͸௒େن໛ιγϟήʂʂ ίΞ਺͕ଟ͗͢Δ Πϕϯτ࣌ʹΞΫηε͕ภΔ

  5. ؆ུԽͨ͠ߏ੒ "QQ -# "QQ "QQ "QQ "QQ "QQ "QQ "QQ

    "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ 8PSLFS 3FEJT 3FEJT 3FEJT 2VFVF "QQ "QQ "QQ "QQ "QQ "QQ "QQ "QQ %# ϘτϧωοΫ͸Ͳ͜ʁʁ 3FEJT 3FEJT 3FEJT NFN DBDIF
  6. ؍ଌ͢Δ͜ͱ͕ॏཁʂ $MPVE'PSFDBTU

  7. Ϣʔβʔͷಈ͖ ΤϯυϙΠϯτ͝ͱͷ ϦΫΤετ਺ ΫΤετϓϨΠ਺ Ψνϟճ਺ ొ࿥਺ ϩάΠϯճ਺

  8. શମΛܭଌ

  9. "QQͷ؍ଌ -PBEBWFSBHF ࿦ཧεϨου਺Λ໨҆ʹ͍ͯ͠Δ $5ͷιέοτͰεϨου $166TBHF $16࢖༻཰ ॲཧͷྔʹىҼ͢Δ Ͳͷϓϩηε͕ࢥ͍ͷ͔ .FNPSZ6TBHF ϝϞϦ࢖༻཰

    σʔλͷαΠζʹىҼ͢Δ େ͖ͳ഑ྻ΍ը૾ͳͲʁ 5SB⒏D ωοτϫʔΫଳҬ 5$1ίωΫγϣϯ਺ʹ΋ݶք %JTL*0 %JTL΁ͷ*0ස౓ ΩϟογϡͷಋೖͳͲ 1SPpMF ϓϩϑΝΠϧ ݪҼͱͳ͍ͬͯΔϓϩηε
  10. 8PSLFS3FEJTͷ؍ଌ &ORVFVF਺ $PNQMFUF਺ Λൺֱ SFTDVFʹ 4UBDL͞Εͨ5BTLT

  11. ͳͥඇಉظγεςϜͷϝϦοτ w %#ʹର͢ΔϨʔτϦϛολʔͱͯ͠ͷ໾ׂ w 8PSLFS਺͕ݻఆͳͷͰ w HFU͕ෳ਺ͷ8PSLFSΛ࢖͏͜ͱ͕Ͱ͖Δ w ٯʹɺෳ਺ϦΫΤετ͕8PSLFSΛ࢖͏͜ͱ͕Ͱ͖Δ w

    ૄ݁߹γεςϜͷ࣮ݱ
  12. ࠷΋෼ࢄ͕೉͍͠ͷ͸%# w ਫฏ෼ࢄ w γϟʔσΟϯά w ϨϓϦέʔγϣϯΛऔಘ w Ұ෦ɺ.BTUFS4MBWFߏ੒ w

    #V⒎FS1PPMʹશͯ৐͔͍ͬͬͯΔ w .Z42-͕$16Λ࢖ͬͨΒෛ͚Β͍͠ʂʁ
  13. ѹ౗తͳΩϟογϡઓུ $%/ -PDBM'JMF $BDIF4FSWFS

  14. $%/ w ը૾ͳͲɺॏ͍੩తϑΝΠϧ΁ͷΞΫηεΛ੍ޚ w ੩తϑΝΠϧʹؔͯ͠΋ϛϧϑΟʔϢߏ଄ʹͳ͍ͬͯͯ w $%/Λࢀর w ݟ͔ͭΒͳ͚Ε͹ɺ4 w

    ΩϟϥΫλʔͷΞΠίϯ΍ը૾ͱϘΠεͳͲͷϚελʔσʔλ w ߋ৽ͷࡍͷ੔߹ੑ͕՝୊ w "QQαʔόʔ͕%#Ͱ63-ͷΈΛ؅ཧͯ͠ɺߋ৽࣌ʹ͸63-Λߋ৽
  15. -PDBM'JMF$BDIF w -PDBM'JMF$BDIFʹ΋ೋछྨ͕ଘࡏ w ET@MPDBM@pMF@DBDIF͸αʔόʔ্ͷϑΝΠϧγεςϜʹΩϟογϡΛஔ͘ w ଟ͍ॲཧͰ"QQͷ$16ෛՙରࡦɺϨΠςϯγରࡦͱͯ͠ಋೖ w DBQVUJMDMFBS@TFOEpMFͰΩϟογϡΛ࡟আͰ͖Δ w

    VTF@BQQ@DBDIFΛUSVFʹ͢Δ͜ͱͰɺΦϯϝϞϦʹΩϟογϡΛஔ͘ w ্هͷղܾࡦͰͷ*0ෛՙରࡦͱͯ͠ಋೖɺϨΠςϯγ΋࡟ݮՄೳ w DMFBS@TFOEpMFͰফ͑ͳ͍ͳΒɺߋ৽࣌ʹফ͢ඞཁ͕͋Δʁ
  16. $BDIF4FSWFS w ϦϞʔτΩϟογϡʹ͸ɺNFNDBDIFΛར༻ w "DUJWF3FDPSE#BTF͸%4$BDIFΛFYUFOE͍ͯ͠Δ w $MBTT/BNFET@DBDIF Λར༻͢Δͱ͍͍ײ͡ʹΩϟογϡ͕औΕΔ w $BDIF͕͋Ε͹औಘɺͳ͚Ε͹%#͔Βͱͬͯηοτ

    w BGUFS@DPNNJUͰET@FYQJSF Λ͢Δ͜ͱͰ࡟আ͍ͯ͠Δ w Ωϟογϡࣗମ͸σʔλߏ଄͕มΘΕ͹มΘΔͷͰෆ੔߹ʹ஫ҙ w LFZʹWFSTJPOͷ൪߸ΛೖΕΔ͜ͱͰݹ͍σʔλ΁ͷࢀরʹରԠ͍ͯ͠Δ IUUQTHJUIVCDPNIPPPQPTFDPOE@MFWFM@DBDIF
  17. Ωϟογϡͷ࢖͍෼͚ $%/ -PDBM'JMF $BDIF4FSWFS େ͖ͳ੩తϑΝΠϧ ϚελʔσʔλͰ͋Γɺ શͯͷϢʔβʔ͕࢖͏΋ͷ ϩʔΧϧϑΝΠϧΩϟογϡ ͕Ͱ͖ͳ͍΋ͷ͸ͬͪ͜

  18. -PDBM'JMF$BDIFʹ͓͚ͳ͍ཧ༝ w Ϣʔβʔʹݻ༗ͷσʔλ w "QQαʔόʔͷ୆਺͸୆ఔ౓͋Γɺ ಛఆͷϢʔβʔ͕ಉ͡αʔόʔʹΞΫηε͢Δ֬཰͸ɺ w ϢʔβʔͷߦಈʹΑͬͯߋ৽͞ΕΔ w ୆ఔ౓ͷαʔόʔͰΩϟογϡʹର͢Δ੔߹ੑ͕औΕͳ͍

    w ͋ΔσʔλΛॻ͖׵͑Δͨͼʹɺ୆શͯνΣοΫ͠ɺ ͦͷؒϩοΫͯ͠͠·ͬͨΒɺΉ͠ΖύϑΥʔϚϯε͕Լ͕ͬͯ͠·͏
  19. $POTJTUFOU)BTIJOH w NFNDBDIFE΋୆Ҏ্Ͱ෼ࢄ w ୯Ұো֐఺Λճආ͢ΔͨΊ w /PEFΛϦϯά্ʹ഑ஔ͢Δ͜ͱͰ LFZʹରԠ͢ΔNFNDBDIFE͕ Ұҙʹఆ·Δ w

    /PEFͷ௥Ճɾ࡟আͰظ଴஋ʹภΓ ௥Ճͯ͠΋ෛՙܰݮͰ͖ͳ͍ ࡟আ͢Δͱෆ੔߹͕ى͖Δ w ϨϓϦΧ΁ͷ੾Γସ͑ͰରԠ
  20. ΩϟογϡஆΊόοδॲཧ w ৽Ωϟϥͷऔಘʹରͯ͠εϩʔΫΤϦ͕ଟൃ w ৽Ωϟϥ͸ɺ೥࢝ͷΨνϟ·Ͱ୭΋͍࣋ͬͯͳ͍ͨΊɺΩϟογϡ͕ͳ͍ w ͦͷ݁Ռɺ৽ΩϟϥͷͨΊʹҰؾʹ%#ʹΞΫηε͕ࡴ౸ͯ͠͠·͏ w $BDIF8BSNFS$IBS$BDIFXBSN@DBDIF w

    શͯͷΩϟϥ΍ͦͷपลͷσʔλͷΩϟογϡΛ࡞੒͢Δ w SBLFλεΫͷDSPOʹΑ࣮ͬͯߦ
  21. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠