Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to DocumentDB

Introduction to DocumentDB

It's presentation for Global Azure bootamp Ahmedabad where I have gone through some basics of DocumentDB which is a new offering from Azure Cloud from Microsoft.

Jalpesh Vadgama

April 16, 2016
Tweet

More Decks by Jalpesh Vadgama

Other Decks in Technology

Transcript

  1. About Me  More than 11 years of experience in

    Microsoft.NET, Azure and related technologies.  Currently working as Technical Architect at Aartekone Global Services PVT. Ltd.  Awarded Microsoft Most valuable professional 4 times. Currently MVP in Visual Studio and Development Technologies.  Active Member of Ahmedabad User Group.  Frequently writing blog about Microsoft.NET and related technologies at http://www.dotnetjalps.com  Also awarded as Dzone most valuable blogger 17-04-2016 http://www.dotnetjalps.com 2
  2. Agenda  What is Document database?  What is DocumentDB?

     Why we should use DocumentDB?  How we can use Document DB 17-04-2016 http://www.dotnetjalps.com 3
  3. What is DocumentDB  It is a new offering from

    Microsoft  It is a No SQL document base database-as-a-service offered by Microsoft Azure.  In details, it is a fully managed, highly scalable, highly queryable, truly schema free JSON document database.  It is perfect for the cloud architects and developers who need a highly scalable, highly queryable enterprise ready NoSQL document database.  It is a document store where data are stored in form of JSON as document under collections. 17-04-2016 http://www.dotnetjalps.com 8
  4. Document and Collections  Document: User defined JSON Content, By

    default there will not be a schema that needs to be defined. You can consider it as a row in Relational database.  Collections: A collections works as container of JSON documents and associated JavaScript application logic. A collection can span one or more partitions/servers and can scable to handle practically unlimited volumes of storage. 17-04-2016 http://www.dotnetjalps.com 9
  5. How it stores data in DocumentDB document1 document2 document3 document4

    17-04-2016 http://www.dotnetjalps.com 10 Collection DocumentDB
  6. Documents are schema free 17-04-2016 http://www.dotnetjalps.com 11 { “id”: 1,

    “firstName” : “Jalpesh”, “lastName”: “Vadgama” } { “id”: 1, “fullName” : “Jalpesh Vadgama” } document1 document2
  7. DocumentDB Capabilities and Benefits  Elastically scalable throughput and storage

     Easily scale up or scale down your DocumentDB JSON database to meet your needs.  You data is stored on Solid state disks.  It supports collections as container so virtually no limit for storage  Ad hoc queries with familiar SQL syntax:  You can query JSON Document through a familiar SQL syntax or Linq syntax.  Its automatically index all the documents so it supports real time queries. 17-04-2016 http://www.dotnetjalps.com 13
  8. DocumentDB Capabilities and Benefits  JavaScript execution within the database:

     You can write stored procedure, user defined functions and triggers on collections with JavaScript. No need to learn any other language.  It supports full transactional execution of JavaScript application logic directly inside the database engine.  Also supports Indexing with two Index types Hash and Range.  Fully managed:  Fully managed by Microsoft as database-as-service. You don’t need to manage Virtual machines and other stuff.  In-Built Security:  You can created the database and give user different kind of permissions. 17-04-2016 http://www.dotnetjalps.com 14
  9. DocumentDB at Microsoft  MSN.com is now fully using DocumentDB.

     Here are some statistics for MSN.com  425M unique MSN users with 100M direct authenticated users at any time.  Hadoop based analytics on the top of data.  Under 15ms write latency and single digit read latencies for 99% requests.  Available globally to server all MSN markets and users. https://azure.microsoft.com/en-in/blog/azure-documentdb-profile-of-msn- health-and-fitness-2/ 17-04-2016 http://www.dotnetjalps.com 15
  10. Contact me  Email: [email protected]  Twitter: @Jalpesh  Linkedin:

    http://www.linkedin.com/in/jalpeshvadgama  Facebook: https://www.facebook.com/jalpesh.vadgama  Github: https://github.com/dotnetjalps 17-04-2016 http://www.dotnetjalps.com 19