microsoft azure documentdb

27
MICROSOFT AZURE DOCUMENTDB The JSON database for rapid development By: Mohamed Elkhodary

Upload: mohamed-elkhodary

Post on 11-Feb-2017

677 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Microsoft azure documentDB

MICROSOFT AZURE

DOCUMENTDBThe JSON database for rapid developmentBy: Mohamed Elkhodary

Page 2: Microsoft azure documentDB

WHAT IS DOCUMENT DATABASE? Definition

Page 3: Microsoft azure documentDB

WHAT IS A DOCUMENT DATABASE?

Page 4: Microsoft azure documentDB

WHAT IS A DOCUMENT DATABASE?o Growth with the use of the term NoSQL itself.o Designed for storing, retrieving, and managing document-oriented information.o Get their type information from the data itself, normally store all related information together, and allow every instance of data to be different from any other. o Attractive for programming modern web applications, which are subject to continual change in place, and speed of deployment is an important issue.

Page 5: Microsoft azure documentDB

WHAT IS A DOCUMENT DATABASE?

Page 6: Microsoft azure documentDB

Come as you are

Data normalizationORM

WHAT IS A DOCUMENT DATABASE?

Page 7: Microsoft azure documentDB

WHY USING DOCUMENTDB? Why it is different?

Page 8: Microsoft azure documentDB

WHY?

Page 9: Microsoft azure documentDB

WHY?

Page 10: Microsoft azure documentDB

WHY?

Page 11: Microsoft azure documentDB

WHY?

Page 12: Microsoft azure documentDB

WHY?

Page 13: Microsoft azure documentDB

WHY?

Page 14: Microsoft azure documentDB

WHY?

Page 15: Microsoft azure documentDB

fully managed, scalable, queryable, schemafree JSON document database service for modern applications

fully featured RDBMStransactional processing

rich query managed as a service

elastic scale

internet accessible http/rest

schema-free data model

arbitrary data formats

WHY?

Page 16: Microsoft azure documentDB

WHY?Fully-managed, highly-scalable, NoSQL document database service

query over schema-free

JSON

multi-documenttransactions

tunable, high performance

fully managed and designed for

massive scale

JS{ }SQL

Page 17: Microsoft azure documentDB

WHY?o Promotes code first development.o Resilient to iterative schema changes.o Provide rich queries.o Low impedance as object/JSON store. No ORM required.o It just works.o It is fast.

Page 18: Microsoft azure documentDB

USING DOCUMENTDB More details

Page 19: Microsoft azure documentDB

DOCUMENTDB RESOURCES

{ “id” : “123” “name” : “joe” “age” : 30 “address” : { “street” : “some st” }}

Page 20: Microsoft azure documentDB

SO COLLECTION IS A TABLE?

Page 21: Microsoft azure documentDB

COLLECTION IS NOT A TABLE

Page 22: Microsoft azure documentDB

SCALE UP VS SCALE OUT Scale Up – add bigger resources Scale Out – add more of the same

Page 23: Microsoft azure documentDB

SCALING UP WITH DOCUMENTDB

Choose the kind of collection you want based on your throughput needs

10GB

1000 RU/sec

S2

$0.067/hour~ $50 per

month

10GB

250 RU/sec

$0.034/hour~ $25 per

month

S1

10GB

2,500 RU/sec

$0.134/hour~ $100 per

month

S3

Page 24: Microsoft azure documentDB

LET’S GET STARTED Using Azure Portal and .NET SDK

Page 25: Microsoft azure documentDB

USING AZURE PORTALo Create DocumentDB database account.o Add, edit and delete documents.o Query documents.o Explore Query Playground.

Page 26: Microsoft azure documentDB

USING .NET SDKo Add, edit, query and delete documents.

Page 27: Microsoft azure documentDB

Thank you