Your SlideShare is downloading. ×
  • Like
  • Save
MongoDB on AWS Best Practices
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

MongoDB on AWS Best Practices

  • 1,098 views
Published

Best practice & Tips for MongoDB on AWS

Best practice & Tips for MongoDB on AWS

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,098
On SlideShare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
0
Comments
0
Likes
6

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. MongoDB on AWS Best PracticesbyCloud Computing Training Company
  • 2. About Agoge Labs• Hardcore Cloud Training• Focused on Amazon Web Services & BigData• Run by Architects with Passion ontraining
  • 3. What is NoSQL ?• Not only “SQL”• Increased Optimization• High Performance operations
  • 4. Popular NoSQL’s• KV : Cassandra, Riak, Redis• Graph Databases :Neo4j, InfiniteGraph• Document Stores : MongoDB , CouchDB
  • 5. About MongoDB• Document Store• High performance• Open Source• JSON Style• Full Index• Auto Sharding• Compatible with MapReduce
  • 6. MongoDB on AWSBest Practice Tips
  • 7. Tip 1: Use 64-bit EC2• Use 64-bit EC2 instance• 64-bit have more memory addressspace than 32-bit• More memory is better for MongoDB
  • 8. Tip 2: Use XFS• Use XFS File System• Supports I/O Freeze & Write CacheFlushing• Consistent Snapshots
  • 9. Tip 3: Use EBS Optimized + PIOPS• Use Amazon EC2 EBS-optimizedInstances• Dedicated Pipe to EBS Storage• PIOPS Volumes offer 4000 IOPScurrently
  • 10. Tip 4: Use EBS Striping• Use RAID 0 EBS Striping• Extract more IOPS and Disk space• Combine this with EBS Optimized EC2instances
  • 11. Tip 5: Increase File Descriptor limits• Increase File Descriptor limits• Default ulimit is not sufficient forproduction cases
  • 12. Tip 6: Turn off atime• Turn off atime and diratime when youmount the data volume
  • 13. Tip 7: More Read Performance• Use MongoDB Replica Set Architectureto extract More Read Performance
  • 14. Tip 8: More Write Performance• Use MongoDB Sharded Architecture toextract More Write Performance
  • 15. Tip 9: More Read-Write Performance• Use MongoDB Sharded Replica setArchitecture to extract More Read-Write Performance
  • 16. Tip 10: Leverage Amazon Multi-AZ• For Highly available architectureleverage Amazon Multi-AZ Architecturein Amazon
  • 17. Tip 11: Right Size Amazon EC2• MongoDB performs well on Highmemory EC2 Instances• Use High Memory M1 or M3 EC2 classfor better performance
  • 18. Contact Agoge LabsIf you need training on Amazon Web Services,contact us:training@agogelabs.comConnect with us @www.twitter.com/agogelabswww.slideshare.net/agogelabsVisit us @www.agogelabs.com