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
SHOWROOM 〜ライブコマース開発秘話〜
Search
yutomakino
October 26, 2018
0
2.9k
SHOWROOM 〜ライブコマース開発秘話〜
SHOWROOMにライブコマース機能SHOPROOMを追加した時のお話です。
yutomakino
October 26, 2018
Tweet
Share
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
7
150
A Philosophy of Restraint
colly
203
16k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
Producing Creativity
orderedlist
PRO
341
39k
Documentation Writing (for coders)
carmenintech
65
4.4k
Six Lessons from altMBA
skipperchong
26
3.5k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Transcript
dϥΠϒίϚʔε։ൃൿd 4)08300.5FDI4UVEJP ༟ే
ࣗݾհ ༟ే ·͖ͷΏ͏ͱ ུྺ ւಓͤͨͳொੜ·Εɻઐֶߍೖֶͱಉ࣌ʹࡳຈʹߦ͘ɻ ަ௨ࣄނʹΑ্ͬͯژɻ1)1ͰαʔϏε։ൃΛߦ͏ɻ 4)08300.גࣜձࣾೖࣾɻ4DBMBͰϥΠϒ&$ػೳͷόοΫΤϯυ ͱཧը໘Λ࣮͠ϦϦʔεɻݱࡏϥΠϒ&$ػೳؔͷ։ൃɺӡ༻ɺσΟϨ ΫγϣϯΛߦͳ͍ͬͯΔɻ
झຯ ञɺΧϥΦέɺөըɺ4UFBNήʔɺαόήʔ
None
4)08300.ͱ ୭ͰແྉͰϥΠϒ৴ˍࢹௌ͕ Ͱ͖ΔϥΠϒ৴αʔϏε
Ϊϑτ Ξόλʔ 4)08300.ͱ ϦΞϧλΠϜͷίϛϡχέʔγϣϯʹΑΓ ੜ·ΕΔྔͷߴ͍ͭͳ͕Γ͕ 4)08300.ͷັྗ
ഔମن ˔ྦྷܭμϯϩʔυສ%- ˔ձһొສʹٴͿنͰٸத ˔௨ࢉϧʔϜ Ҏ্
Ԡԉͱʁ ৴ऀɿເΛ͔ͳ͍͑ͨਓ ΞΠςϜΛΪϑςΟϯά ˓˓ͪΌΜ͕Ұ൪ՄѪ͍Α͒ ࠓ৴͓ർΕ༷ʔ ίϝϯτͷૹ৴ ເΛ͔ͳ͍͑ͨͱࢥ͏ਓ͕ͨͪɺԾ ۭؒͰϥΠϒ৴Λߦ͍Ϣʔβʔ ϑΝ ϯ
͔ΒͷίϝϯτΪϑςΟϯάΛड ͚औΔ͜ͱ͕Ͱ͖·͢ɻ ԠԉԽ͞Εͯ݅ୡͷఆ ϥϯΫ͚͕͞Ε·͢ɻ
4)01300.ͱ
4)01300.ͱ 4)08300.ͷ-*7&&$ػೳ ߪೖ࣌ʹߪೖΞχϝʔγϣϯ͕ྲྀΕΔ ৴தʹ͕ߪೖͰ͖Δ ΦʔΨφΠβʔ୯ҐͰͷొɺཧ͕Մೳ ཧػೳ4)08300.ͱಠཱͨ͠ߏ
4DBMB ಛ
iOS Android WEB SHOWROOM SHOPROOM API SHOPROOM Proxy fargate fargate
ECS ECS fargate ECS WEB SR ALB ALB ALB RDS S3 Cloud Front 4)01300.ͱ
4)01300.ͱ ߏ 4)01300."1*αʔόʔ 4DBMBɻোੑͱύϑΥʔϚϯεʹ༏Εͨ"LLB)551͕ΘΕ͍ͯΔɻ ૄ݁߹ʹͳ͓ͬͯΓɺ+40/Ͱ4)08300.ଆ͔Βͷࢀরɺ͍߹Θͤͷอଘɺϧʔ Ϝͱͷඥ͚ͷొ֬ೝFUD͕Մೳɻ ࣾͰͷ4DBMBϦϦʔε࣮ɻΩϟονΞοϓ͠ͳ͕Β࣮ͨ͠ͷͰۤ࿑ͨ͘͞Μ
༻ϥΠϒϥϦ "LLB)551 TMJDL DBUT DJSDF TIBQFMFTT
4)01300.ͱ ߏ 4)01300.Ϧςʔϥʔαʔόʔ 4DBMBɻ1MBZ'SBNFXPSLͰ࡞ΒΕ͍ͯΔɻ.7$ɻ 4)01300.ͷཧը໘ɻཧɺจཤྺͷཧΛߦ͏ɻ "1*ͱڞ௨ͷϞσϧΛ͍͔ͨͬͨͨΊɺ4DBMBʹͨ͠ɻ
*1੍ݶͳ͘ɺΫϥΠΞϯτূ໌ॻ͕ͳ͍ͱϩάΠϯը໘ʹ౸ୡͰ͖ͳ͍ ༻ϥΠϒϥϦ 1MBZ'SBNFXPSL TMJDL DBUT DJSDF TIBQFMFTT "ENJO-5&
4)01300.ͱ ߏ ΫϥΠΞϯτଆ ΞϓϦଆɺ1*1ʢϐΫνϟΠϯϐΫνϟʣͰΛબ͠ͳ͕ΒಈըΛӾཡՄೳ ߪೖ࣌ʹΞχϝʔγϣϯ͕ྲྀΕΔɻ-PUUJFΛ༻ɻ"&ͰΞχϝΛ࡞ˠ+40/ԽˠಡΈࠐΈ )5.-$44+BWB4DSJQU
#BDLCPOFKT 8&# 4XJGU 0CKFDUJWF$ $PDPTEY J04 ,PUMJO +BWB $PDPTEY "OESPJE
&$ػೳ։ൃൿ
&$ػೳ։ൃൿ ߏ 994)08300.ϞϊϦεԽ͍ͯͨ͠ &$ػೳ࡞Γ͍͚ͨͲɺ 4)08300.ຊମʹɺ͜ΕҎ্ίʔυςʔϒϧΛ ૿ͨ͘͠ͳ͍ͳ͋ɻɻ
&$ػೳ։ൃൿ ߏ ղܾํ๏ ͦ͏ͩʂ &$ػೳಠཱͨ͠αʔϏεͱͯ͠࡞Ζ͏ʂ ͜ΕͬͯϚΠΫϩαʔϏεͬΆ͍ʂ
&$ػೳ։ൃൿ ߏ 4DBMBΛ࠾༻ͨ͠ཧ༝ ᶃ࣌ࣾʹৄ͍͠ਓɺӡ༻ܦݧ͕͋Δਓ͕͍ͨ ᶄ+7.ͳͷͰɺ+BWBͷࢿ࢈͕ར༻Ͱ͖Δ ᶅෛՙʹڧͯ͘ɺߴύϑΥʔϚϯε ᶆܕ͕͔ͬ͠Γͨ͠ݴޠͰ։ൃΛͯ͠Έ͔ͨͬͨ
&$ػೳ։ൃൿ ߏ ෛՙʹڧͯ͘ߴύϑΥʔϚϯε 4)08300.͢ͰʹՔಇͯ͠ΔαʔϏεͳͷͰɺෛՙ͕ߴ͍ ˣ "LLB)551͕ෛՙʹڧ͍Β͍͠ ˣ ͳ͔ͥͨ͠"1*ͷύϑΥʔϚϯε͕શવग़ͳ͍ ݱ࣮ ෛՙʹڧ͍͕νϡʔχϯά͕ඞਢʂ
&$ػೳ։ൃൿ ߏ ॳظঢ়ଶͱɺνϡʔϯޙͷൺֱ ݱ࣮ ॳظঢ়ଶ DYMBSHF (&5JUFNT SFRTFD ݱࡏ DYMBSHF
(&5JUFNT SFRTFD ഒ
&$ػೳ։ൃൿ ߏ $16͕͍͖Εͳ͍ᶃ ݱ࣮ ݱ "QBDIF#FODIͰෛՙΛ͔͚ͨࡍʹɺ$16༻͕΄ͲͰ'BJM͕ͪΒ΄Βग़Δ ߟ͑ͨ͜ͱ "LLB)551εϨουηʔϑͰฒྻॲཧΛߦ͍ͬͯΔʢϓϩηεͷதʹෳεϨουʣ
ͱ͍͏͜ͱεϨουΛ૿ͤྑ͍ͷͰʁ ͬͨ͜ͱ "#ΛͬͯෛՙΛ͔͚ͯɺ$MPVE8BUDIͰ$16༻ͳͲࢹʢ࠷దղ·ͰԿճʣ BQQMJDBUJPODPOGͱ͍͏ઃఆϑΝΠϧΛมߋ QBSBMMFMJTNGBDUPSʢ$16ͷίΞͷº͜ͷͰεϨου͕ܾ·Δʣ QBSBMMFMJTNNJOʢεϨου࠷ʣ QBSBMMFMJTNNBYʢεϨου࠷େʣ
&$ػೳ։ൃൿ ߏ $16͕͍͖Εͳ͍ᶄ ݱ࣮ ݱ "LLBͷεϨου૿͕͑ͨɺ$16༻͕·Ͱ͔͠ग़ͳ͍ ߟ͑ͨ͜ͱ $MPVE8BUDIɺϩάΛΈͯݪҼ͕Θ͔Βͳ͔ͬͨɻ
+BWB7JTVBM7.Λ༻ɻ֤εϨου͕ͪΌΜͱࣄͯ͠Δ͔ΛՄࢹԽͯ͠ௐࠪͨ͠ɻ "TZOD&YFDVUPS͕٧·ͬͯΔ ʢ͕ࣄɺΦϨϯδ͕ٳΈʣ
&$ػೳ։ൃൿ ߏ $16͕͍͖Εͳ͍ᶅ ݱ࣮ "LLBͷεϨου͕૿͑ͯɺ4MJDLͷεϨου͕গͳ͔ͬͨɻ "TZOD&YFDVUPSJTԿʁ 4MJDLଆͷεϨου
%#ͷίωΫγϣϯϓʔϧΛ༻͢ΔࡍʹΘΕΔεϨου ͬͨ͜ͱ 4MJDLͱ"LLBͱͷଓपΓͷίʔυͷॻ͖ํ͕ؒҧ͍ͬͯͨͨΊमਖ਼ )JLBSJ$1Λޙ͔Βೖ͢Δίʔυˠ4MJDLඪ४ͷॻ͖ํʢݩʑ4MJDLͰ)JLBSJ$1બ Մೳͩͬͨʣ ઃఆ͕͏·͑ͯ͘ͳ͔ͬͨ OVN5ISFBETΛมߋʢ4MJDLͷεϨουʣ )JLBSJ$1ͷDPOOFDUJPOQPPMͷΛௐ
&$ػೳ։ൃൿ ߏ ଞʹͬͨ͜ͱ ݱ࣮ "84'BSHBUFͷಋೖ &$͔Β'BSHBUFʹมߋʂαʔόϨεʹ "VUP4DBMFىಈ·Ͱϥά͕͋ΔͨΊɺεύΠΫʹऑ͍ɻ
"84'BSHBUFΛಋೖͯ͠ɺ࣌ؒͰΦʔτεέʔϧՄೳʹʂʢ̏ʣ 4)08300.ຊମͰͷΩϟογϡ 4)08300.ଆͷ.FNDBDIFEͰ4)01300.ͷσʔλͷ+40/ΛΩϟογϡ ͍ͯ͠Δ ࠷ऴతʹݱࡏ ߹ܭࢹௌऀສਓ͘Β͍ͳΒ͑ΒΕΔΑ͏ʹ
ऴΘΓ 4)08300.Ͱɺ 4DBMBΛͬͯΈ͍ͨਓɺΤϯλϝʹڵຯ͕ ͋ΔΤϯδχΞΛืूͯ͠·͢ʂ ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠