• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Storage Services
 

Storage Services

on

  • 367 views

Windows Azure Storage Services

Windows Azure Storage Services

Statistics

Views

Total Views
367
Views on SlideShare
362
Embed Views
5

Actions

Likes
0
Downloads
2
Comments
0

1 Embed 5

https://kb.epam.com 5

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Storage Services Storage Services Presentation Transcript

    • Storage Services Pavlo Revenkov EPAM Cloud Computing Competency Center Email: pavlo_revenkov@epam.com Skype: rp_risingstar
    • Data management services 2 Web-role Worker-role Worker-role Worker-role Web-role Drive SQL Azure Blobs Tables Queues
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • Demo 9
    • 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
    • Questions? 11