Windows Azure Storage
description
Transcript of Windows Azure Storage
![Page 1: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/1.jpg)
WINDOWS AZURE STORAGE11 de Mayo, 2011
Gisela Torres – Windows Azure MVPAventia-Renacimientowww.returngis.netE-mail: [email protected]: http://www.twitter.com/0gis0
![Page 2: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/2.jpg)
WINDOWS AZURE STORAGE
![Page 3: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/3.jpg)
SERVICES
Storage
![Page 4: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/4.jpg)
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
![Page 5: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/5.jpg)
BLOB
Slide 5
Binary Large OBject
![Page 6: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/6.jpg)
BLOBS
Slide 6
Store Large Objects (up to 1TB in size)Can be served through Windows Azure
CDN serviceStandard REST Interface
PutBlobInserts a new blob, overwrites the existing
blob
GetBlobGet whole blob or a specific range
DeleteBlobCopyBlobSnapshotBlobEtc
![Page 7: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/7.jpg)
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
![Page 8: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/8.jpg)
BLOB URI
http://<storageAccount>.blob.core.windows.net/<Container>/<BlobName>
http://mediastorage.blob.core.windows.net/pop/fly.mp3
![Page 9: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/9.jpg)
BASIC STEPS
Slide 9
Get storage account
Get blob client
Retrieve a container reference
Get blob reference
Upload/Download a blob
![Page 10: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/10.jpg)
DEMO BLOB STORAGE
![Page 11: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/11.jpg)
TWO TYPES OF BLOBS
Slide 11
Block Blob Targeted at streaming workloadsEach blob consists of a sequence
of blocks• Each block is identified
by a Block IDSize limit 200GB per blob
Page Blob Targeted at random read/write
workloadsEach blob consists of an array
of pagesEach page is identified by
its offset from the start ofthe blob
Size limit 1TB per blob
![Page 12: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/12.jpg)
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
![Page 13: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/13.jpg)
TABLE
Slide 13
Provides Structured StorageMassively Scalable Tables
Billions of entities (rows) andTBs of data
Can use thousands of servers as traffic grows
Highly Available & DurableData is replicated several times
Familiar and Easy to use APIWCF Data Services
(previously ADO.NET Data Services)and OData
.NET classes and LINQREST – with any platform or language
![Page 14: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/14.jpg)
BASIC STEPS
Create an entity
Specify a context
Get storage account
Generate table
Work with the context
Slide 14
![Page 15: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/15.jpg)
DEMO TABLE STORAGE
Slide 15
![Page 16: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/16.jpg)
PARTITION TABLES
Slide 16
![Page 17: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/17.jpg)
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
![Page 18: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/18.jpg)
QUEUE: FIRST IN FIRST OUT
Slide 18
![Page 19: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/19.jpg)
BASIC STEPS
Slide 19
Get storage account
Retrieve queue reference
Add/Get message
Delete message
![Page 20: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/20.jpg)
DEMO QUEUES
Slide 20
![Page 21: Windows Azure Storage](https://reader036.fdocuments.us/reader036/viewer/2022062305/56815ee6550346895dcd8e62/html5/thumbnails/21.jpg)
CONTENT DELIVERY NETWORK
Slide 21