windows azure storage devcon2011

21
Developer Conference 2011 MICROSOFT USER GROUP HYDERABAD

Upload: charan-kawal-singh

Post on 20-Aug-2015

834 views

Category:

Technology


1 download

TRANSCRIPT

Developer Conference 2011

MICROSOFT USER GROUP HYDERABAD

Windows Azure Storage

Charan Kawal Singh BhatiaLead [email protected]

Business IntelligenceAccess Control

Virtual Network

Service Bus

Caching

CDN

Virtual Machines

DatabaseCompute

Storage

Windows Azure Storage

• Scalable, durable, and available• Anywhere at anytime access• Only Pay for what the services uses

Enables developers, applications, and users to access cloud storage

• Blob – Files• Tables – Entity Store• Queues – Durable messages

Easy to use REST and Client Libraries

• Drives – NTFS volumeExisting NTFS APIs

Storage in the Cloud

Create a Storage Account

Endpoints

Access Keys

CDN

Windows Azure Storage

DemoCreating a Storage Account

Storage in the Dev Fabric

Local Mock Storage

Emulates Storage in

cloud

Allows offline

development

Requires SQL Express 2005

/ 2008

What is Blob Storage

• Named• Metadata (name / value pair)

Binary Large

Object

• Block Blobs (good for streaming, 200 GB max)

• Page blobs (good for random read/write, 1 TB max)

Two Types of blobs

Windows Azure Content Delivery Network

Scenario

Frequently accessed blobs

Blobs accessed from many geographic locations

Windows Azure CDN

Microsoft Datacenter

1. Deploy hosted serviceand storage to cloud(North Central US)

2. Enable CDN forWeb page content

3. User in Europerequests Web page

4. Web page delivered fromUS... Content requestedfrom nearest datacenter.

7. 2nd user in Europerequests Web page

6. Content is cached inDublin datacenter

8. Web page delivered from US,content delivered from Dublin

5. Content unavailable,retrieved from US

MyVideo

Watch videos of dogs and cats doing funny things!Vote for your favorite, or submit your own!

Windows Azure

DemoBlob Storage

Table Storage

Massively scalable structured storage

• Billions of entities• Terabytes of data

Not same as SQL Server Table

• WCF Data Services• .NET and LINQ• REST

Controlled by APIs

Entity Properties

Each entity can have up to 255 properties

• PartitionKey & RowKey• Uniquely identifies an entity• Define the sort order

• Timestamp• Optimistic Concurrency

Mandatory Properties for every entity

• Each property is stored as a <name, typed value> pair• No schema stored for a table

• Properties can be the standard .NET types• String, binary, bool, DateTime, GUID, int, int64, and double

No fixed schema for rest of properties

PartitionKey(Category)

RowKey(Title)

Timestamp ReleaseDate

Action Fast & Furious … 2009

Action The Bourne Ultimatum … 2007

… … … …

Animation Open Season 2 … 2009

Animation The Ant Bully … 2006

PartitionKey(Category)

RowKey(Title)

Timestamp ReleaseDate

Comedy Office Space … 1999

… … … …

SciFi X-Men Origins: Wolverine … 2009

… … … …

War Defiance … 2008

PartitionKey(Category)

RowKey(Title)

Timestamp ReleaseDate

Action Fast & Furious … 2009

Action The Bourne Ultimatum … 2007

… … … …

Animation Open Season 2 … 2009

Animation The Ant Bully … 2006

Comedy Office Space … 1999

… … … …

SciFi X-Men Origins: Wolverine … 2009

… … … …

War Defiance … 2008

Partitions and Partition Ranges

Server BTable = Movies

[Comedy - MaxKey)

Server ATable = Movies

[MinKey - Comedy)

Server ATable = Movies

Web

Web

Queues

Durable messages, reliable delivery

Ideal for communication between roles

WebWorkerWorkerWorkerWorker

DemoWindows Azure Storage

Some Linkshttp://www.microsoft.com/windowsazure/ http://www.microsoft.com/windowsazure/sdk/ http://www.microsoft.com/download/en/details.aspx?id=8396 {Training Kit}http://www.microsoft.com/windowsazure/community/ {Community}

?

Thank You

Sponsors