Download presentation
Presentation is loading. Please wait.
Published byDarion Rodrick Modified over 10 years ago
6
There are some differences between Cloud and Dev Storage. http://msdn.microsoft.com/dd320275 A good approach for developers: To test pre-deployment, push storage to the cloud first Use Dev Fabric for compute connect to cloud hosted storage. Finally, move compute to the cloud. There are some differences between Cloud and Dev Storage. http://msdn.microsoft.com/dd320275 A good approach for developers: To test pre-deployment, push storage to the cloud first Use Dev Fabric for compute connect to cloud hosted storage. Finally, move compute to the cloud.
11
Blob ContainerAccount contoso images PIC01.JPG videos VID1.AVI http://.blob.core.windows.net/ / Pages/ Blocks Block/Page PIC02.JPG
14
GET http://.../products?comp=list&delimiter=/ Bikes Canoes Tents GET http://.../products?comp=list&delimiter=/ Bikes Canoes Tents GET http://.../products?comp=list&prefix=Tents&delimiter=/ Tents/PalaceTent.wmv Tents/ShedTent.wmv GET http://.../products?comp=list&prefix=Tents&delimiter=/ Tents/PalaceTent.wmv Tents/ShedTent.wmv http://adventureworks.blob.core.windows.net/Products/Bikes/SuperDuperCycle.jpgProducts/Bikes/FastBike.jpgProducts/Canoes/Whitewater.jpgProducts/Canoes/Flatwater.jpgProducts/Canoes/Hybrid.jpgProducts/Tents/PalaceTent.jpgProducts/Tents/ShedTent.jpghttp://adventureworks.blob.core.windows.net/Products/Bikes/SuperDuperCycle.jpgProducts/Bikes/FastBike.jpgProducts/Canoes/Whitewater.jpgProducts/Canoes/Flatwater.jpgProducts/Canoes/Hybrid.jpgProducts/Tents/PalaceTent.jpgProducts/Tents/ShedTent.jpg
15
http://.../products?comp=list&prefix=Canoes&maxresults=2 &marker=MarkerValue Canoes/Hybrid.jpg http://.../products?comp=list&prefix=Canoes&maxresults=2 &marker=MarkerValue Canoes/Hybrid.jpg http://.../products?comp=list&prefix=Canoes&maxresults=2 Canoes/Whitewater.jpg Canoes/Flatwater.jpg MarkerValue http://.../products?comp=list&prefix=Canoes&maxresults=2 Canoes/Whitewater.jpg Canoes/Flatwater.jpg MarkerValue
18
10 GB Movie Windows Azure Storage Block Id 1 Block Id 2 Block Id 3 Block Id N blobName = TheBlob.wmv; PutBlock(blobName, blockId1, block1Bits); PutBlock(blobName, blockId2, block2Bits); ………… PutBlock(blobName, blockIdN, blockNBits); PutBlockList(blobName, blockId1,…,blockIdN); blobName = TheBlob.wmv; PutBlock(blobName, blockId1, block1Bits); PutBlock(blobName, blockId2, block2Bits); ………… PutBlock(blobName, blockIdN, blockNBits); PutBlockList(blobName, blockId1,…,blockIdN); TheBlob.wmv
19
0 10 GB 10 GB Address Space 512 1024 1536 2048 2560
21
http://...blob.../pics/image.jpg? sr=c&st=2009-02-09T08:20Z&se=2009-02-10T08:30Z&sp=w &sig= dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN%2fRnbI%3d
22
http://...blob.../pics/image.jpg? sr=c&si=MyUploadPolicyForUserID12345 &sig=dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN%2fRnbI%3d
24
To Enable CDN: Register for CDN via Dev Portal Set container images to public Windows Azure Blob Service Windows Azure Blob Service pic1.jpg Content Delivery Network Content Delivery Network Edge Location http://sally.blob.core.windows.net/images/pic1.jpg http://sally.blob.core.windows.net/ http://guid01.vo.msecnd.net/ pic1.jpg 404 pic1.jpg TTL
29
Windows Azure Blob Service Application Lease Drive X:
30
CloudStorageAccount account = CloudStorageAccount.FromConfigurationSetting("CloudStorageAccount"); //Initialize the local cache for drives mounted by this role instance CloudDrive.InitializeCache(localCacheDir, cacheSizeInMB); //Create a cloud drive (PageBlob) CloudDrive drive = account.CreateCloudDrive(pageBlobUri); drive.Create(1000 /* sizeInMB */); //Mount the network attached drive on the local file system string pathOnLocalFS = drive.Mount(cacheSizeInMB, DriveMountOptions.None); //Use NTFS APIs to Read/Write files to drive … //Snapshot drive while mounted to create backups Uri snapshotUri = drive.Snapshot(); //Unmount the drive drive.Unmount();
33
Message Queue Account order processing customer ID order ID http://… adventureworks
34
Queue Input Queue (Work Items)
36
Queue Input Queue (Work Items)
38
EntityTableAccount contoso customers Name =… Email = … Name =… EMailAdd= … photos Photo ID =… Date =… Photo ID =… Date =…
41
FirstLastBirthdate KimAkers2/2/1981 NancyAnderson3/15/1965 MarkHassallMay 1, 1976 Fav Sport Canoeing
42
FirstLastBirthdate KimAkers2/2/1981 NancyAnderson3/15/1965 MarkHassallMay 1, 1976 ?$filter=Last eq Akers
44
PartitionKey (Category) RowKey (Title) TimestampModelYear Bikes Super Duper Cycle…2009 Bikes Quick Cycle 200 Deluxe…2007 … ……… Canoes Whitewater…2009 Canoes Flatwater…2006 PartitionKey (Category) RowKey (Title) TimestampModelYear Rafts 14ft Super Tourer…1999 … ……… Skis Fabrikam Back Trackers…2009 … ……… Tents Super Palace…2008 PartitionKey (Category) RowKey (Title) TimestampModelYear Bikes Super Duper Cycle…2009 Bikes Quick Cycle 200 Deluxe…2007 … ……… Canoes Whitewater…2009 Canoes Flatwater…2006 Rafts 14ft Super Tourer…1999 … ……… Skis Fabrikam Back Trackers…2009 … ……… Tents Super Palace…2008
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.