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
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
150
あなたの人生も変わるかも?AWS認定2つで始まったウソみたいな話
iwamot
3
870
KMP with Crashlytics
sansantech
PRO
0
250
いま現場PMのあなたが、 経営と向き合うPMになるために 必要なこと、腹をくくること
hiro93n
9
8k
AWS re:Invent 2024 recap in 20min / JAWSUG 千葉 2025.1.14
shimy
1
110
色々なAWSサービス名の由来を調べてみた
iriikeita
0
110
Git scrapingで始める継続的なデータ追跡 / Git Scraping
ohbarye
5
510
「隙間家具OSS」に至る道/Fujiwara Tech Conference 2025
fujiwara3
7
6.6k
ドメイン駆動設計の実践により事業の成長スピードと保守性を両立するショッピングクーポン
lycorptech_jp
PRO
14
2.5k
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
250
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
250
Building Scalable Backend Services with Firebase
wisdommatt
0
110
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
870
The Invisible Side of Design
smashingmag
299
50k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
Practical Orchestrator
shlominoach
186
10k
Fireside Chat
paigeccino
34
3.1k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Building Adaptive Systems
keathley
38
2.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
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