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
Micro-Blogging for The Enterprise (MongoDB)
Search
Amit Kumar
April 26, 2011
Technology
0
250
Micro-Blogging for The Enterprise (MongoDB)
Transition from relational structure to MongoDB
Amit Kumar
April 26, 2011
Tweet
Share
More Decks by Amit Kumar
See All by Amit Kumar
DevOps culture in a BANK
toamitkumar
0
120
Digital Transformation of an Enterprise - 2 speed IT & Agile
toamitkumar
0
380
RubyMotion - Building Interactive Data Visualization Charts
toamitkumar
2
4.2k
Using Ruby for Building iOS Apps
toamitkumar
3
2.8k
RubyMotion: Rubyizing iOS development
toamitkumar
2
3.6k
Your first RubyMotion Application
toamitkumar
2
95
Big Data Enterprisey Analytics and Ruby
toamitkumar
4
1.2k
Fibered Rails
toamitkumar
0
74
Other Decks in Technology
See All in Technology
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
160
なぜfreeeはハブ・アンド・スポーク型の データメッシュアーキテクチャにチャレンジするのか?
shinichiro_joya
2
560
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
200
データ基盤におけるIaCの重要性とその運用
mtpooh
4
590
Formal Development of Operating Systems in Rust
riru
1
420
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
55k
20250116_JAWS_Osaka
takuyay0ne
2
210
KMP with Crashlytics
sansantech
PRO
0
250
FODにおけるホーム画面編成のレコメンド
watarukudo
PRO
2
310
re:Invent 2024のふりかえり
beli68
0
120
駆け出しリーダーとしての第一歩〜開発チームとの新しい関わり方〜 / Beginning Journey as Team Leader
kaonavi
0
130
Git scrapingで始める継続的なデータ追跡 / Git Scraping
ohbarye
5
510
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Scaling GitHub
holman
459
140k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Music & Morning Musume
bryan
46
6.3k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
Statistics for Hackers
jakevdp
797
220k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
Transcript
MICRO-BLOGGING FOR THE ENTERPRISE Sunday, September 16, 12
Who Am I Sunday, September 16, 12
Amit Kumar Who Am I Sunday, September 16, 12
Amit Kumar Consultant and Rubyist Who Am I Sunday, September
16, 12
Amit Kumar Consultant and Rubyist TATA Consultancy Services Limited Who
Am I Sunday, September 16, 12
Amit Kumar Consultant and Rubyist TATA Consultancy Services Limited twitter.com/toamit
Who Am I Sunday, September 16, 12
Amit Kumar Consultant and Rubyist TATA Consultancy Services Limited twitter.com/toamit
github.com/toamitkumar Who Am I Sunday, September 16, 12
AGENDA Sunday, September 16, 12
AGENDA Micro-Blogging for “The Enterprise” Sunday, September 16, 12
AGENDA Micro-Blogging for “The Enterprise” Relational DB Structure Sunday, September
16, 12
AGENDA Micro-Blogging for “The Enterprise” Relational DB Structure Performance issues
Sunday, September 16, 12
AGENDA Micro-Blogging for “The Enterprise” Relational DB Structure Performance issues
Caching? Sunday, September 16, 12
AGENDA Micro-Blogging for “The Enterprise” Relational DB Structure Performance issues
Caching? MongoDB Sunday, September 16, 12
AGENDA Micro-Blogging for “The Enterprise” Relational DB Structure Performance issues
Caching? MongoDB Hybrid Approach Sunday, September 16, 12
What Micro-Blogging Mean To Enterprise Sunday, September 16, 12
Sunday, September 16, 12
Sunday, September 16, 12
Sunday, September 16, 12
Sunday, September 16, 12
Enterprise Demands Sunday, September 16, 12
Message threads (Facebook like experience) Enterprise Demands Sunday, September 16,
12
Message threads (Facebook like experience) Activities of follower list Enterprise
Demands Sunday, September 16, 12
Message threads (Facebook like experience) Activities of follower list Two
timelines Enterprise Demands Sunday, September 16, 12
Message threads (Facebook like experience) Activities of follower list Two
timelines Individual Enterprise Demands Sunday, September 16, 12
Message threads (Facebook like experience) Activities of follower list Two
timelines Individual Public Enterprise Demands Sunday, September 16, 12
Message threads (Facebook like experience) Activities of follower list Two
timelines Individual Public Filtering messages (role/office etc) Enterprise Demands Sunday, September 16, 12
Timeline Sunday, September 16, 12
Timeline Sunday, September 16, 12
Timeline Sunday, September 16, 12
Timeline Sunday, September 16, 12
Timeline Sunday, September 16, 12
Timeline Sunday, September 16, 12
Relational DB Structure Sunday, September 16, 12
Traditional Relational Design Sunday, September 16, 12
Traditional Relational Design Sunday, September 16, 12
Traditional Relational Design Sunday, September 16, 12
Enterprise Demands - II Sunday, September 16, 12
Enterprise Demands - II Most popular posts Sunday, September 16,
12
Enterprise Demands - II Most popular posts Hash-tags (#hashtag) Sunday,
September 16, 12
Enterprise Demands - II Sunday, September 16, 12
Enterprise Demands - II Ability to follow hash-tags Sunday, September
16, 12
Enterprise Demands - II Ability to follow hash-tags Sunday, September
16, 12
Enterprise Demands - II Sunday, September 16, 12
Enterprise Demands - II Activity on hash-tag flow to timeline
Sunday, September 16, 12
Enterprise Demands - II Activity on hash-tag flow to timeline
Sunday, September 16, 12
Enterprise Demands - II Activity on hash-tag flow to timeline
Sunday, September 16, 12
Enterprise Demands - II Activity on hash-tag flow to timeline
Sunday, September 16, 12
Enterprise Demands - II Sunday, September 16, 12
Hash-tag on comment will tag the whole thread Enterprise Demands
- II Sunday, September 16, 12
Hash-tag on comment will tag the whole thread Enterprise Demands
- II Sunday, September 16, 12
Traditional Relational Design Sunday, September 16, 12
Traditional Relational Design Sunday, September 16, 12
Traditional Relational Design Sunday, September 16, 12
Traditional Relational Design Sunday, September 16, 12
COMPLEX AND UNMAINTAINABLE CODE Sunday, September 16, 12
COMPLEX AND UNMAINTAINABLE CODE Sunday, September 16, 12
COMPLEX AND UNMAINTAINABLE CODE Sunday, September 16, 12
COMPLEX AND UNMAINTAINABLE CODE Sunday, September 16, 12
COMPLEX AND UNMAINTAINABLE CODE Sunday, September 16, 12
PERFORMANCE DEGRADES WITH INCREASING DATA VOLUME Sunday, September 16, 12
Performance Benchmark Sunday, September 16, 12
Performance Benchmark SQL query benchmarks Sunday, September 16, 12
Performance Benchmark SQL query benchmarks 10,000,000 messages Sunday, September 16,
12
Performance Benchmark SQL query benchmarks 10,000,000 messages 200,000,000 comments Sunday,
September 16, 12
Performance Benchmark SQL query benchmarks 10,000,000 messages 200,000,000 comments 50,000,000
message likes 2 4 8 10 12 0 750 1500 2250 3000 Response ms in millions Sunday, September 16, 12
Caching? (Redis) Sunday, September 16, 12
Caching Solution Like Sunday, September 16, 12
Caching Solution Like Break point in Architecture Sunday, September 16,
12
Caching Solution Like Break point in Architecture No Query Interface
Sunday, September 16, 12
Caching Solution Like Break point in Architecture No Query Interface
No clustering support Sunday, September 16, 12
Caching Solution Like Break point in Architecture No Query Interface
No clustering support More messy code Sunday, September 16, 12
A Document Based DB? Sunday, September 16, 12
A Document Based DB? Activity threads are like nested “DOCUMENTS”
Sunday, September 16, 12
Sunday, September 16, 12
Sunday, September 16, 12
Sunday, September 16, 12
One Document Sunday, September 16, 12
A Document Based DB? Sunday, September 16, 12
A Document Based DB? Storing them as relational structure Sunday,
September 16, 12
A Document Based DB? Storing them as relational structure Converting
them back to documents Sunday, September 16, 12
A Document Based DB? Storing them as relational structure Converting
them back to documents Store them as “Activity Documents” Sunday, September 16, 12
Sunday, September 16, 12
Why MONGODB? Sunday, September 16, 12
Why MONGODB? It is Cool Sunday, September 16, 12
Hybrid Approach (Relational DB + MongoDB) Sunday, September 16, 12
Hybrid Approach Sunday, September 16, 12
Hybrid Approach Sunday, September 16, 12
Architecture Sunday, September 16, 12
Architecture Sunday, September 16, 12
Data Migration From Relational DB TO MongoDB WAS EASY!! Sunday,
September 16, 12
Performance Benchmark SQL MongoDB Sunday, September 16, 12
Performance Benchmark 2 4 8 10 12 0 750 1500
2250 3000 SQL QUERY vs MongoDB Response in ms in millions SQL MongoDB Sunday, September 16, 12
Sunday, September 16, 12
Simple, Clean Sunday, September 16, 12
Simple, Clean And Sunday, September 16, 12
Simple, Clean And Maintainable Code Sunday, September 16, 12
Simple, Clean And Maintainable Code BUT WAIT !!! Sunday, September
16, 12
Simple, Clean And Maintainable Code BUT WAIT !!! TRANSACTION?? Sunday,
September 16, 12
Transaction Management Sunday, September 16, 12
Transaction Management Sunday, September 16, 12
Scaling with MongoDB Sunday, September 16, 12
Scaling with MongoDB Indexing Sunday, September 16, 12
Scaling with MongoDB Indexing Sharding? Sunday, September 16, 12
Scaling with MongoDB Indexing Sharding? 8 GB of Data Sunday,
September 16, 12
Monitoring Mongos mongostat Http Console (localhost:28017) Sunday, September 16, 12
Monitoring Mongos Sunday, September 16, 12
Relational DB And MongoDB Live In Harmony Together Sunday, September
16, 12
Relational DB And MongoDB Live In Harmony Together Sunday, September
16, 12
THANK YOU Sunday, September 16, 12