Sunteți pe pagina 1din 14

Using MongoDB for

Social Networking Websites


(Deciphering the Pros & Cons)
15-10-2014 1
Seminar on
Introduction
Social media is one of the popular buzzwords of
current time
Choosing the right database supporting Social
Media poses a challenge
MongoDB will be discussed here in this context
for developing Social Media Networking Website
15-10-2014 2
Literature survey:
Paper Author/Publication Findings
At the forge: MongoDB Reuven M Lerner in ACM Linux
Journal, pp.193-195, 2010
Got introduced to MongoDB
Database.
Social-Data Storage-systems Nicolas Ruflin, Helmar Burkhart
and Sven Rizzotti In DBSocial
'11 ACM, New York, NY, USA,
pp.7-12, 2011
Introduced to database systems
for social networking system
Using MongoDB to implement
textbook management system
instead of MySQL
Zhu Wei-ping, Li Ming-xin, Chen
Huan, IEEE 3rd International
Conference on Communication
Software and Networks
(ICCSN), Xi'an, pp.303-305, 27-
29 May 2011
Learned practical application of
MongoDB for development.
A comparison of two physical
data designs for interactive
social networking actions
Sumita Barahmand, Shahram
Ghandeharizadeh and Jason
Yap, In Proceedings of the 22nd
ACM international conference
on Conference on information &
knowledge management (CIKM
'13) ACM, New York, NY, USA,
pp.949-958, 2013
Studied a comparison of an
industrial strength relational
database management system
(RDBMS) named1 SQL-X and a
NoSQL document store named
MongoDB
15-10-2014 3
Agenda
Social Networking Website & its Components
MongoDB Database
Strengths of using MongoDB Database
Weaknesses of using MongoDB Database
Conclusion
15-10-2014 4
Social Networking Websites
Social Networking Websites is a platform
which gives opportunity to build social
network, share thoughts, interest, activities
and real life connections
Some of the Popular Social Networking
Websites are Facebook, LinkedIn, Twitter
& Google+
15-10-2014 5
Social Networking Website
Components:
Social
Networking
Websites
Profile Post Media Relations APIs
15-10-2014 6
What is MongoDB ?
Scalable high performance open-source
NoSQL, JSON document based database
Used by many companies like eBay,
FourSquare & New York Times
Appreciated by many developers
It uses Different data model than Relational
Database
15-10-2014 7
Differences between RDBMS &
MongoDB
DATABASE
RDBMS MongoDB
Table Collection
JSON Document
Rows
Index Index
Embedding and linking
JOIN
15-10-2014 8
Strength of MongoDB
Features rich MongoDB database:
Language familiarity
Indexing on any attribute
Replication & High Availability
Schema Less
Auto Sharding
Fast in-place updates
APIs compatibility
15-10-2014 9
Weaknesses of MongoDB
Inability to perform JOIN query
Higher resource consumption while using
multi-key Indexes
Non atomic transactions
Less Documentation
Smaller community or experienced
developers
15-10-2014 10
Conclusion
MongoDB has got many great features for
developing social networking website but they
are not enough to work at all cases
MongoDB might not offer optimal solution at
current state
But it has a potential to offer a better solution in
future
15-10-2014 11
References
Reuven M Lerner, At the forge: MongoDB, Published by ACM in Linux
Journal, pp.193-195, 2010
Nicolas Ruflin, Helmar Burkhart and Sven Rizzotti, Social-data storage-
systems In Databases and Social Networks (DBSocial '11) ACM, New
York, NY, USA, pp.7-12, 2011
Sumita Barahmand, Shahram Ghandeharizadeh and Jason Yap, A
comparison of two physical data designs for interactive social networking
actions In Proceedings of the 22nd ACM international conference on
Conference on information & knowledge management (CIKM '13) ACM,
New York, NY, USA, pp.949-958, 2013
Mihalis Tsoukalos, Using Django and MongoDB to build a blog Published
by ACM in Linux Journal, pp.238-240, 2014
Sarah Mei, Why You Should Never Use MongoDB
http://www.sarahmei.com/blog/2013/11/11/why-you-should-never-use-mongodb/
15-10-2014 12
References (cont.)
Zhu Wei-ping, Li Ming-xin, Chen Huan, Using MongoDB to implement
textbook management system instead of MySQL Communication Software
and Networks (ICCSN), IEEE 3rd International Conference, Xi'an, pp.303-
305, 27-29 May 2011
Nicola Iarocci, Developing RESTful Web APIs with Python, Flask and
MongoDB, https://speakerdeck.com/nicola/developing-restful-web-apis-with-python-flask-and-
mongodb
15-10-2014 13
Thank You !!!
15-10-2014 14

S-ar putea să vă placă și