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
株式会社EventHub・エンジニア採用資料
eventhub
0
4.3k
ホワイトボードチャレンジ 説明&実行資料
ichimichi
0
130
Cloud Spanner 導入で実現した快適な開発と運用について
colopl
1
690
2025-02-21 ゆるSRE勉強会 Enhancing SRE Using AI
yoshiiryo1
1
370
Swiftの “private” を テストする / Testing Swift "private"
yutailang0119
0
130
速くて安いWebサイトを作る
nishiharatsubasa
10
13k
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
200
滅・サービスクラス🔥 / Destruction Service Class
sinsoku
6
1.6k
Classmethod AI Talks(CATs) #17 司会進行スライド(2025.02.19) / classmethod-ai-talks-aka-cats_moderator-slides_vol17_2025-02-19
shinyaa31
0
120
分解して理解する Aspire
nenonaninu
1
230
室長と気ままに学ぶマイクロソフトのビジネスアプリケーションとビジネスプロセス
ryoheig0405
0
370
【Developers Summit 2025】プロダクトエンジニアから学ぶ、 ユーザーにより高い価値を届ける技術
niwatakeru
2
1.4k
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
4 Signs Your Business is Dying
shpigford
182
22k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Done Done
chrislema
182
16k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Making Projects Easy
brettharned
116
6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
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