• Like
MongoDB
Upcoming SlideShare
Loading in...5
×
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
482
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
12
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Outline Introduction Dive-in Scaling MongoDB Ashish Mishra June 16, 2013 Ashish Mishra MongoDB
  • 2. Outline Introduction Dive-in Scaling 1 Introduction Introduction MongoDB 2 Dive-in Features 3 Scaling Sharding Replication Ashish Mishra MongoDB
  • 3. Outline Introduction Dive-in Scaling Introduction MongoDB Introduction MongoDB (from ”humongous”) is a scalable, high-performance, open source, schema free, document no-sql oriented database Ashish Mishra MongoDB
  • 4. Outline Introduction Dive-in Scaling Introduction MongoDB NoSql 1 (NO) SQL 2 (NO) RDBMS 3 (NO) ACID Ashish Mishra MongoDB
  • 5. Outline Introduction Dive-in Scaling Introduction MongoDB Why? 1 focus on scaling, speed, performance and flexibility Ashish Mishra MongoDB
  • 6. Outline Introduction Dive-in Scaling Introduction MongoDB Why? 1 focus on scaling, speed, performance and flexibility 2 Not suited for transactional stuff (No ACID) Ashish Mishra MongoDB
  • 7. Outline Introduction Dive-in Scaling Features Features 1 Document oriented - document are stored in BSON Ashish Mishra MongoDB
  • 8. Outline Introduction Dive-in Scaling Features Features 2 Schema less - very flexible (no alter table) Ashish Mishra MongoDB
  • 9. Outline Introduction Dive-in Scaling Features Features 3 Understand JSON natively Ashish Mishra MongoDB
  • 10. Outline Introduction Dive-in Scaling Features Features 1 Collection (think table) 2 Document (think row) 3 Document can have multiple field Ashish Mishra MongoDB
  • 11. Outline Introduction Dive-in Scaling Features Queries 1 Query return cursor (not records) 2 Iterate over the result set Ashish Mishra MongoDB
  • 12. Outline Introduction Dive-in Scaling Sharding Replication Sharding 1 Easier horizontal scaling Ashish Mishra MongoDB
  • 13. Outline Introduction Dive-in Scaling Sharding Replication Sharding 1 Easier horizontal scaling 2 Mongo Config Server(s) handles distribution, balancing Ashish Mishra MongoDB
  • 14. Outline Introduction Dive-in Scaling Sharding Replication Replication 1 Duplicating data (Failover) Ashish Mishra MongoDB
  • 15. Outline Introduction Dive-in Scaling Sharding Replication Replication 1 Duplicating data (Failover) 2 Increase Reliability Ashish Mishra MongoDB
  • 16. Outline Introduction Dive-in Scaling Sharding Replication Thank you Questions? Ashish Mishra MongoDB