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
370
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
92
Big Data Enterprisey Analytics and Ruby
toamitkumar
4
1.2k
Fibered Rails
toamitkumar
0
74
Other Decks in Technology
See All in Technology
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
210
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
130
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
180
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
520
怖くない!ゼロから始めるPHPソースコードコンパイル入門
colopl
0
120
Snykで始めるセキュリティ担当者とSREと開発者が楽になる脆弱性対応 / Getting started with Snyk Vulnerability Response
yamaguchitk333
2
190
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
270
なぜCodeceptJSを選んだか
goataka
0
170
NilAway による静的解析で「10 億ドル」を節約する #kyotogo / Kyoto Go 56th
ytaka23
3
380
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
190
Featured
See All Featured
Building Adaptive Systems
keathley
38
2.3k
The Cult of Friendly URLs
andyhume
78
6.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
GitHub's CSS Performance
jonrohan
1031
460k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Site-Speed That Sticks
csswizardry
2
190
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
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