💁
HOWʹ͍ͭͯΓ͍ͨํ
ڈͷKaigi on Rails 2020ͷ
ࠇ༵͞ΜͷൃදΛ͝ཡ͍ͩ͘͞
ύϑΥʔϚϯεվળͷ)08ͷ͠ͳ͍
Slide 8
Slide 8 text
ͳͥ
ύϑΥʔϚϯεΛվળ͢Δͷ͔
1
Slide 9
Slide 9 text
ϓϩμΫτ։ൃͷత
ʹ
ϢʔβʔՁͷ࠷େԽ
Slide 10
Slide 10 text
w $73ɺ$53
w (.7
w %"6ɺ."6ɺ
w ࡏ࣌ؒ
FUD
ࣄۀʹΑ༷ͬͯʑ
ϢʔβʔՁͷ݁Ռ
ࣄۀ,1*ʹସͯ͠
ܭଌͰ͖Δ
Slide 11
Slide 11 text
ࣗࣗͰߟ͑Δ
γεςϜɾػೳͷύϑΥʔϚϯεͱࣄۀKPIͷؔΛ୳Δ
ϢʔβʔମݧͷΫϦςΟΧϧύε͋Δͷ͔ʁ
w FHϢʔβʔΦϯϘʔσΟϯάͷྲྀΕˠ৽نొ$73
w FHϗʔϜը໘ىಈ࣌ؒˠɺϦςϯγϣϯ
Slide 12
Slide 12 text
ԿͷύϑΥʔϚϯεΛ
վળ͢Δͷ͔
2
Slide 13
Slide 13 text
4FSWJDF-FWFMఆٛ
ࣄۀKPIͱ૬ؔੑͷ͋Δࢦඪʹམͱ͠ࠐΉ
4FSWJDF-FWFM*OEJDBUPS 4-*
w αʔϏεϨϕϧͷࢦඪ
4FSWJDF-FWFM0CKFDUJWF 4-0
w 4-*ͷඪ
ҰൠతʹɺϨΠςϯγʔɺՄ༻ੑɺΤϥʔ
ɺεϧʔϓοτͳͲΛ4-*ͱ͢Δ
Slide 14
Slide 14 text
1FSGPSNBODF͚4-*4-0ͷఆٛ
ϨΠςϯγʔ
࠷ݶͷఆٛγεςϜͷϨΠςϯγʔ
w ҰൠతʹฏۉͰͳ͘ɺQɺQ
ࣄۀ,1*ͷʮΫϦςΟΧϧύεʯʹ͋ΔػೳʹߜΔͱͳ͓Α͍
w FHىಈ࣌"1*܊ͷQϨΠςϯγʔ
w FHϢʔβʔΦϯϘʔσΟϯάؔ࿈FOEQPJOUͷQϨΠςϯγʔ
Slide 15
Slide 15 text
4-0%PDVNFOU
ఏҊࢿྉ
w ߹ҙܗΛಘΔͨΊʹɺࢿྉʹམͱ͠
ࠐΉ
w ࣄۀʹ߹Θͤͯɺఆظతʹݟ͢
ςϯϓϨʔτɿ43&8PSLCPPL
ʮ&YBNQMF4-0%PDVNFOUʯ
https://sre.google/workbook/slo-document/
Slide 16
Slide 16 text
ͯ͞ɺ
ଥͷϨΠςϯγʔSLOͲΕ͘Β͍ʁ
Slide 17
Slide 17 text
from "Time Is Money", Tammy Everts (2016, O'Reilly)
Almost half of all online shoppers
say they will abandon a page that
takes more than 2 seconds to load.
Slide 18
Slide 18 text
Steve Souders in "High Performance Web SItes" (2007, O'Reilly)
80%–90% of the end user
response time is spent on
the frontend. Start there.
Slide 19
Slide 19 text
&OEUP&OE͕େࣄ
ϨΠςϯγʔSLO
ϑϩϯτΤϯυ͔ΒݟͯɺαʔόʔଆͷΛٯࢉ͢ΔɻܭଌͰ͖Δͱϕετ͕ͩɺ
͍͠߹ҰൠΛग़ൃʹͰ͖Δ
w 8FCͩͱׂϑϩϯτΤϯυଆɺׂ̎αʔόʔଆ
w ඵҎΛࢦ͢ͳΒɺϨΠςϯγʔ4-0NT
దͳΩϟύγςΟϓϥϯχϯά
ҰൠతʹɺγεςϜͷΩϟύγςΟͲΕ΄Ͳͷεϧʔϓοτʹ͑ΒΕΔ͜ͱɻ
w ඵؒϦΫΤετͰܭଌ
w ΞϓϦέʔγϣϯͷਐԽͰͲΜͲΜมΘΔ
w ϢʔβʔಈͷมԽͰͲΜͲΜมΘΔ
w ࣄۀͷͰͲΜͲΜΓͳ͘ͳΔ
࣮͚ͬ͜͏͍͠
Slide 27
Slide 27 text
ෛՙࢼݧ
w ࣄલʹγεςϜߏͷΩϟύγςΟݶ
քΛΔ།Ұͷखஈ
w ຊ൪ڥ͔ͦΕʹ͍ۙڥ
w ϢʔβʔߦಈΛѲͨ͠γφϦΦͮ͘
Γ
w "SUJMMFSZ
(BUMJOH
,ͳͲ044ଟ͋
Γ
https://techlife.cookpad.com/entry/
2020/10/22/180000
Slide 28
Slide 28 text
աڈ࣮͕ਅ࣮
w ຊ൪Ͱ͔͠ຊͷ͜ͱ͕Θ͔Βͳ͍
w ϨΠςϯγʔɺεϧʔϓοτͷաڈ࣮ΛݟΔ͜ͱෆՄܽ