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
一休のリアルタイム施策を支えるサーバレスログ基盤
Search
shimizukaz
July 22, 2020
Technology
0
1.3k
一休のリアルタイム施策を支えるサーバレスログ基盤
ZOZO×一休×PayPay AWS Nightでの登壇資料です
shimizukaz
July 22, 2020
Tweet
Share
Other Decks in Technology
See All in Technology
MasterMemory v3 最速確認会
yucchiy
0
200
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
1
4.8k
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
300
Fearsome File Formats
ange
0
340
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
120
2024年にチャレンジしたことを振り返るぞ
mitchan
0
160
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
340
最近のSfM手法まとめ - COLMAP / GLOMAPを中心に -
kwchrk
7
1.4k
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
210
AWS re:Invent 2024 Recap in ZOZO - Serverless で好きなものをしゃべってみた
chongmyungpark
0
290
[トレノケ雲の会 mod.13] 3回目のre:Inventで気づいたこと -CloudOperationsを添えて-
shintaro_fukatsu
0
110
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
20
5.9k
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Rails Girls Zürich Keynote
gr2m
94
13k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
A Philosophy of Restraint
colly
203
16k
Done Done
chrislema
182
16k
Documentation Writing (for coders)
carmenintech
67
4.5k
Faster Mobile Websites
deanohume
305
30k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Transcript
ҰٳͷϦΞϧλΠϜࢪࡦΛࢧ͑Δ αʔόϨεϩάج൫ ʹແԿ༗ גࣜձࣾҰٳ σʔλαΠΤϯε෦ ΞϓϦέʔγϣϯΤϯδχΞ ਗ਼ਫҰً
ΞδΣϯμ • σʔλαΠΤϯε෦ͷ͓ • ҰٳͷCRMࢪࡦͱʁ • ϦΞϧλΠϜϩάऩूͷΞʔΩςΫνϟ • CRMͱϦΞϧλΠϜσʔλͷ࿈ܞ
• Ұٳʹ20195݄ೖࣾ • CRMϨίϝϯσʔγϣϯج൫ͷ։ൃΛ͍ͯ͠·͢ɻ • લ৬ҊΞϓϦͷձࣾͰΞϓϦέʔγϣϯΤϯδχΞΛ͠ ͍ͯ·ͨ͠ɻ • ͖ͳAWSαʔϏε •
LambdaɺAthena গ͚ͩࣗ͠ݾհ
Ұٳ.com ্࣭ͳϗςϧɾཱྀؗͷ༧αʔϏε Ұٳ.comϨετϥϯ ্࣭ͳϨετϥϯͷ༧αʔϏε
• σʔλΤϯδχΞϦϯά • ੳج൫ɺData Warehouseͷอकɾӡ༻ • ΞϓϦέʔγϣϯ։ൃ • ϚʔέςΟϯάɺϨίϝϯσʔγϣϯج൫ͷ։ൃ •
σʔλαΠΤϯε • ػցֶशɾࣗવݴޠॲཧ • ϢʔβʔαʔϏεΛվળ͢Δࢪࡦ࡞Γ σʔλαΠΤϯε෦ͷ͓ σʔλαΠΤϯε ΞϓϦέʔγϣϯ σʔλΤϯδχΞϦϯά
ҰٳͷCRMͱʁ • Customer Relationship Management ϢʔβʔͱྑͳؔΛங͘ࣄ • ʢߪങ༧ଌʣCVR্ͷͨΊͷϦΞϧλΠϜσʔλΛͬͨϦϚʔέςΟϯά •
ʢࣗવݴޠʣޱίϛΛੳɺςʔϚʹԠͯ͡࠷దͳจΛநग़ • ʢը૾ղੳʣݕࡧςʔϚʹ߹ͬͨը૾Λબผ͢Δ
ϦΞϧλΠϜϩάऩूͷΞʔΩςΫνϟ
•༧͠Α͏ͱ͚ͨ͠ͲΊ·ͨ͠ɺͱ͍͏ߦಈΛଊ͍͑ͨ •→ϖʔδભҠΛॠ࣌ʹัଊ͍ͨ͠ •αΠτճ༡࣌ʹϢʔβʔʹΑΓྑ͍ମݧΛͯ͠Β͏ •→ ߦಈϩάΛΠϯϓοτͱ͠ɺదͳΞτϓοτΛϢʔβఏڙ͢Δ ϦΞϧλΠϜϩάऩूͷΞʔΩςΫνϟ ࣮ݱ͍ͨ͜͠ͱ
•༧͠Α͏ͱ͚ͨ͠ͲΊ·ͨ͠ɺͱ͍͏ߦಈΛଊ͍͑ͨ •→ϖʔδભҠΛॠ࣌ʹัଊ͍ͨ͠ •αΠτճ༡࣌ʹϢʔβʔʹΑΓྑ͍ମݧΛͯ͠Β͏ •→ ߦಈϩάΛΠϯϓοτͱ͠ɺదͳΞτϓοτΛϢʔβఏڙ͢Δ ϦΞϧλΠϜϩάऩूͷΞʔΩςΫνϟ ࣮ݱ͍ͨ͜͠ͱ
Eks Kinesis-data-streams Lambda RDS ϦΞϧλΠϜϩάऩूͷΞʔΩςΫνϟ insert into {table name} API
ड͚औͬͯ ཷΊͯ ड͚औͬͯ ཷΊΔ
Eks Kinesis-data-streams Lambda RDS ϦΞϧλΠϜϩάऩूͷΞʔΩςΫνϟ insert into {table name} API
ड͚औͬͯ ཷΊͯ ड͚औͬͯ ཷΊΔ ͋·ΓΑ͘ͳ͍
Lambda+RDS ΞϯνύλʔϯͳΜͰ͢ •1event = 1ͭͷLambda͕ىಈ •RDSͷಉ࣌ଓͳͲͳͲ ͳͷͰ...
Eks Kinesis-data-streams Lambda RDS ϦΞϧλΠϜϩάऩूͷΞʔΩςΫνϟ insert into {table name} API
ड͚औͬͯ ཷΊͯ ड͚औͬͯ ཷΊΔ ͕͜͜؊
Kinesis-Data-Streams Shard 1 Shard 2 Shard 3 Shard 4 Log
͜ΜͳΛ͍ͯ͠·͢ ShardΛ੍ޚ͢ΔࣄͰLambdaͷฒྻىಈΛௐઅͰ͖Δ KinesisϩάόοϑΝϦϯάͷػೳ͢Δ LambdaىಈࣦഊϦτϥΠՄೳ
ϦΞϧλΠϜσʔλΛͬͯࢪࡦܨ͛Δ
•༧͠Α͏ͱ͚ͨ͠ͲΊ·ͨ͠ɺͱ͍͏ߦಈΛଊ͍͑ͨ •→ϖʔδભҠΛॠ࣌ʹัଊ͍ͨ͠ •αΠτճ༡࣌ʹϢʔβʔʹΑΓྑ͍ମݧΛͯ͠Β͏ •→ ߦಈϩάΛΠϯϓοτͱ͠ɺదͳΞτϓοτΛϢʔβఏڙ͢Δ ϦΞϧλΠϜσʔλΛͬͯࢪࡦܨ͛Δ ࣮ݱ͍ͨ͜͠ͱ
• ϨετϥϯΛ༧ͯ͘͠Εͦ͏ͳਓΛૉ ૣ͘Ωϟον • ը໘্ʹΫʔϙϯΛදࣔ ϢʔβͷΞτϓοτͷҰྫ
ϦΞϧλΠϜσʔλΛͬͯࢪࡦܨ͛Δ Eks Kinesis-data-streams Lambda RDS insert into {table name} API
Ӿཡใʹج͖ͮ༧ͯ͘͠Εͦ͏͔༧ଌ͢Δ
•༧͠Α͏ͱ͚ͨ͠ͲΊ·ͨ͠ɺͱ͍͏ߦಈΛଊ͍͑ͨ •→ϖʔδભҠΛॠ࣌ʹัଊ͍ͨ͠ •αΠτճ༡࣌ʹϢʔβʔʹΑΓྑ͍ମݧΛͯ͠Β͏ •→ ߦಈϩάΛΠϯϓοτͱ͠ɺదͳΞτϓοτΛϢʔβఏڙ͢Δ ϦΞϧλΠϜσʔλΛͬͯࢪࡦܨ͛Δ ࣮ݱͰ͖ͨ͜ͱ
•ϦΞϧλΠϜʹϨίϝϯυΛڬΉ •αΠτΛͨ͠ޙʹྑ࣭ͳใΠϯηϯςΟϒΛͬͨϑΥϩʔ͢Δ ͜Ε͔ΒΓ͍ͨ͜ͱ ࣮ݱͰ͖ͦ͏ͳ͜ͱ
࠷ޙʹ •ҰٳͰ֤෦ͰΤϯδχΞΛืूதͰ͢ʂ •σʔλαΠΤϯε෦ •॓ധࣄۀຊ෦ •Ϩετϥϯࣄۀຊ෦ •γεςϜຊ෦ •σδλϧϚʔέςΟϯά
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠
None