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
ソーシャルゲームでDB水平分散 #mdb_casual
Search
gussan
November 10, 2014
Programming
16
6.2k
ソーシャルゲームでDB水平分散 #mdb_casual
2014/11/10に開催されたRails複数DB Casual Talksでの発表資料になります。
gussan
November 10, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
120
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.1k
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
CSC509 Lecture 09
javiergs
PRO
0
140
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
170
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
290
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Designing the Hi-DPI Web
ddemaree
280
34k
Facilitating Awesome Meetings
lara
50
6.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Side Projects
sachag
452
42k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Transcript
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ا٦ءٍٕ٦يד %#宏䎂ⴓ侔 HVTTBO!%SFDPN$P -UE
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 荈䊹稱➜ HVTTBO %SFDPN$P -UE ٓ؎ـٓٔծىسٕؐؑ،
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE %SFDPN
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 鑧ֿׅה ٥3BJMTד宏䎂ⴓ侔 ٥㼪Ⰵ٥麊欽ך鑧 ٥תה
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 宏䎂ⴓ侔
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ךח
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㘋湫ⴓ侔
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㘋湫ⴓ侔 堣腉嫣ח%#؟٦غⴓֽ ٥剅ֹ鴥頾蚚ⴓ侔ְׇׁ ! "1 6TFS %#
&WFOU %#
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㘋湫ⴓ侔ךא 盖椚 ٥ذ٦ـٕ%# ٥NPEFM鷄⸇׃䟝㹀㢩ך%#
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㘋湫ⴓ侔ךא 頾蚚ך⨉ ٥٦يⰻ؎كٝز
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE %#؟٦غ頾蚚黝ⴖח؝ٝزٗ٦ٕ׃ծ أ؛٦ٕ׃זְ朐屣䩧灶׃ְ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 宏䎂ⴓ侔
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 0DUPQVT
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 0DUPQVT 0DUPQVTVTJOH VTFS EP 6TFSOE YYY FOE
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE דְְֽו
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ،فٔ؛٦ءّٝٗآحؙח䩛Ⰵזְ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE הؕآُ،ٕח宏䎂ⴓ侔׃ְ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE HFN⡲
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE BDUJWFSFDPSEUVSOUBCMF "3宏䎂ⴓ侔ח㼎䘔ׇׁHFN LFZךⰻ㺁ד醱侧%#חⴓֽג呓秛 ! ! %# %# %#
"QQ VTFS@JE VTFS@JE
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 湡垥 ،فٔ؛٦ءّٝ剅ֻ➂ח 宏䎂ⴓ侔䠐陎ׇׁזְ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 堣腉 ؙؒٔ荈⹛䮶ⴓֽ 䱰殢堣圓 ך➭
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 堣腉 ؙؒٔ荈⹛䮶ⴓֽ 䱰殢堣圓 ך➭
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ؙؒٔ荈⹛䮶ⴓֽ ٥ⴓⶴؗ٦TDPQFח鷄⸇ ̔42-ػ٦أ
̔%#鼅䫛 ̔醱侧%#ך穠卓و٦آ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 麩ְ class User < ActiveRecord::Base turntable :user_cluster, :id
end ! # on Octopus User.using(:xxx).where(id: 10) ! # on Turntable User.where(id: 10)
$PQZSJHIU%SFDPN$P -UE"MM3J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S NT <4IBSEVTFS@TIBSE@>$0..*5 USVF ର%#ͷΈ6QEBUF
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 堣腉 ؙؒٔ荈⹛䮶ⴓֽ 䱰殢堣圓 ך➭
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 䱰殢堣圓 䱰殢%#דװה؟٦غד*%ָ遼瑱 ٥ؔـآؙؑزך嫰鯰 ٥ؙٓأةךⱄ圓䧭儗 ؙٓأةⰋ⡤ה׃גِص٦ؙז䱰殢堣圓
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 䱰殢 CBSSBHFHFN ٥TOPXBLFMJLFז䱰殢 խ٥ְְ傻갫ծꬊ鸬竲 խ٥ぐXPSLFSָꬊず劍涸ח䱰殢〳腉
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 堣腉 ؙؒٔ荈⹛䮶ⴓֽ 䱰殢堣圓 ך➭
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ך➭ ٥Ⰻ%#חずׄNJHSBUJPO黝欽 ٥ؙٓأةⰋ⡤פך5SBOTBDUJPO
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE BDUJWFSFDPSEUVSOUBCMF ،فٔ؛٦ءّٝؒٝآص،ָ噰⸂䩛ַ ֽ׆ח幥宏䎂ⴓ侔㹋植
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㼪Ⰵ٥麊欽
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㼪Ⰵ 㼎韋麊欽⚥ך٦ي NPEFM侧
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ؟٦غ圓䧭 EC EC EC EC EC EC "1
EC EC EC EC
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ⴓ侔 ٥傀ח麊欽⚥ך،فٔ ٥%"6ծ竰竲桦ծ頾蚚朐屣ד✮庠
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㼎䘔؝٦س䊴ⴓ $MBTT -0$ "EE %FM NPEFMT
DPOUSPMMFS T
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ر٦ة獳遤⡲噟 傀㶷%#ךر٦ةⴓⶴׅ 鷄⸇ׅ؟٦غTMBWFה׃גאזּ ♶䗳銲זر٦ةꤐ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 㼪Ⰵ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 侧ؕ剢䖓
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 䠬䟝耀ְג չוֲד׃պ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 䠬䟝耀ְג 1.孑չֲ✳䏝ה װֻזְדׅיպ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE sĪ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE וך鴟ָאְ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 宏䎂ⴓ侔ךא 堣腉ⵖꣲ 1MVHJO&OHJOFך娤 ؒٝآص،פךワ濼
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 堣腉ⵖꣲ ! ٥⢪ִזְָؙ֮ؒٔ ٥QBHJOBUJPO ٥꧊鎘Ⳣ椚 ٥⦐ⴽ%#פ㉏ְさׇ穠卓و٦آ
٥堣腉荈⡤ꤐֿׅה 4&-&$5 '30.VTFST03%&3#:JE-*.*5
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 1MVHJO&OHJOFך娤 ٥%#禸ךQMVHJO㠨徦 ٥BSJNQPSU BDUT@BT@BSDIJWF ٥&OHJOF ٥UVSOUBCMF㼎䘔ꬊ㼎䘔
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ワ濼 宏䎂ⴓ侔ך罋䣁 ٥ٕ٦ٕך䗡䎿ծ5*14ךⰟ剣 %#鏣鎘 խ٥%#"❛ִٖؽُ٦
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 麊欽⚥ ٥宏䎂ⴓ侔ꟼ鸬ךꥺ㹱כ➙ךהֿ搀׃ ٥֮תח农럀ח׃ֺׅ䠬
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE תה
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE תה ٥3BJMTד宏䎂ⴓ侔$BTVBMח䪔ֲ倯岀 ٥麊欽ח鯹ׇךכ$BTVBMהכְַזְ
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE BDUJWFSFDPSEUVSOUBCMF SFMFBTF ! 3BJMT 㼎䘔 IUUQTHJUIVCDPNESFDPN BDUJWFSFDPSEUVSOUBCMF
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE ׀幠耮ָ֮הֲ׀ְׂת׃
$PQZSJHIU%SFDPN$P -UE"MM3JHIUT3FTFSWFE 株式会社ドリコム 会社概要 http://www.drecom.co.jp/ 社名: 設⽴立立: 証券コード:
本社: 電話番号: 社員数: 資本⾦金金: 事業内容: ! ! ! ! 株式会社ドリコム 2001年年11⽉月13⽇日 3793 (東証マザーズ) 〒153-‐‑‒0064 東京都⽬目⿊黒区下⽬目⿊黒1丁⽬目8-‐‑‒1 アルコタワー17F TEL:03-‐‑‒6682-‐‑‒5700 FAX:03-‐‑‒6682-‐‑‒5711 227名 (正社員・契約社員のみ)※2014年年3⽉月31⽇日現在 1,124百万円 ※2014年年3⽉月31⽇日現在 ソーシャルゲーム事業、ソーシャルラーニング事業、広告事業、メディア事業