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
240
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
91
Big Data Enterprisey Analytics and Ruby
toamitkumar
4
1.1k
Fibered Rails
toamitkumar
0
72
Other Decks in Technology
See All in Technology
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
450
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
130
生成AIが変えるデータ分析の全体像
ishikawa_satoru
0
160
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
410
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
130
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
1
110
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
510
110k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Speed Design
sergeychernyshev
25
620
Designing for humans not robots
tammielis
250
25k
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