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
DataHubを活用した集計基盤の構築過程と工夫したこと
Search
Kami Makoto
October 04, 2022
Programming
0
750
DataHubを活用した集計基盤の構築過程と工夫したこと
Kami Makoto
October 04, 2022
Tweet
Share
More Decks by Kami Makoto
See All by Kami Makoto
AtCoderを1ヶ月全力でやって『体感』したこと
kaminotsukai
0
240
SQLアンチパターンから学ぶ『中間テーブル』を使用するメリット
kaminotsukai
2
4.1k
Other Decks in Programming
See All in Programming
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
C++でシェーダを書く
fadis
6
4.1k
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
480
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
300
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
120
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Contemporary Test Cases
maaretp
0
140
Remix on Hono on Cloudflare Workers
yusukebe
1
300
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
300
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
960
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
430
The Pragmatic Product Professional
lauravandoore
31
6.3k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
The Invisible Side of Design
smashingmag
298
50k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
A designer walks into a library…
pauljervisheath
204
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Transcript
Data HubΛ׆༻ͨ͠ ूܭج൫ͷߏஙաఔͱͨ͜͠ͱ SESSION 03
ࣗݾհ Ճຯਅʢ,".*.",050ʣ ܦྺ ɾ͔Β8FCΤϯδχΞͱͯ͠ΩϟϦΞΛελʔτɻɹ ɾ݄ʹαʔόʔαΠυΤϯδχΞͱͯ͠ϠϓϦೖࣾ ɾ%BUB)VC"1*ϓϩδΣΫτ ɾूܭج൫Λ༻͍ͨ"1*ͷ։ൃͳͲΛ୲
INDEX 01 02 03 Data Hub APIϓϩδΣΫτͱ࡞ͨ͠ूܭॲཧ ैདྷͷసૹॲཧͷ՝ ࠾ͨ͠ΞʔΩςΫνϟͱ՝ղܾ 04
·ͱΊ
%BUB)VC"1*ϓϩδΣΫτͱ ࡞ͨ͠ूܭॲཧ
:BQQMJ%BUB)VCͱ ΞϓϦͷߦಈσʔλɾଐੑσʔλΛʮϢʔβʔ୯ҐʯͰੳ͢Δ͜ͱ͕Ͱ͖Δػೳ
%BUB)VC"1*ϓϩδΣΫτ͕ߦͳ͍ͬͯͨ͜ͱ :BQQMJ%BUB)VCʹੵ͞ΕͨϢʔβʔΠϕϯτͷఏڙ ɾ࣮ݱ͍ͨ͜͠ͱɿϢʔβʔʹରͯ͠࠷దԽ͞ΕͨΞΫγϣϯΛ࣮ࢪ ɾϢʔβʔͷΠϕϯτσʔλΛτϦΨʔʹҙͷ௨Λߦ͏͜ͱ͕Ͱ͖ΔʢτϦΨʔ৴ʣ ɾʮΫʔϙϯ"Λར༻͔ͯ͠Β࣌ؒޙʹΫʔϙϯ#Λ͢Δʯ ɾఏڙઌɿ:BQQMJ$3.ʢকདྷతʹ֎෦ެ։Λݟӽ͍ͯ͠Δʣ ɾ͜ͷϓϩδΣΫτͰαʔόʔαΠυͷΈͰ݁ʢൺֱతಈ͖͍͢ঢ়ଶʣ ɾϑΝʔετύʔςΟͰ͋Δ:BQQMJ$3.Λલఏʹ͢Δ͜ͱͰҙࢥܾఆΛߦ͍͘͢ߴʹ։ൃͰ͖Δ ɾσʔλɿΫʔϙϯར༻σʔλʢͲͷϢʔβʔ͕ͲͷΫʔϙϯΛ͍ͭར༻ͨ͠ͷ͔ʣ ɾকདྷతʹ૿͑ΔݟࠐΈ
৽نͷूܭج൫ͷΞʔΩςΫνϟ "NB[PO424 "NB[PO&$4 #JH2VFSZ "NB[PO4 "NB[PO&$4 ʢ̍ʣ ʢ̎ʣ ʢʣ ʢ̐ʣ
"NB[PO"VSPSB ରΞϓϦʢ:BQQMJ$3.ɺ:BQQMJ%BUB)VCܖதʣͷΫʔϙϯར༻σʔλΛΞϓϦ͝ͱʹ4όέοτʹు͖ग़͢ $3.Λར༻͍ͯ͠ΔΞϓϦͷϝοηʔδΛૹ৴͢ ΔʢΞϓϦࣝผใɺूܭظؒɺ࣮ߦִؒʣ ޙଓͷूܭॲཧͰࣦഊͯ͠ ϦτϥΠ͕Մೳ ֎෦͚σʔλͷूܭ ΞοϓϩʔυΛ࣮ࢪ
ͨͩɺ։ൃ͢Δʹ͋ͨΓ ैདྷͷूܭج൫ʹ՝͕͋ͬͨ
ैདྷͷूܭॲཧͷ՝
ैདྷͷूܭج൫ "NB[PO&$4 "NB[PO"VSPSB $MPVE3VO #JH2VFSZ $MPVE4DIFEVMFS ʢ̍ʣ ʢ̎ʣ ʢ̏ʣ ूܭॲཧ#
ूܭॲཧ" σʔλసૹͷ࣮ߦΫΤϦΠϝʔδ σʔλసૹͷεΫϦϓτΠϝʔδʢྫʣ
ɾసૹॲཧͱूܭॲཧ͕ີ݁߹ʹͳ͓ͬͯΓɺमਖ਼࣌ͷӨڹൣғ͕େ͖͍ ɾूܭॲཧʹมߋ͕ೖΔͱɺసૹॲཧʹखΛՃ͑Δඞཁ͕͋Δ ɾোϙΠϯτͷಛఆʹ͕͔͔࣌ؒΔ ɾసૹॲཧͰো͕ى͖ͨࡍͷ෮چ͕େม ɾసૹॲཧͰো͕ൃੜ͢ΔͱखಈϦτϥΠΛ࣮ࢪ͢Δඞཁ͕͋Δ ɾूܭॲཧ͕૿͍͑ͯ͘ͱɺ෮چ࡞ۀͰ͔ͳΓͷ࣌ؒΛཁ͢Δ ैདྷͷूܭॲཧͷ՝
োϙΠϯτͷಛఆͱ෮چ͕༰қͰ͋Δ͜ͱ ूܭج൫ͷ͋Δ͖࢟
࠾ͨ͠ΞʔΩςΫνϟ
࠾ͨ͠ΞʔΩςΫνϟ "NB[PO424 "NB[PO&$4 "NB[PO&$4 "NB[PO&$4 "NB[PO"VSPSB $MPVE3VO #JH2VFSZ #JH2VFSZ "NB[PO4
*OQVU 0VUQVU ʜ σΟεύονϟʔͷΑ͏ͳͷΛט·ͤͨ͜ͱͰɺసૹॲཧͱूܭॲཧΛૄ݁߹ʹͨ͠
σΟεύονϟʔͷΈ UZQF SBOHF@NJOVUFT ूܭॲཧ" ूܭॲཧ# EBUBIVC@EJTQBUDI@UBTL@UZQF SPVOEFE@UJNF DSFBUFE@BU
ूܭॲཧ" ूܭॲཧ" ूܭॲཧ" ूܭॲཧ# UZQF DSFBUFE@BU సૹॲཧ" EBUBIVC@EJTQBUDIFS@UBTLT EBUBIVC@EJTQBUDIFS@IJTUPSJFT #JH2VFSZͷసૹϩάʢ#JH2VFSZཧʣ ҰఆִؒͰूܭॲཧͷσΟεύονΛߦ͏ ͓͖ʹసૹॲཧͷྃ֬ೝͱूܭॲཧͷϦΫΤετΛߦ͏
σΟεύονϟʔͷΈ సૹ ूܭ"` సૹ ूܭ" ूܭ"`Λ࣮ߦ͢Δʹ
͜ͷ͕͍ͭྃͯ͠Δඞཁ͕͋Δ ྫʣ͝ͱʹ࣮ߦ͞ΕΔूܭλεΫʢूܭ"ʣ શମΠϝʔδ ʹൣғͷసૹॲཧ͕։࢝ సૹॲཧ͕ྃޙʹͷσʔλͷूܭॲཧΛ։࢝ ্هΛ܁Γฦ͢
σΟεύονϟʔͷΈ ྫʣ ɾ͝ͱʹ࣮ߦ͞ΕΔूܭλεΫʢूܭॲཧ"ʣ ɾݱࡏ࣌ࠁ݄࣌ ɾ࠷ऴ࣮ߦ࣌ࠁ݄࣌ EBUBIVC@EJTQBUDI@UBTL@UZQF SPVOEFE@UJNF DSFBUFE@BU ूܭॲཧ"
ूܭॲཧ" ूܭॲཧ" UZQF DSFBUFE@BU సૹॲཧ" EBUBIVC@EJTQBUDIFS@IJTUPSJFT #JH2VFSZͷసૹϩάʢ#JH2VFSZཧʣ
σΟεύονϟʔͷΈ ྫʣ ɾ͝ͱʹ࣮ߦ͞ΕΔूܭλεΫʢूܭॲཧ"ʣ ɾݱࡏ࣌ࠁ݄࣌ ɾ࠷ऴ࣮ߦ࣌ࠁ݄࣌ ରͷूܭॲཧ͕࣮ߦՄೳ͔Ͳ͏͔ఆ
σΟεύονϟʔͷΈ ूܭରൣғͷసૹॲཧ͕͍ྃͯ͠Δ͔ఆ సૹॲཧͷ࠷৽࣮ߦ࣌ࠁΛऔಘʢྫɿʣ ूܭରൣғʢʣͷసૹॲཧ͕͍ྃͯ͠Δ͔֬ೝ Ҏ߱ʹసૹཤྺ͕͋Εσʔλ͕͋ΔͱΈͳ͢ ྫʣ ɾ͝ͱʹ࣮ߦ͞ΕΔूܭλεΫʢूܭॲཧ"ʣ
ɾݱࡏ࣌ࠁ݄࣌ ɾ࠷ऴ࣮ߦ࣌ࠁ݄࣌ సૹ ूܭ"` సૹ ूܭ"
ີ݁߹ ूܭॲཧͷมߋ࣌ʹసૹॲཧΛมߋ͢Δඞཁ͕ͳ͘ͳͬͨ
෮چେม ʜ సૹ ूܭ" ྫɿʹ࣮ߦ͞ΕΔసૹॲཧʢͷσʔλʣͰোൃੜ͠ɺʹ෮چͨ͠߹ ͜Ε·Ͱ
సૹॲཧ͕ྃ͢Δ·Ͱػ ूܭॲཧΛखಈͰ࣮ߦ͢Δ ݱࡏ ִؒͷूܭΛసૹ͕͍ྃͯ͠Δ࣌ؒʢʣ·Ͱ͓͖ʹ࣮ߦ ෮چ͞ΕΔ·Ͱूܭॲཧ࣮ߦ͞Εͳ͍ ʢసૹྃޙʹʣͷσʔλͷूܭ࣮ߦఆ ·Ͱͷσʔλ͕సૹ͞Ε͍ͯΔͨΊूܭ࣮ߦ సૹ ूܭ" ूܭ" ूܭ" ूܭ" సૹॲཧͰোൃੜ
·ͱΊ
·ͱΊ ɾ֎෦͚Ϋʔϙϯར༻σʔλͷूܭॲཧΛ࡞ͬͨ ɾσʔλूܭج൫Λ৽ͯ͠ӡ༻อकίετΛݮͨ͠ ɾٕज़ࢿ࢈ͷ༗ޮ׆༻ʹΑΓɺεϐʔσΟʔʹ։ൃΛߦ͏͜ͱ͕Ͱ͖ͨ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠