Storage Services
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Storage Services

on

  • 464 views

Windows Azure Storage Services

Windows Azure Storage Services

Statistics

Views

Total Views
464
Views on SlideShare
459
Embed Views
5

Actions

Likes
0
Downloads
6
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 Presentation 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