23
WINDOWS AZURE STORAGE 11 de Mayo, 2011 Gisela Torres – Windows Azure MVP Aventia-Renacimiento www.returngis.net E-mail: [email protected] Twitter: http://www.twitter.com/0gis0

WINDOWS AZURE STORAGE 11 de Mayo, 2011 Gisela Torres – Windows Azure MVP Aventia-Renacimiento E-mail: [email protected] Twitter:

Embed Size (px)

Citation preview

WINDOWS AZURE STORAGE

11 de Mayo, 2011

Gisela Torres – Windows Azure MVPAventia-Renacimientowww.returngis.netE-mail: [email protected]: http://www.twitter.com/0gis0

WINDOWS AZURE STORAGE

SERVICES

Storage

DURABLE STORAGE, AT MASSIVE SCALE

Slide 4

Blob- Massive files e.g. videos, logs

Drive- Use standard file system APIs

Tables- Non-relational, but with few scale limits- Use SQL Azure for relational data

Queues- Facilitate loosely-coupled, reliable, systems

BLOB

Slide 5

Binary Large OBject

BLOBS

Slide 6

Store Large Objects (up to 1TB in size)

Can be served through Windows Azure CDN service

Standard REST Interface

PutBlob

Inserts a new blob, overwrites the existing blob

GetBlob

Get whole blob or a specific range

DeleteBlob

CopyBlob

SnapshotBlob

Etc

BLOB STRUCTURE

Slide 7

Storage Account: MediaStorage

Container: Pop Container: Rock

Fly.mp3

PopConcert.avi

PopLetter.docx

We will rock you.mp3

RockConcert.avi

poster.pdf

BLOB URI

http://<storageAccount>.blob.core.windows.net/<Container>/<BlobName>

http://mediastorage.blob.core.windows.net/pop/fly.mp3

BASIC STEPS

Slide 9

Get storage account

Get blob client

Retrieve a container reference

Get blob reference

Upload/Download a blob

DEMO BLOB STORAGE

TWO TYPES OF BLOBS

Slide 11

Block Blob

Targeted at streaming workloads

Each blob consists of a sequence of blocks• Each block is identified

by a Block ID

Size limit 200GB per blob

Page Blob

Targeted at random read/write workloads

Each blob consists of an arrayof pages

Each page is identified byits offset from the start ofthe blob

Size limit 1TB per blob

WINDOWS AZURE DRIVE

Slide 12

Drive == Page blob

Fixed NTFS

Between 16MB and 1TB

Can only be mounted by only VM

at time for read/write access

TABLE

Slide 13

Provides Structured Storage

Massively Scalable TablesBillions of entities (rows) and

TBs of data

Can use thousands of servers as traffic grows

Highly Available & DurableData is replicated several times

Familiar and Easy to use API

WCF Data Services(previously ADO.NET Data Services)and OData

.NET classes and LINQ

REST – with any platform or language

BASIC STEPS

Create an entity

Specify a context

Get storage account

Generate table

Work with the context

Slide 14

DEMO TABLE STORAGE

Slide 15

PARTITION TABLES

Slide 16

QUEUE

Slide 17

• Queue are performance efficient,highly available and provide reliable message delivery

– Simple, asynchronous work dispatch

– Programming semantics ensure that a message can be processed at least once

• Access is provided via REST

QUEUE: FIRST IN FIRST OUT

Slide 18

BASIC STEPS

Slide 19

Get storage account

Retrieve queue reference

Add/Get message

Delete message

DEMO QUEUES

Slide 20

CONTENT DELIVERY NETWORK

Slide 21

CEREBRATA

Slide 22

Apps for Windows Azure

http://www.cerebrata.com

WINDOWS AZURE STORAGE

11 de Mayo, 2011

Gisela Torres – Windows Azure [email protected]@0gis0