Your SlideShare is downloading. ×
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Gridfs and MongoDB
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Gridfs and MongoDB

12,228

Published on

This is my 45 minute session on GridFs from MongoTorino, September 2011.

This is my 45 minute session on GridFs from MongoTorino, September 2011.

Published in: Technology, Education
0 Comments
19 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
12,228
On Slideshare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
1
Comments
0
Likes
19
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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. GridFSMitch PirtleCTO Sounday MusicMongoTorino, 2011-10-01
    • 2. Who?
    • 3. Who?Joomla! founder, OSM founder
    • 4. Who?Joomla! founder, OSM founderNew Yorker, moved to Torino in May 2011
    • 5. Who?Joomla! founder, OSM founderNew Yorker, moved to Torino in May 2011Skateboard, snowboard, bike, bass, guitar, drums, dad
    • 6. Who?Joomla! founder, OSM founderNew Yorker, moved to Torino in May 2011Skateboard, snowboard, bike, bass, guitar, drums, dadCTO at Sounday Music
    • 7. Who?Joomla! founder, OSM founderNew Yorker, moved to Torino in May 2011Skateboard, snowboard, bike, bass, guitar, drums, dadCTO at Sounday MusicContributor to MongoDB, evangelist for Lithium PHPFramework
    • 8. Who?Joomla! founder, OSM founderNew Yorker, moved to Torino in May 2011Skateboard, snowboard, bike, bass, guitar, drums, dadCTO at Sounday MusicContributor to MongoDB, evangelist for Lithium PHPFrameworkYes, I am learning Italian :-)
    • 9. About this presentation
    • 10. How the web began
    • 11. How the web began
    • 12. How the web beganGrey pages
    • 13. How the web beganGrey pagesBlack text
    • 14. Added some stuff...
    • 15. Added some stuff...
    • 16. Added some stuff...Images
    • 17. Added some stuff...ImagesColored backgrounds
    • 18. Added some stuff...ImagesColored backgroundsBlinking text
    • 19. More stuff...
    • 20. More stuff...
    • 21. More stuff... Javascript
    • 22. More stuff... Javascript Flash
    • 23. More stuff... Javascript Flash Streaming media
    • 24. More stuff... Javascript Flash Streaming media Social media
    • 25. Mess!
    • 26. All the media types PNG MPEG JPG OGG GIF MP3 MOV / QT ...and so on FLA FLV AVI
    • 27. Where does all this go?
    • 28. Approach 1: Filesystem
    • 29. Approach 1: FilesystemStore media locally on hard drive of webserver
    • 30. Approach 1: FilesystemStore media locally on hard drive of webserverFast access
    • 31. Approach 1: FilesystemStore media locally on hard drive of webserverFast accessSimple management
    • 32. Approach 1: FilesystemStore media locally on hard drive of webserverFast accessSimple managementEasy for code
    • 33. Approach 2: SAN
    • 34. Approach 2: SANNetwork access to files from N webservers
    • 35. Approach 2: SANNetwork access to files from N webserversRedundant
    • 36. Approach 2: SANNetwork access to files from N webserversRedundantScalable
    • 37. Approach 2: SANNetwork access to files from N webserversRedundantScalableHey, at least it’s not NFS
    • 38. Approach 3: Database
    • 39. Approach 3: DatabaseEasy access from application
    • 40. Approach 3: DatabaseEasy access from applicationAdditional reporting possibilities
    • 41. Why they all suck
    • 42. Why they all suck Filesystems are a pain to keep in sync NAS are €xpen$ive Media storage was an afterthought for databases Databases are the hardest part to scale right?
    • 43. New approach: GridFS
    • 44. New approach: GridFSStores media in the database
    • 45. New approach: GridFSStores media in the databaseAccess to sharding, replication
    • 46. New approach: GridFSStores media in the databaseAccess to sharding, replicationNetwork access
    • 47. New approach: GridFSStores media in the databaseAccess to sharding, replicationNetwork accessDocuments == metadata!
    • 48. GridFS Documentationhttp://www.mongodb.org/display/DOCS/GridFS
    • 49. It is a standard.
    • 50. GridFS Specificationhttp://www.mongodb.org/display/DOCS/GridFS+Specification
    • 51. Why GridFS is better
    • 52. Why GridFS: AccessAvailable to networkSupport for many programming languagesAccess parts of larger files, or stream entire file
    • 53. Why GridFS: It’s MongoDBMongoDB sharding == scaleReplica sets == redundancySlaves == reliability and performance
    • 54. Why GridFS: Metadata
    • 55. Why GridFS: MetadataSeparately stores metadata from actual file data
    • 56. Why GridFS: MetadataSeparately stores metadata from actual file dataSchemaless, you can add attributes as you need
    • 57. Why GridFS: MetadataSeparately stores metadata from actual file dataSchemaless, you can add attributes as you needOpens new possibilities for reporting, access, analytics
    • 58. Sho me da money!(insert code)
    • 59. Case study: Totsy
    • 60. Case study: Sounday
    • 61. Time for my favorite gameStump the Nerd™
    • 62. Thanks!Email: mitch.pirtle@gmail.comTwitter: @mitchitizedWeb: http://about.me/mitchitizedSlides: slideshare.net/spacemonkeylabs

    ×