Presentation is loading. Please wait.

Presentation is loading. Please wait.

Virtual techdays INDIA │ 18-20 august 2010 Building & Migrating Web applications using Windows Azure storage Ramaprasanna Chellamuthu │ Developer Evangelist;

Similar presentations


Presentation on theme: "Virtual techdays INDIA │ 18-20 august 2010 Building & Migrating Web applications using Windows Azure storage Ramaprasanna Chellamuthu │ Developer Evangelist;"— Presentation transcript:

1 virtual techdays INDIA │ 18-20 august 2010 Building & Migrating Web applications using Windows Azure storage Ramaprasanna Chellamuthu │ Developer Evangelist; Microsoft

2  Overview of Windows Azure Storage  Tables  Blobs  Queues  XDrives  Deep dive into XDrives  Concepts of Xdrives  Options supported in Xdrives  Deep demo of XDrives virtual techdays INDIA │ 18-20 august 2010 S E S S I O N A G E N D A

3 Fundamental Storage Abstractions Tables – Provide structured storage. A Table is a set of entities, which contain a set of properties Queues – Provide reliable storage and delivery of messages for an application Blobs – Provide a simple interface for storing named files along with metadata for the file Drives – Provides durable NTFS volumes for Windows Azure applications to use (new) 3

4 PartitionKey (Category) RowKey (Title) TimestampReleaseDate Action Fast & Furious…2009 Action The Bourne Ultimatum…2007 … ……… Animation Open Season 2…2009 Animation The Ant Bully…2006 PartitionKey (Category) RowKey (Title) TimestampReleaseDate Comedy Office Space…1999 … ……… SciFi X-Men Origins: Wolverine…2009 … ……… War Defiance…2008 PartitionKey (Category) RowKey (Title) TimestampReleaseDate Action Fast & Furious…2009 Action The Bourne Ultimatum…2007 … ……… Animation Open Season 2…2009 Animation The Ant Bully…2006 … ……… Comedy Office Space…1999 … ……… SciFi X-Men Origins: Wolverine…2009 … ……… War Defiance…2008 Partitions and Partition Ranges

5 2121 2121 1111 1111 C1C1 C1C1 C2C2 C2C2 Removing Queue Messages 1111 1111 2121 2121 3 3 4040 4040 Producers Consumers P2P2 P2P2 P1P1 P1P1 3030 3030 2. GetMessage(Q, 30 s)  msg 2 1. GetMessage(Q, 30 s)  msg 1 1111 1111 2121 2121 5 1010 1010 2020 2020

6 Blocks or Pages Blob Container Account sally images PIC01. JPG PIC02. JPG movies MOV1.AVI Block or Page 1 Block or Page 2 Block or Page 3

7 Windows Azure Content Delivery Network (new)

8 Windows Azure XDrive (new) Provides a durable NTFS volume for Windows Azure applications to use – Use existing NTFS APIs to access a durable drive Durability and survival of data on application failover – Enables migrating existing NTFS applications to the cloud A Windows Azure Drive is a Page Blob – Example, mount Page Blob as X:\ http://.blob.core.windows.net/ / – All writes to drive are made durable to the Page Blob Drive made durable through standard Page Blob replication Drive persists even when not mounted as a Page Blob

9 Windows Azure Drive Capabilities A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD) – Drives can be up to 1TB A VM can dynamically mount up to 8 drives A Page Blob can only be mounted by one VM at a time for read/write Remote Access via Page Blob – Can upload the VHD to its Page Blob using the blob interface, and then mount it as a Drive – Can download the Drive through the Page Blob interface

10 Windows Azure Drive Client Interface Create Drive – Create a Page Blob and format it as a NTFS single volume VHD Mount Drive – Acquire the lease on the NTFS formatted Page Blob and mount it as a drive letter Page Blob lease is maintained as long as drive is mounted Unmount Drive Release the Page Blob lease and unmount drive letter Snapshot Drive – Snapshot Blob Copy Drive – Copy Blob

11 How Windows Azure Drives Works Windows Azure Blob Service Application Drive is page blob stored in blob service Mount blob as drive via lease mechanism Mount specifies amount of local storage for cache NTFS writes committed to blob store before returning NTFS reads can be served from local cache or from blob store (cache miss) Lease Drive X:

12 Windows Azure Blob Service Lease Drive X: Application Managing the Drive on Application Failover

13 Windows Azure Blob Service Lease Acquire Lease Drive X: Lease Application

14 Drive Z: Mounting Drive Snapshots Windows Azure Blob Service Windows Azure Blob Service Drive Y: Drive X: Lease Snapshot1 Updates Read Only Read Only Mount

15 Windows Azure XDrive Summary Provide Durable NTFS volumes via a VHD – All NTFS non-buffered writes and flushes/commits are made durable to the Page Blob Drives are NTFS formatted Page Blobs – Can upload and download the drive via the Windows Azure Blob interface – Can backup and share drives via Blob Snapshot and Copy Drive mounting scenarios – A Page Blob can only be mounted by one VM at a time for read/write access – Can mount a read-only snapshot with any number of VMs

16 Storage Durability 1.Replicate within the same geo-location – PDC’08 2.Allow applications to choose geo-location – MIX’09 3.Geo-replicate data across geo-locations – Commercial Availability – Maintain multiple copies of your data in 2 geo- locations, within the same geo-region (US, Europe, Asia)

17 Geo-Replication Still choose the Primary Geo-Location for your storage account via the Dev Portal – This is where your data is served from Updates to data are immediately replicated and committed at primary geo-location – No change in existing performance Asynchronously geo-replicate data updates from primary to secondary geo-location

18 virtual techdays INDIA │ 18-20 august 2010 DEMO: XDrives Ramaprasanna Chellamuthu │ Developer Evangelist, Microsoft

19 virtual techdays THANKS │ 18-20 august 2010 http://twitter.com/ramaprasanna http://blogs.msdn.com/ramaprasanna


Download ppt "Virtual techdays INDIA │ 18-20 august 2010 Building & Migrating Web applications using Windows Azure storage Ramaprasanna Chellamuthu │ Developer Evangelist;"

Similar presentations


Ads by Google