Mongo db on azure for developers
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Mongo db on azure for developers

on

  • 1,224 views

 

Statistics

Views

Total Views
1,224
Views on SlideShare
996
Embed Views
228

Actions

Likes
0
Downloads
5
Comments
0

6 Embeds 228

http://waffleme.com 169
https://twitter.com 55
http://www.soafaq.com 1
http://soafaq.com 1
http://148.251.6.105 1
http://dataq.org 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • No Joins
  • Infrastructure\MongoStuff.csControllers\StandardsControllers.cs
  • Infrastructure\MongoStuff.csControllers\StandardsControllers.cs

Mongo db on azure for developers Presentation Transcript

  • 1. MongoDB on Azure for Developers Mark Greenway @markkgreenway mgreenway@gmail.com Follow me on twitter now Beat the rush!!
  • 2. Gold Sponsors Platium Sponsors
  • 3. What we will talk about  Use Mongo db with C# Patterns for data access / storage
  • 4. What I won’t cover Managing servers Sharding Massive scale Absolutes
  • 5. Why not cover that?
  • 6. Dev Team Photo
  • 7. My Biggest Collection (thus far)
  • 8. NoSQL No ACID – Performance Scaling Simplicity Not Only SQL http://css.dzone.com/articles/how-acid-mongodb
  • 9. Mongo itself  Document Database  Database Collection Document Key Value  Single Threaded (its JS!) Server side JS execution  BSON  Capped Collections
  • 10. Offerings
  • 11. C# Accessdemo
  • 12. Story Time!
  • 13. Schema
  • 14. Uptime Robot www.uptimerobot.com
  • 15. So That’s how I used mongo on a project
  • 16. Curveball
  • 17. Map
  • 18. Reduce
  • 19. Finalize
  • 20. C#
  • 21. PHP internals person, author of Xdebug; OpenStreetMap and mapping enthusiast. Works as PHP Engineer/Evangelist for MongoDB at 10gen. derickrethans.nl
  • 22. Normalizing Data Familiar with this with SQL Benefits Drawbacks Scenario Author -- Books
  • 23. De normalizing Data Point in Time Data Things that will be accessed together Tags Join tables Documents should try to be self sufficient Embed for Atomicity
  • 24. { "_id": { "$uuid": "419265a2-f31e-7f06-f8be-1b1649c3db8f" }, "PolicyId": 41662, "TagId": 33, "TagName": "Engines", "d": false, "l": false, "CurrentVersion": { "Filename": "Marine Jan10.xls", "MD5": "67F6D6C62478F0482B1C1006CD2ABC83", "C": { "$date": "2010-01-14T19:22:36.407Z" }, "Usr": "tbridges", "ContentType": "application/x-msexcel", "Uri": "8578", "uploading": false }, "Versions": [ { "Filename": " Marine Jan10 (1).xls ", "MD5": "8C53285C42B0D8DCEAEAA63125DC248D", "C": { "$date": "2010-02-02T13:31:40.970Z" }, "Usr": "kcameron", "ContentType": "application/x-msexcel", "Uri": "9389", "uploading": false }, { "Filename": "Marine Jan10.xls ", "MD5": "67F6D6C62478F0482B1C1006CD2ABC83", "C": { "$date": "2010-01-14T19:22:36.407Z" }, "Usr": "tbridges", "ContentType": "application/x-msexcel", "Uri": "8578", "uploading": false }, { "Filename": " Marine Jan10(1).xls ", "MD5": "17975AD7D2375CA0FB02F1CAA067CFCC", "C": { "$date": "2010-01-22T15:49:24.500Z" }, "Usr": "kcameron", "ContentType": "application/x-msexcel", "Uri": "8945", "uploading": false } ]
  • 25. C# Access
  • 26. C# Constructor with Factory Demo
  • 27. Web API with SQL My way - CRUD start
  • 28. Web API with Mongo
  • 29. Side by Side
  • 30. Giant page of numbers SQL Mongo Get all Get 1 Create Update Get all Get 1 Create Update 1 84 79 257 261 66 49 51 81 2 81 77 165 157 60 50 46 49 3 68 68 165 176 53 49 46 47 4 79 74 254 197 52 47 50 54 5 87 85 240 302 49 51 48 52 6 75 62 166 164 50 48 51 46 7 66 60 162 169 52 47 51 46 8 80 68 156 191 61 46 48 55 9 112 69 226 184 85 48 51 48 10 71 66 173 201 50 50 48 47
  • 31. 0 100 200 300 400 Get all Get 1 Create Update Orange SQL - Blue Mongo
  • 32. Average Percent Faster Get all Get 1 Create Update 28% 31% 75% 74%
  • 33. References  http://docs.mongodb.org/manual/  50 Tips and Tricks for MongoDB Developers by Kristina Chodorow (O’Reilly). Copyright 2011 Kristina Chodorow, 978-1- 449-30461-4.  MongoDB Applied Design Patterns by Rick Copeland (O’Reilly). Copyright 2013 Richard D. Copeland, Jr., 978-1-449-34004-9.
  • 34. MongoDB on Azure for Developers Mark Greenway @markkgreenway mgreenway@gmail.com
  • 35. August 11th – 13th 2014 Same Place, Same Time
  • 36. The children who benefit from our camp have medical conditions including arthritis, asthma, cancer, bleeding disorders, gastrointestinal disease, heart disease, and kidney disease. We’ve designed every detail of the camp experience to help our campers leave sickness behind while they’re here.
  • 37. Extra Time? Name a scenario normalize vs. de-normalize data