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

自作ISUCONのすすめ

51105482dc2e3d01b3ba64c9751d75c6?s=47 ITO Shogo
November 12, 2019

 自作ISUCONのすすめ

51105482dc2e3d01b3ba64c9751d75c6?s=128

ITO Shogo

November 12, 2019
Tweet

Transcript

  1. ࣗ࡞ISUCONͷ͢͢Ί showwin

  2. Θͨ͠͸ͩΕ ໊લ: showwin (͠ΐʔ͏͌Μɺҏ౻ উޜ) ࢓ࣄ: LAPRAS, LAPRAS SCOUTΛ࡞͍ͬͯΔਓ झຯ:

    ISUCON, ܦӦγϛϡήʔϜ ਏΈ: sΩʔ͕νϟλϦϯά͢Δ
  3. Έͳ͞ΜISUCON͸ ͝ଘ஌Ͱ͔͢ʁ

  4. ISUCONͱ͸ • ISUCON = Iikanjini Speed Up Contest • ༩͑ΒΕͨWebΞϓϦέʔγϣϯΛ͍͔ʹߴ଎ԽͰ͖Δ͔ڝ͏

    ίϯςετ • ༧બ(600૊) → ܾউ (30૊)
  5. ISUCONͰউͭͨΊʹ͸ 1. ߴ଎Խख๏Λ਎ʹ͚ͭΔ • N+1ɹ • ੩తϑΝΠϧͷΩϟογϡ • ޮ཰తͳDBΠϯσοΫε 2.

    ϕϯνϚʔΧͷؾ࣋ͪΛߟ͑Δ͜ͱ͕େࣄ • ໰୊ͷ࡞ऀ͸Ͳ͏͍͏ҙਤͰϦΫΤετύλʔϯΛ࡞͍ͬͯΔ ͷ͔…
  6. ͭ·Γ… Ͱ΋1೥ʹ1ճ͔͠ͳ͍͠ɺ3,4೥Ҏલͷ໰୊͸؀ڥߏஙͰ͖ͳ͔ͬ ͨΓ͢Δ… աڈ໰Ͱ࿅श͠Α͏ʂ

  7. աڈ໰͕ͳ͚Ε͹ ࡞Ε͹͍͍ʂʂ

  8. showwin + ISUCON = ISHOCON

  9. ISHOCON1 (2015.09࡞) ςʔϚ: தࠃਓͷരങ͍ʹ଱͑ΔαΠτΛ࡞Ζ͏ʂ

  10. ISHOCON1 (2015.09࡞) ✓ݴޠ࣮૷ • Go, Ruby, Python, Scala, Crystal
 ✓AWSͰAMI࡞ͬͯެ։


    ✓ΠϕϯτͰ࢖༻ͨ͠/͞Εͨ • લ৬ͷࣾ಺ISUCON • ISHOCON1 - ݸਓࢀՃͷISUCON࿅शίϯςετ • Wantedly͞Μͷ৽ଔݚम • ԭೄͷίϫʔΩϯάεϖʔεͷΠϕϯτ
  11. ISHOCON2 (2016.9࡞) ςʔϚ: ωοτબڍαʔϏεͷߏங࿅शΛ͠Α͏ʂ

  12. ISHOCON2 (2016.9࡞) ✓ݴޠ࣮૷ • Go, Ruby, Python, Crystal, Node.js, PHP


    ✓͍͍ͩͨISHOCON1ͱಉ͡ • ϕϯνϚʔΧ: Go • 1ਓͰ8࣌ؒͰઓ͑Δ໰୊ͷن໛͕େࣄ
 ✓ΠϕϯτͰ࢖༻ͨ͠ • ISHOCON2 - ݸਓࢀՃͷISUCON࿅शίϯςετ • ༏উऀ͸ߴߍੜ (ISHOCON9ͷ༧બ1Ґ௨ա)
  13. ISHOCON3 (2018.6) ςʔϚ: ߴྸԽࣾձʹඋ͑ͯɺ
 Ҩݴॻͷόʔδϣϯ؅ཧγεςϜʂ

  14. ISHOCON3 (2018.6) ✓ະ׬੒… ✓໰୊ͷ֩৺෦෼͸ɺόʔδϣϯ؅ཧͰgitΛ࢖͏࣮૷ʹͳͬͯ ͍ͯɺͦΕΛRDBʹஔ͖׵͑ΔҊͩͬͨ ✓࣮૷͕ۤ௧… ✓gitͰͷ࣮૷ΛͨͩRDBʹஔ͖׵͑Δ͚ͩͷ໰୊ʹͳͬͯ͠· ͏ ✓͓ଂೖΓ

  15. ISHOCON4 (2019.9) ςʔϚ: ϞϯελʔͷݕࡧγεςϜ

  16. ISHOCON4 (2019.9) ✓ઈࢍ࡞੒த…ʂʁ ✓ςʔϚ͸͋·Γ໘ന͘ͳ͍
 ✓࢓ࣄͰΞϓϦέʔγϣϯΛॻ͍͍ͯͯɺ͜Εߴ଎Խ͢Δͷਏ͍ ͳʔͱ͍͏ཁૉͷू݁ • ෳ਺৚݅+ϑϦʔϫʔυΛ૊Έ߹ΘͤΔݕࡧ • OGPͷಈతੜ੒


    ✓੍࡞͔Β2ϲ݄ܦ͍ͬͯΔ͚Ͳ…
 ͍ɺ͍΍๞͖ͨΘ͚͡Όͳ͍ͬ͢…
  17. ࣗ࡞ISUCONͷྑ͍ͱ͜Ζ ✓ ϕϯνϚʔΧΛ࡞Δ͜ͱͰฒྻॲཧͷษڧʹͳΔ ✓ ࣗ෼ͷ஌Βͳ͍ߴ଎Խख๏ΛपΓͷਓ͕ڭ͑ͯ͘ΕΔ ✓ ଞͷਓ͕ղ͍ͯ͘ΕΔͱخ͍͠ • ΠϕϯτΛ։͘ͱܨ͕Γ΋૿͑Δ ✓

    ໰୊Λߟ͍͑ͯΔָ͕͍ؒ͠ʂʂʂ
  18. ࣗ࡞ISUCONͷ ѱ͍ͱ͜Ζ

  19. ຊ൪Ͱ isucon ͱ ishocon Λଧͪؒҧ͑Δ

  20. ͋Γ͕ͱ͏͍͟͝·ͨ͠