1 / 24

Windows Azure Storage

Windows Azure Storage. Name Title Organization. Agenda. Windows Azure Storage Blob Storage Drives Tables Queues. Windows Azure Storage. Storage in the Cloud Scalable, durable, and available Anywhere at anytime access Only pay for what the service uses

arleen
Télécharger la présentation

Windows Azure Storage

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows Azure Storage Name Title Organization

  2. Agenda Windows Azure Storage Blob Storage Drives Tables Queues

  3. Windows Azure Storage Storage in the Cloud Scalable, durable, and available Anywhere at anytime access Only pay for what the service uses Exposed via RESTful Web Services Use from Windows Azure Compute Use from anywhere on the internet

  4. Windows Azure Storage AccountUser specified globally unique account name Can choose geo-location to host storage account: US Europe Asia North Central US Northern Europe Western Europe East Asia South East Asia South Central US West US East US

  5. Windows Azure Storage Account Can CDN Enable Account Blobs delivered via 24 global CDN nodes Can co-locate storage account with compute account Explicitly or using affinity groups Accounts have two independent 512 bit shared secret keys 100 TBs per account

  6. Storage in the Development Fabric There are some differences between Cloud and DevStorage: http://msdn.microsoft.com/en-us/gg433135 A good approach for developers: To test pre-deployment, push storage to the cloud first Use Dev Fabric for compute connect to cloud hosted storageFinally, move compute to the cloud Provides a local “Mock” storage Emulates storage in cloud Allows offline development Requires SQL Express 2005/2008 or above

  7. The Storage Client API In this presentation we’ll cover the underlying RESTful API Can call these from any HTTP cliente.g. Flash, Silverlight, etc… Client API from SDK Microsoft.WindowsAzure.StorageClient Provides a strongly typed wrapper around REST services

  8. Storage Security Windows Azure Storage provides simple security for calls to storage service HTTPS endpoint Digitally sign requests for privileged operations Two 512bit symmetric keys per storage account Can be regenerated independently More granular security via Shared Access Signatures

  9. Windows Azure Storage Abstractions Tables Structured storage. A table is a set of entities; an entity is a set of properties. Blobs Simple named files along with metadata for the file. Queues Reliable storage and delivery of messages for an application. Drives Durable NTFS volumes for Windows Azure applications to use. Based on Blobs.

  10. Blob Storage

  11. Blob Storage Concepts http://<account>.blob.core.windows.net/<container>/<blobname> Blob Pages/ Blocks • Account Container PIC01.JPG images Block/Page PIC02.JPG contoso Block/Page videos VID1.AVI

  12. Blob Details PutBlob GetBlob DeleteBlob CopyBlob SnapshotBlob LeaseBlob Main Web Service Operations

  13. Blob Details Standard HTTP metadata/headers (Cache-Control, Content-Encoding, Content-Type, etc) Metadata is <name, value> pairs, up to 8KB per blob Either as part of PutBlob or independently Associate Metadata with Blob

  14. Blob Details Can include ‘/‘ or other delimeter in name e.g. /<container>/myblobs/blob.jpg Blob always accessed by name

  15. Blob Containers Multiple Containers per Account Special $root container Blob Container A container holds a set of blobs Set access policies at the container level Associate Metadata with Container List the blobs in a container Including Blob Metadata and MD5 NO search/query. i.e. no WHERE MetadataValue = ? Blobs Throughput Effectively in Partition of 1 Target of 60MB/s per Blob

  16. Tour of the Blob Service demo

  17. Two Types of Blobs Under the Hood Page Blob Targeted at random read/write workloads Each blob consists of an array of pages Each page is identified by its offset from the start of the blob Size limit 1TB per blob Optimistic or Pessimistic (locking) concurrency via leases 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 Optimistic Concurrency via Etags

  18. Drives

  19. Tables

  20. Table Storage Concepts Account Table Entity Name =… Email = … customers Name =… EMailAdd= contoso Photo ID =… Date =… photos Photo ID =… Date =…

  21. Entity Properties Entity can have up to 255 properties Up to 1MB per entity Mandatory Properties for every entity PartitionKey & RowKey (only indexed properties) Uniquely identifies an entity Defines the sort order Timestamp Optimistic Concurrency Exposed as an HTTP Etag No fixed schema for other properties 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

  22. No Fixed Schema FAV SPORT Canoeing

  23. Querying ?$filter=Last eq ‘Wegner’

More Related