Your SlideShare is downloading. ×
  • Like
Storage Services
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Storage Services

  • 289 views
Published

Windows Azure Storage Services

Windows Azure Storage Services

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
289
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
6
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Storage Services Pavlo Revenkov EPAM Cloud Computing Competency Center Email: pavlo_revenkov@epam.com Skype: rp_risingstar
  • 2. Data management services 2 Web-role Worker-role Worker-role Worker-role Web-role Drive SQL Azure Blobs Tables Queues
  • 3. Common information 3 • Access via REST API: • http://<storage account>.table.core.windows.net/<table> • http://<storage account>.queue.core.windows.net/<queue> • http://<storage account>.blob.core.windows.net/<container>/<blob> • Replication: • Automatic triplication • Emulation: • Emulation is possible with some restrictions • CDN support
  • 4. Windows Azure Subscription Subscription Message size: 64 KB. Two types: • Block; • Page. Cloud services SQL Azure Databases Storage Account (200 TB) Record size: 1 MB Block blob max size: 200 GB Properties count: 252 Page blob max size: 1 TB Tables Queues Blobs 4
  • 5. Tables • NoSQL storage for structured non-relational data • Table records (entities) are not described by predefined schema • Mandatory fields: • PartitionKey • RowKey • Timestamp • Two types of entity declaration: • ITableEntity interface • TableEntity class 5
  • 6. Queues 6 • Message queue accessible via REST API • Frequent usages examples: • Asynchronous messages processing • Roles interaction Worker-role Web-role Queue Worker-role Web-role Worker-role
  • 7. Blobs • Object-oriented storage • Two types: • Block (max size – 200 GB) • Page (max size – 1 TB) • Blobs are stored in containers: • Each storage account can have unlimited count of containers • Each container can have unlimited count of blobs • MIME-type definition support 7
  • 8. Workflow var storageAccount = CloudStorageAccount.Parse( ConfigurationManager .ConnectionStrings[ConnectionStringSetting] .ConnectionString); var tableClient = storageAccount.CreateCloudTableClient(); var queueClient = storageAccount.CreateCloudQueueClient(); var blobClient = storageAccount.CreateCloudBlobClient(); Tables: var table var context = tableClient.GetTableReference(tableName); = tableClient.GetTableServiceContext(); Queues: var queue = queueClient.GetQueueReference(queueAddress); Blobs: var container = blobClient.GetContainerReference(containerName); var pageBlob = container.GetPageBlobReference(blobName); 8
  • 9. Demo 9
  • 10. References 10 How to Use the Table/Queue/Blob Storage Service  https://www.windowsazure.com/en-us/develop/net/how-to-guides/table-services/  https://www.windowsazure.com/en-us/develop/net/how-to-guides/queue-service/  https://www.windowsazure.com/en-us/develop/net/how-to-guides/blob-storage/ Differences between the Storage Emulator and Windows Azure Storage Services  http://msdn.microsoft.com/en-us/gg433135
  • 11. Questions? 11