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
PalcyでのAmazon Pinpoint採用事例/palcy with amazon pinpoint
Search
yuta
November 02, 2018
Technology
0
11k
PalcyでのAmazon Pinpoint採用事例/palcy with amazon pinpoint
yuta
November 02, 2018
Tweet
Share
Other Decks in Technology
See All in Technology
Four keys改善の取り組み事例紹介
sansantech
PRO
2
220
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
2
600
自動生成を活用した、運用保守コストを抑える Error/Alert/Runbook の一元集約管理 / Centralized management of Error/Alert/Runbook to minimize operational costs using automated code generation
biwashi
9
1.9k
アプリがつくるNOT A HOTELブランド
hokuts
0
440
Let's get started with Ruby && Rails Tips
sinsoku
0
190
ビジネスとエンジニアリングの接合点 そしてコード品質がそこに及ぼす影響 v1.1 / The Intersections of Business and Engineering, and The Impact of Code Quality There (v1.1)
mtx2s
11
2.4k
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
13
35k
0→1開発における技術選定において一番大切なこと
bicstone
1
310
NLP2024 参加報告LT ~RAGの生成評価と懇親戦略~ / nlp2024_attendee_presentation_LT_masuda
taro_masuda
1
190
Why we expect the Microservices
shkitayama
2
320
**強い**エンジニアのなり方 - フィードバックサイクルを勝ち取る / grow one day each day
soudai
58
17k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs (QCon London)
inesmontani
PRO
0
140
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
20
1.6k
How To Stay Up To Date on Web Technology
chriscoyier
781
250k
Adopting Sorbet at Scale
ufuk
67
8.6k
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
114
18k
Typedesign – Prime Four
hannesfritz
36
2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
The Language of Interfaces
destraynor
151
23k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.5k
Happy Clients
brianwarren
91
6.4k
How to train your dragon (web standard)
notwaldorf
71
5.1k
Transcript
Palcy & Pinpoint pixiv.inc ੴ ༐ଠ
࣍ • ࣗݾհ & Palcyհ • PalcyͰͷ௨ͱཁ݅ •
PinpointΛ࠾༻ͨ͠ཧ༝ • PinpointΛ࠾༻ͯ͠Α͔ͬͨ͜ͱ • ϦϦʔεޙʹมԽͨ͠ཁ݅ͱӡ༻ • ReproΛ࠾༻ͨ͠ཧ༝ • PinpointͱReproͷซ༻ͨ͠ཧ༝ͱ݁Ռ
ࣗݾհ ϐΫγϒגࣜձࣾ ίϛοΫࣄۀ෦ ΤϯδχΞ ੴ ༐ଠ 20174݄ʹϐΫγϒͷϓϨϛΞϜνʔϜ ࢀՃޙɺಉ9݄͔ΒPalcyͷ։ൃʹࢀ
ՃɻҎ߱ɺAWSϦιʔεͷཧαʔόʔ αΠυΞϓϦͷ։ൃΛߦ͍ͬͯ·͢ɻ
࡞ऀͱಡऀํͷΞΫγϣϯΛ௨ ͯ͡ϚϯΨจԽͦͷͷΛԠԉ͠ ͍ͯͨ͘ΊʹɺߨஊࣾͱϐΫγϒ ͕ڞಉ։ൃͨ͠ϚϯΨΞϓϦɻ Ϣʔβʔొ10ສਓΛ ͑ɺܝࡌίϛοΫ300࡞ۙ ͘ʹͳΓɺ໊࡞SNSͰͷ ΦϦδφϧϚϯΨܝࡌ͍ͯ͠·
͢ɻ
Τʔϧ ϚϯΨΛಡΜͩΓɺ࣮Λୡ͠ ͨͱ͖ʹΒ͑ΔϙΠϯτɻ ຖ݄ϥΠϯφοϓ͕มΘΓɺछྨ ΞΠϚεΫϚάΧοϓͳͲ͕ ૿͍͑ͯ·͢ɻ
࣮ ϚϯΨΛಡΜͩΓɺ͍͍Ͷͨ͠Γɺ ର࡞Λಡഁͨ͠ΓɺΞϓϦΛ ௨ͯ͠ϚϯΨΛԠԉͯ͘͠ΕΔͱɺ ΠϥετΞϓϦͰ͑ΔΞΠ ςϜ͕͑·͢ɻ
PalcyͰͷ௨ͷཁ݅ • ϚϯΨ͕ಡΊΔνέοτ͕12ճ͞ΕΔͷͰɺશϢʔβʔʹ௨͠ ͓ͯΒ͍ͤͨ͠ • ελʔτΞοϓΞϓϦͷͨΊɺ௨ੳʹଟ͘ͷίετΛׂ͚ͳ͍ͨ ΊɺͳΔ͍͑ͨ͘͘ •
௨Λଧͬͨ͜ͱʹΑΔεύΠΫΞΫηεͳΔ͘ආ͚͍ͨ • কདྷతʹϝʔϧΞυϨεೝূΛ༧ఆ͓ͯ͠ΓɺϝʔϧͰ௨͍ͨ͠ • কདྷతʹಛఆηάϝϯτʹରͯ͠ϢʔβʔຖʹϝοηʔδΛม͑ͯૹ৴ ͍ͨ͠
ैྔ՝੍ۚͰ͋Δ͜ͱ • نʹԠͯ͡ίετ͕มΘΔͨΊɺௐ͘͢͠ӡ༻͍͢͠ ϝʔϧૹΕΔ͜ͱ • CongnitoͰϝʔϧΞυϨεೝূ͢Δඞཁ͕͋Δ͕ɺͦΕΛߦ͑ϓο γϡ௨ͱಉ͡ID(EndpointID)ͰϝοηʔδΛૹΔ͜ͱ͕Ͱ͖Δ PinpointΛ࠾༻ͨ͠ཧ༝
Pinpointͷಋೖ͕༰қͩͬͨ • ΞϓϦͰɺSDKΛೖΕͯগ͠ίʔυΛॻ͚ྑ͍͚ͩ • AWSଆͰɺCognitoΛ༻ͭͭ͠CognitoʹPinpointͷݖݶΛ༩͢Δ ͚ͩ • PalcyͰೝূ෦ͰطʹCognitoΛ༻͍ͯ͠ΔͨΊɺ؆୯ʹಋೖͰ͖ ͨ
PinpointΛ࠾༻ͨ͠ཧ༝
ݸผ௨͕ൺֱతૹΓ͍͢ • αʔόʔ͔ΒରηάϝϯτΛ࡞Γɺૹ৴ϝοηʔδΛΤϯυϙΠϯτ ͷΧελϜଐੑʹొ͓ͯ͘͠ • ࡞ͨ͠ηάϝϯτͱΧελϜଐੑΛͬͨϝοηʔδΛͬͯΩϟϯ ϖʔϯΛ࡞͢Δ • 1݅ͣͭ௨ͰՄೳ͕ͩɺͦͷ߹։෧ͳͲ͕औΕͳ͍ •
ଞαʔϏεީิʹ͕͋ͬͨɺαʔόʔ͔Βใ͕ૹΕͳ͍ɺίετ͕ ݟ߹Θͳ͍Ͱ࠾༻ʹࢸΒͳ͔ͬͨ PinpointΛ࠾༻ͨ͠ཧ༝
Pinpoint࠾༻ͯ͠Α͔ͬͨ͜ͱ ϓογϡ௨ͷྲྀྔௐ͕ϛεͳ͘ӡ༻Ͱ͖ͨ͜ͱ • ଞαʔϏεͰΩϟϯϖʔϯຖʹྲྀྔௐ͕Մೳ͕ͩͦΕͩͱઃఆ͠ ΕΔ͜ͱ͕͋ΔɻPinpointProjectશମͰઃఆͰ͖ΔͷͰ҆৺ ϩʔΧϧλΠϜκʔϯͷ࣌ؒͰ௨Ͱ͖Δ • ϢʔβʔͷϥΠϑαΠΫϧΛ્͠ͳ͍࣌ؒଳʹૹΕΔͷ͕Α͍
• PalcyͰຊ࣌ؒ7࣌ͱ19࣌ʹૹ͍ͬͯΔ͕ɺւ֎ʹ͍Δ߹ͦͷ ࠃͷ7࣌ͱ19࣌ʹ௨͢Δ͜ͱ͕Մೳ
ϦϦʔεޙʹมԽͨ͠ཁ݅ͱӡ༻ • ৽࡞࡞ͷ௨ΤʔϧԠืͷબΛબऀʹͬͱڧௐͯ͠Βͤͨ ͍ɺߨஊࣾͷӡ༻ऀଆͰࣗ༝ʹੳɾ௨͍ͨ͠ཁ͕݅ग़͖ͯͨ • ϦονͳදࣔͰ௨Λ͍ͨ͠ɺىಈ࣌ʹରϢʔβʔʹ௨Λදࣔͨ͠ ͍ •
ϐΫγϒଆͰґཔΛड͚ͯੳɾӡ༻͢ΔҊ͋Δ͕ɺεϐʔυ͕ ͍ͩͿམͪͯ͠·͏ݒ೦͕͋Δ
ReproΛ࠾༻ͨ͠ཧ༝ • ߨஊࣾͷӡ༻ऀ͕Reproʹ͍׳Ε͍ͯͨͨΊɺڭҭίετ͕΄΅ͳ͘ ͳͬͨ • ΞϓϦϝοηʔδͰϦονͳ௨ΛૹΕΔ
PinpointͱReproͷซ༻ͨ͠ཧ༝ • ϝʔϧͰͷ௨ཁ͕݅ຬͨͤͳ͍ͷͰPinpointͱซ༻͍ͯ͠Δ • ༻Ͱ͖ΔΠϕϯτPinpointͷํ͕ଟ͍ͨΊɺͱΓ͋͑ͣஷΊ͓ͯ ͍ͯ͋ͱͰੳ͕͍͢͠
PinpointͱReproͷซ༻ͨ݁͠Ռ • ֹ݄අ༻Ͱൺֱͯ͠ΈΔͱɺPinpointͱReproͰेഒͷ͕ࠩ͋Δ • ελʔτΞοϓΞϓϦͷΑ͏ͳ߹ɺPinponintͷํ͕ैྔ՝ۚͷͨΊ ಋೖ͍͢͠ • σΟϨΫλʔӡ༻ऀͳͲͷΤϯδχΞҎ֎͕͏߹ɺཧը໘্
ʹϓϨϏϡʔ͕͋ͬͨΓɺ͢Ͱʹੳ͞Ε͍ͯΔํ͕ಋೖ͍͢͠ • ༷ʑͳσόΠεʹ௨ΛૹΔ߹ɺPinpointͷํ͕̍ͭͷγεςϜͰ ݁͢Δ