630 likes | 1.16k Views
Windows Azure Storage. Gisela Torres – Windows Azure MVP Aventia-Renacimiento www.returngis.net E-mail: gtorres@renacimiento.com Twitter: http://www.twitter.com/0gis0. Windows azure storage. services. Storage. durable storage, at massive scale. Blob - Massive files e.g. videos, logs.
E N D
Windows Azure Storage Gisela Torres – Windows Azure MVP Aventia-Renacimiento www.returngis.net E-mail: gtorres@renacimiento.com Twitter: http://www.twitter.com/0gis0
services Storage
durable storage, at massive scale 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 BinaryLargeOBject
blobs 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 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 • Get storage account • Get blob client • Retrieve a container reference • Get blob reference • Upload/Download a blob
Two types of blobs Block Blob Targeted at streaming workloads Each blob consists of a sequence of blocks • Each block is identifiedby 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 • Drive == Page blob • Fixed NTFS • Between 16MB and 1TB • Can only be mounted by only VMat time for read/write access
Table Provides Structured Storage Massively Scalable Tables Billions of entities (rows) andTBs of data Can use thousands of servers as traffic grows Highly Available & Durable Data 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
queue • 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
Basic steps • Get storage account • Retrieve queue reference • Add/Get message • Delete message
CEREBRATA • Apps for Windows Azure • http://www.cerebrata.com
Windows Azure Storage Gisela Torres – Windows Azure MVP www.returngis.net gisela.torres.buitrago@gmail.com @0gis0