Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
レジレス/キャッシュレス/ウォークスルーを実現する Developers. IO Cafe の...
Search
Satoshi7
March 21, 2019
1
3.5k
レジレス/キャッシュレス/ウォークスルーを実現する Developers. IO Cafe の決済のウラ側
Satoshi7
March 21, 2019
Tweet
Share
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
The World Runs on Bad Software
bkeepers
PRO
67
11k
How to Think Like a Performance Engineer
csswizardry
22
1.5k
The Cost Of JavaScript in 2023
addyosmani
48
7.6k
KATA
mclloyd
29
14k
Fireside Chat
paigeccino
37
3.3k
Practical Orchestrator
shlominoach
187
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Site-Speed That Sticks
csswizardry
4
450
Testing 201, or: Great Expectations
jmmastey
42
7.4k
Transcript
ϨδϨεΩϟογϡϨεΥʔΫεϧʔΛ࣮ݱ͢Δ %FWFMPQFST*0$BGF ͷܾࡁͷϥଆ ݄!େࡕ
ࣗݾհ • ݄Ϋϥεϝιουઃཱ • ओͳۀར͖ͱँࡑ • ொͷͬΆ͍ͱݴΘΕΔࣇͷ •
ੈ ԣా૱ʢϤίλατγʣ දऔక
!3 ͬͯΈͳ͖Ό Θ͔ΒΜ ※ΫϥεϝιουͬͯΈͨܥͷจԽΛࢦ͍ͯ͠·͢ʢࣾஊʣ
%FWFMPQFST*0$"'& ݄ ళฮΛΦʔϓϯ ৽͍͠ސ٬ମݧΛٻΊͯ
εέδϡʔϧئ 2018/07/20 2018/05 2018/06 AmazonGoʹײಈ ϝϯόʔΞαΠϯ ల͍ࣔͨ͠ʂ
ཁ݅ఆٛ෩ͷϙϯνֆ
ळ݄ిؾͰେྔʹߪೖ
ΫϨδοτΧʔυܾࡁػೳΛ͚ͯΈͨ ΞϓϦʹStripeΈࠐΈ
!9 Կ࡞Γ͢….
ͩΜͩΜຊ֨తʹ
!11 ͦͯ̏͠िؒޙ….
খചͷษڧձͰͷ͓൸࿐ɺཌिʹܦ.+ܝࡌ
݄ ΑΓྑ͍ମݧͷͨΊʹ γʔζϯ̎࢝ಈ
εέδϡʔϧئ 2018/10 2018/08 2018/09 શһղࢄʂ ৽ϝϯόʔΞαΠϯ ల͍ࣔͨ͠ʂ
݄ ΑΓྑ͍ମݧͷͨΊʹ γʔζϯ̏࢝ಈ
εέδϡʔϧئ 2018/12 2018/10 2018/11 શһղࢄʂ ৽ϝϯόʔΞαΠϯ ࣮ళฮͰࢼ͍ͨ͠ʂ
"NB[POͷจԽΛϋοΫͤΑ ص্ͰऴΘΒͤͳ͍ධ͚ͩ͠ͳ͍ ޭΛอূ͠ͳ͍େʹઓ͢Δ ଟͷ࣮ݧͱࣦഊ͔Βଟ͘ΛֶͿ ࣦഊͷίετΛ࠷খԽ͢Δ ར༻ऀʹͬͯΒ͍ϑΟʔυόοΫΛө ֶशࡁΈϞσϧͱ༏Εͨιϑτ͕Δ ্هΛߴʹ܁Γฦ͢
!18 ళฮΛआΓͯΈͨ
ళฮΛ࣋ͬͯΑ͔ͬͨ͜ͱ ɾސ٬ͷੜͷΛຖฉ͚Δ ɾελοϑɺ͓٬༷ɺΤϯδχΞ͕ ɹಉ͡ॴͰମݧΛڞ༗ͯ͠ɺ ɹϑΟʔυόοΫ͕ಘΒΕΔ ɾࣄۀձࣾͷํʑͱಉ͡ઢͰͷձ
13υϧ/ళ
Ϋϥυ ωΠςΟϒ
!24 ܾࡁͲ͏ͳ͍ͬͯΔʁ
4USJQFμογϡϘʔυʢ࣮ࡍͷը໘ʣ
4USJQF͞Μʹ͓ੈʹͳ͍ͬͯ·͢ ݄ ɾ7*4"ɺ.BTUFSɺ".&9 ݄ ɾ+$#ɺ%JOFSTɺ%JTDPWFS ݄ ɾ"QQMF1BZɺ(PPHMF1BZ ݄
ɾBV8"--&5ɺϝϧϖΠɺLZBTI ࣍ϦϦʔε ɾ8F$IBU1BZɺ"MJQBZ
!27 ྑ͍ސ٬ମݧͱ ళฮΦϖϨʔγϣϯ
ݱ͕ۚ͑ͳ͍ ։ళޙ͠Β͘ͷؒɺׂ̓ͷ͓٬༷͕ؼͯ͠·͠ ͨɻʮݱۚ͑ͳ͍ͳΜͯ಄͓͔͍͠Μ͡Όͳ͍ ͷʂʁʯͱഃΔํډͯళฮελοϑʹ৺ཧతෛ୲Λ ֻ͚ͯਃ͠༁ͳ͍ҰํͰɺʮݱ͕ۚඞཁͳ͍ͬͯ࠷ߴ Ͱ͢Ͷʂʂʯͱશελοϑ͔Βͷশࢍͷཛྷɻ ։ళޙϲ݄ܦͪɺࣄલʹΞϓϦΛೖΕͯདྷళ͞ΕΔ͓ ٬༷ͷׂ߹͕૿͑ଓ͚͍ͯΔɻ͓٬༷׳Ε͖ͯͨɻ
͓٬༷׳ΕΔͱΕͳ͍ ࠷ۙϦϐʔλʔ͕૿͑ͨɻΧϑΣͷݍN͙Β ͍ɻ܁Γฦ͠͝ར༻͘͜ͱ͕େࣄɻϞόΠϧΦʔμʔ ʹ׳ΕΔͱྻʹฒͿͷ͕ۤ௧ʹͳΓɺϨδͰݱۚΛग़͢ ͷ͕ஏ͔ͣ͘͠ͳΓ࢝ΊΔɻࠓϨδ͕ͭΒ͍ɻ ՈͷྫʣऄޱɺτΠϨɺ৯ثચ͍ɺચ୕ػ ަ௨ͷྫʣӺɺόεɺ৽װઢɺλΫγʔ
ϞόΠϧΦʔμʔ ΞϓϦΛΠϯετʔϧ͢Δ͜ͱͰɺϦϞʔτ͔ΒจʹରԠ ͍ͯ͠Δɻจ࣌ʹܾࡁΛ֬ఆʢΩϟϓνϟʣɻ จ͕ೖΓ࣍ୈɺυϦϯΫΛ༻ҙ͢ΔɻऔΓʹདྷͳ͍͓٬༷ ɺళͷؾͰดళޙʹฦۚʢϦϑΝϯυʣɻ ϓϦϖΠυΧʔυͷߴ͕Γͳ͍ͱจࣗମ͕Ͱ͖ͳ͍ɻ ༧จػೳΛ࡞ͬͨΒΦʔιϦޙʹΩϟϓνϟ͔ͳʁ ಗ໊ͰϞόΠϧΦʔμʔ࣮ݱͰ͖Δͷ͔ʁ
ΥʔΫεϧʔ 23ίʔυΛͬͯΥʔΫεϧʔ։࢝ɻΤϦΞΛग़Δͱࣗಈతʹ ܾࡁ༧ʢΦʔιϦʣɻҙਤ͠ͳ͍ߪೖͳͲ͕͋ͬͨ߹ʹɺ ͓٬༷͕ࣗͰฦۚʢϦϑΝϯυʣɻ࣌ؒޙʹ֬ఆॲཧʢΩϟϓ νϟʣɻ ຊೖళ࣌ʹΦʔιϦ͍͕ͨ͠ɺ࠷ۙͷΫϨΧΦʔιϦ࣌ʹ ௨͕ඈͿͨΊɺମݧͱͯ͠ؾ࣋ͪѱ͍ɻࠓޙͲ͏͢Δ͔ཁݕ౼ɻ ΤϦΞग़͙ͯ͢Ωϟϓνϟ͢ΔͱϦϑΝϯυ࣌ʹखྉֻ͕͔Δɻ
͓٬༷͕ΧδϡΞϧʹϦϑΝϯυͰ͖ΔΑ͏ͳֻ͚ɻ ಗ໊ͰΥʔΫεϧʔ͋ΓಘΔͷ͔ɻ४ಗ໊ͷઢҾ͖ʁ
ిࢠϚωʔ ަ௨ܥྲྀ௨ܥͷిࢠϚωʔ͕ຊࠃͰҰఆϨϕϧͷγΣΞ͕ ͋Δɻ͔͠͠ɺඇର໘ʢϨδແ͠ʣͰඇಉظʢϦϞʔτʣͷܾࡁ ʹରԠ͍ͯ͠ͳ͍ɻ ৽ڵྗͷ23ܥ1BZͰඇಉظͷܾࡁʹରԠͯ͠ͳ͍͜ͱ͕ ଟ͍ɻʢݱࡏย͔ͬΒௐࠪதʣ ిࢠϚωʔର໘͕ඞਢɻʢϐοͱΔʣ ඇಉظΛ࣮ݱ͍ͨ͠ɻʢϙετϖΠʣ
৴༻ͱԿ͔ߟ͑Δ͜ͱ͕ଟ͘ͳͬͨɻɻɻɻX
؍ޫ٬ͩΒ͚ͷ֗ 8F$IBU1BZͱ"MJQBZʹରԠ͠·ͨ͠ʢͨͿΜʣʂ ͔͠͠ɺதࠃਓ*%͕ແ͍ͱςετͰ͖ͳ͍͆͆͆ தࠃਓ*%Λ͓࣋ͪͷํࢲ͕ൃߦ͢Δ23ΛಡΜͰΈͯ ͍ͩ͆͘͞ʢւ֎ͰதࠃਓͰ͋Δূ໌͕ඞཁͦ͏ʣ ͜Ε͕͏·͘ߦ͚ʹళฮΦʔϓϯͷػӡ ۙఏڙ༧ఆ
4USJQFͷDVSMָ͗͢Δ DVSMIUUQTBQJTUSJQFDPNWTPVSDFTa EUZQFBMJQBZVLFZEDVSSFODZKQZa EBNPVOUESFEJSFDU<SFUVSO@VSM>a IUUQTIPHF "MJQBZͷ63-ग़ྗ DVSMIUUQTBQJTUSJQFDPNWTPVSDFTa EUZQFXFDIBUVLFZEDVSSFODZKQZa
EBNPVOU 8F$IBU1BZͷ63-ग़ྗ
ΞϓϦͪΐͬͱɻɻɻ ΞϓϦΛΠϯετʔϧ͢Δํ๏͕͔Βͳ͍ͱ͔ɺύε ϫʔυΛΕͨͱ͔Ͱɺ࠷ॳͷؔͰ࠳ં͢Δ͓٬༷ ຖҰఆ͍Βͬ͠ΌΔɻ ͜ΕΛղܾ͢ΔͨΊʹήετจ͕ඞཁͦ͏ɻ 4USJQF$IFDLPVUͰ؆୯ʹͰ͖·͢ɻ ۙఏڙ༧ఆ
ళฮͷ҆ఆऩೖΛࢦͯ͠ ച্͕ຖ͔Β࢝·ΔͷܦӦతʹվળ͍ͨ͠ɻͦ͏ ͩɺαϒεΫϦϓγϣϯܕʹͯ͠ຖ௨ͬͯ͘ΕΔ͓٬ ༷Λେࣄʹ͍ͨ͠ɻ 4USJQF#JMMJOHͰ؆୯ʹͰ͖·͢ɻ ۙఏڙ༧ఆ
ෆਖ਼ͳΫϨδοτΧʔυͱ͔ࠓޙ৺ͩͳ͊ ΫϨΧͷෆਖ਼ར༻ͬͯΑ͘χϡʔεʹग़Δ͚ͲɺͲ͏ͬ ͯ͛ྑ͍ͷ͔۩ମతʹ͔͍ͬͯͳ͍ɻ 8&#ΞϓϦͳΒ8"'*14*%4ೖΕΔ͚Ͳɺɺɺ 4USJQF3BEFSͰ؆୯ʹϒϩοΫͰ͖·͢ɻ ͓ࢼ͠ݕ౼தɻ
ࣾһʹΛ͓ئ͍͍ͨ͠ ٳܜதͷࣾһͷ෭ۀͱͯ͠Λґཔ͍ͨ͠ɻ 6CFS&BUTϞσϧΛͲ͏͠Α͏͔ɻ 4USJQF$POOFDUͰ؆୯ʹͰ͖·͢ɻ ࣾһΛઆಘதX
৴༻Ͱϐοͱೖళͯ͠ࢧ͍Ͱ͖ΔΑ͏ʹ͍ͨ͠ *$νοϓͰ༩৴Λ֬อͯ͠ೖళ͠ɺޙ͍Ͱ͖Δͱྑ͍ސ٬ ମݧʹͳΔͱࢥ͍ͬͯ·͢ɻ ͔͠͠ɺॳظࢿ͕ඞཁͳΤϦΞͰ৽ڵྗ23ͱͷઓ͍ਅͬ தɻ 4*.ͱ͔/'$ͱ͔ɺԿ͔͠ΒίϐʔͰ͖ͳ͍ΈࠐΈࡁΈ ϋʔυʢεϚϗͩΑͶʣΛ׆༻ͨ͠ݸਓͷ༩৴ʴΫϨδοτ Χʔυ͕ྑ͍ͷͰʁ
&.7ίϯλΫτϨεͳΒ͍͚Δʂʁ
·ͱΊ ਖ਼ղແ͍ɻ ܁Γฦ͠ݱͰ࣮ફ͠ɺ ϑΟʔυόοΫϧʔϓΛߴʹճ͢͜ͱͰɺ ͓٬༷׳Εͯɺڠྗऀ͕૿͑ɺϊϋ͕ੵ͞ΕΔɻ ͦͷ͏ͪੈͷத͕͍͍ͭͯ͘Δͣɻ
None