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

SHOWROOMの泥臭い負荷対策

 SHOWROOMの泥臭い負荷対策

Streaming Conference #1で発表したスライドです。
https://streaming-lab.connpass.com/event/78549/

15a96795b858c75dd36d7c6e42a93d5a?s=128

shimizu-masaya

February 26, 2018
Tweet

Transcript

  1. 4)08300.5FDI4UVEJP SHOWROOMͷటष͍ෛՙରࡦ ࢤਫཧ࠸ 4USFBNJOH$POGFSFODF

  2. ࣗݾ঺հ wࢤਫཧ࠸ wࣾྺ w ೥%F/"৽ଔೖࣾ w ೥4)08300.ग़޲ ಈըྺ೥ະຬ  wීஈѻ͍ͬͯΔ΋ͷ

    w 1FSM 3VCZ .Z42- &MBTUJDTFBSDI FUD wझຯ w ϑοταϧɺαοΧʔɺΞΠυϧ
  3. 4)08300.ͬͯ஌ͬͯΔʁ wओʹԋऀࣗ਎͕ࣗ෼ͷσόΠεͰετϦʔ ϛϯά഑৴͢ΔΞϓϦέʔγϣϯ wԋऀ͸ૉਓ͔Βࠃຽత௒༗໊ਓ·Ͱ෯޿͘ ଘࡏ ‣ ετϦʔϛϯά഑৴ͷ஌ࣝͷͳ͍௒༗໊ਓ͕ ‣ ҰਓͰ഑৴ΛελʔτͰ͖Δ wτϥϒϧ͕ى͖Δͱɺԋऀ͸ͱͯ΋ෆ͕҆

    Δ͠ɺ഑৴ͷத਎΋ͦΕʹҾ͖ͮΒΕͯɺ ຊདྷͷ໨తͲ͓Γͷ഑৴͕Ͱ͖ͳ͍
  4. ࠓ೔࿩͢͜ͱ w໰୊ w ഑৴։࢝࣌ʹΦʔτεέʔϧ͕ؒʹ߹Θͣಈը͕ΧΫπΫͳͲͷτϥϒϧ͕ൃੜ ͢Δ wલఏ w 4)08300.͸ίϛϡχέʔγϣϯॏࢹͷͨΊɺ஗Ԇ࣌ؒ௿ݮͷͨΊ$%/Λܦ ༝͍ͯ͠ͳ͍ w

    ԋऀΛԠԉ͢ΔϑΝϯͨͪͷ৘ใ֦ࢄ΍ɺ഑৴௨஌ʹΑͬͯ։࢝࣌ʹଟ͘ͷϢʔ βʔ͕ू·Δ w ഑৴ػࡐ εϚϗ Λѻ͏ͷ͸ԋऀ ඇΤϯδχΞ
  5. ഑৴։͔࢝Β҆ఆͤ͞ΔͨΊʹ w$%/Λ௨ͯ҆͠ఆ഑৴ͤ͞Δ w ஗Ԇ͕࣌ؒ૿෯ͯ͠ԋऀͱࢹௌऀͷίϛϡχέʔγϣϯʹࢧো͕ग़Δ w৘ใൃ৴Λίϯτϩʔϧͯ͠ɺҰؾʹਓ͕ू·Βͳ͍Α͏ʹ͢Δ w ԋऀ͸Ή͠ΖҰؾʹਓΛूΊ͍ͨ wೖ৔ن੍͢Δ w αʔϏεͷࢥ૝ʹ൓͢Δ

    w༧ࠂ։࢝࣌ؒલʹ഑৴։࢝ͯ͠༧ࠂ࣌ؒલʹΦʔτεέʔϧͤ͞Δ w ೉қ౓͕ߴ͘ɺ4)08300.ͷ഑৴ऀʹ͸ࠔ೉
  6. ༧Ί༧ଌͯ͠ϚχϡΞϧͰ εέʔϧΞ΢τ͓ͤͯ͘͞

  7. ༧Ί༧ଌʁ ͲΜͳ෩ʹʁ

  8. ͋ͷਓ͕ग़Δ͔Βಉ࣌઀ଓ ਺͸YYສ͘Β͍Ͱ͠ΐ͏ ͋ͷਓ͸͜ͷલͷZZZͷ഑ ৴ͱಉ͘͡Β͍Ͱඋ͑Α͏

  9. ͋·͍ʂ

  10. ͋ͷਓ͸ɺࠓ೔஀ੜ೔ͳͷ Ͱ͍ͭ΋ΑΓਓ͕དྷͦ͏ͩʂ ࠓ೔ͷ഑৴Ͱ͸ະެ։৘ใͷ ղې͕͋ΔͬͯἤΒΕͯΔʂ

  11. ഑৴ΛऔΓר͘৘ใऩूڧԽ wຖिɺίϯςϯπ੍࡞νʔϜͱϚʔέςΟϯάνʔϜͱఆྫձٞ w ༧ఆ͞Ε͍ͯΔτοϓίϯςϯπͷγΣΞ w ͳΔ΂͘ඇެ։৘ใ΋ؚΊͯ഑৴಺༰΋γΣΞ w ಥൃతͳ഑৴΋෼͔Γ࣍ୈγΣΞ wࠂ஌4/4ͷ൓ԠΛνΣοΫ w

    ͍͍Ͷ਺ɺϦπΠʔτ਺ɺϋογϡλάτϨϯυ w·ͱΊαΠτνΣοΫ w௒ਓؾԋऀͷ഑৴εέδϡʔϧొ࿥ͷ಺෦௨஌
  12. ݁ہ࠷ޙ͸ܦݧଇͱצ ͱগ͠ଟΊͷݟੵ΋Γ

  13. ·ͱΊ w4)08300.ͷߴෛՙ഑৴ʹର͢Δటष͍ෛՙରࡦΛ঺հ w ΦʔτεέʔϧʹͨΑΒͣʹటष͘ख࡞ۀͰαʔόʔΛ૿ઃ w ϏδωεαΠυͷ৘ใڞ༗΍ωοτ্ͷ৘ใΛࢀߟʹ͍ͯ͠Δ w ܦݧଇͱצʹཔ͍ͬͯΔ w υϝΠϯ஌͕ࣝ໾ʹཱͭʂ