ArcReady - Architecting For The Cloud

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    ArcReady - Architecting For The Cloud - Presentation Transcript

    1. ArcReady: Architecting for the cloud
    2. About ArcReady…
      • A forum for aspiring and practicing architects to discuss industry trends
      • An overview of Microsoft’s roadmap as it relates to software architecture
      • A mechanism to solicit your feedback
      • An opportunity to showcase the work you do!
    3. Discussion Encouraged
    4.  
    5. SESSION 1 Architecting for the cloud
    6.  
    7. Flashback to previous ArcReady
    8. Timesharing
    9. Client-Server
    10.  
    11. Application Service Providers (ASP)
    12. Software as a Service
    13. Software + Services
    14. “ Packaged” Application An application that I buy “off the shelf” and run myself “ Home Built” Application An application that I develop and run myself Build vs. Buy Build Buy Hosted “ Home Built” An application that I develop myself, but run at a hoster Hosted “ Packaged” An application that I buy “off the shelf” and then run at a hoster “ Home Built” using cloud An application that I develop myself, that is hosted using cloud platform “ Packaged” using cloud An application that I buy “off the shelf”, that is hosted using cloud platform “ Software as a Service” A hosted application that I buy from a vendor “ Platform as a Service” A vendor hosted development and runtime environment On Premise Hoster Cloud Vendor
    15.  
    16.  
    17. Platform as a service
    18. We’re building for Scale
      • Running scalable services now
      • 30B Live ID authentications/month
      • 2B Live Search queries/month
      • 10B MSN page views/month
      • 240B Messenger messages/month
      • Building to run your services
      • Quincy, WA : Complete, approx 500K sq ft
      • San Antonio, TX : Opening Fall 08, approx 475K sq ft
      • Chicago, IL : Opening Spring/Summer 09, approx 550K sq ft
      • Dublin, Ireland : Opening Summer 09, approx 570K sq ft
      • Des Moines, Iowa : Recently announced land purchase
    19. Use Case – Erratic Traffic MLB.com is not affiliated with Windows Azure – example only
    20. Use Case – Erratic Traffic pgatour.com is not affiliated with Windows Azure – example only
    21. Use Case – New Site Launch
    22. Why leverage the cloud?
    23. Almost zero upfront infrastructure cost
    24. Just in time Infrastructure
    25. More efficient resource utilization
    26. Usage Based Computing
    27. Potential to shrink processing time
    28. Concerns with Cloud Computing
    29. Security
    30. Scalability
    31. Recovery and reliability
    32. Regulations and other legal issues HIPAA GLB SOX PCI …
    33. Pricing
    34. Break
    35. SESSION 2 The Azure Platform
      • Azure is a blue color on the HSV color wheel at 210 degrees. Azure is the hue that is halfway between blue and cyan. Its complementary color is orange.
      • Azure is a near synonym for the color blue.
      Commonly it refers to a bright blue, resembling the sky on a bright, clear day. http://en.wikipedia.org/wiki/Azure
    36.  
    37. Your Applications
    38. Your Applications
      • Web farm that handles request from the internet
      • IIS7 hosted web core
        • Hosts ASP.NET
        • XML based configuration of IIS7
        • Integrated managed pipeline
        • Supports SSL
        • Windows Azure code access security policy (CAS) for managed code
      Storage Services Public Internet Web Role Load Balancer
      • No inbound network connections
      • Can read requests from queue in storage
        • Windows Azure specific CAS policy for managed code
      Storage Service Public Internet Worker Role
    39. Public Internet Web Role Storage Service Worker Role Load Balancer
    40. Public Internet Web Role Storage Service Worker Role Load Balancer
    41. Public Internet Web Role Storage Service Worker Role Load Balancer
    42. … Fabric Compute Storage Application Blobs Queues HTTP Tables
      • Storage types:
        • Blobs: a simple hierarchy of binary data
        • Tables: hierarchical storage (not relational tables)
        • Queues: allow message-based communication
      • Access:
        • Data is exposed via a RESTful interface
        • Data can be accessed by:
          • Windows Azure apps
          • Other on-premises or cloud apps
    43. Table . . . Table Table Entity . . . Entity Entity Property Property Property Name Type Value Storage Accounts
      • Access via REST
        • You can’t use ordinary ADO.NET
      • No SQL
        • Query language based on the LINQ C# syntax
        • No real joins, aggregates, etc.
      • An unfamiliar hierarchical structure
        • You can’t easily move relational data to it
        • Supporting services are scarce, e.g., reporting
        • There’s significant platform lock-in
      • No schema
        • And no views
      • Massive scalability
        • By effectively allowing scale-out data
      • Highly durable
      • Perspective:
        • Applied to the right problem, Windows Azure Tables are a beautiful thing
          • But they’re not the optimal solution for a majority of data storage scenarios
        • Amazon, Google, and others do quite similar things
          • It appears to be the state of the art for scale-out data
    44. What tables don’t do Not relational No Referential Integrity No Joins Limited Queries No Group by No Aggregations No Transactions What tables can do Cheap Very Scalable Flexible Durable If these are important to you, use:
      • Data stored in Tables
        • A Table is a set of Entities (rows)
        • An Entity is a set of Properties (columns)
      • Entity has:
        • PartitionKey – enables scalability
        • RowKey – unique id within the partition (the only indexed property)
        • Timestamp – for optimistic concurrency
        • 255 properties for your data
        • Max size of 1MB
    45. Queue Web Role ASP.NET, WCF, etc. Worker Role main() { … } 1) Receive work 2) Put work in queue 3) Get work from queue 4) Do work To scale, add more of either
    46. POST http://myaccount. queue .core.windows.net/ myqueue /messages HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: application/xml Date: Tue, 09 Dec 2008 21:04:30 GMT Server: Nephos Queue Service Version 1.0 Microsoft-HTTPAPI/2.0  <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <QueueMessagesList> <QueueMessage> <MessageId> 5974b586-0df3-4e2d-ad0c-18e3892bfca2 </MessageId> <InsertionTime> Mon, 22 Sep 2008 23:29:20 GMT </InsertionTime> <ExpirationTime> Mon, 29 Sep 2008 23:29:20 GMT </ExpirationTime> <PopReceipt> YzQ4Yzg1MDIGM0MDFiZDAwYzEw </PopReceipt> <TimeNextVisible> Tue, 23 Sep 2008 05:29:20GMT </TimeNextVisible> <MessageText> PHRlc3Q+dG...dGVzdD4= </MessageText> </QueueMessage> </QueueMessagesList> DELETE http://myaccount. queue .core.windows.net/ myqueue /messages/messageid? popreceipt =YzQ4Yzg1MDIGM0MDFiZDAwYzEw Queue Msg 1 Msg 2 Msg 3 Msg 4 Worker Role Worker Role PutMessage Web Role GetMessage (Timeout) RemoveMessage Msg 2 Msg 1 Worker Role Msg 2
      • Queues guarantee a message will be processed at least once
      • Allows recovery in the event of errors
      • Roles normally consist of several tasks
          • Get Message
          • Insert to Table1
          • Insert to Table2
      • Could fail at any point
      • Write your code to expect failures
        • Inserts/Deletes might fail as already performed
        • Data in inconsistent state (part processed)
      • Same tools you’re already used to using, namely Visual Studio
      • Real Storage & Dev Store have differences
        • Fixed schema
        • No dynamic table creating
      • String length nvarchar[1000] – String[64000]
      • Dev Storage forces you to use certain patterns
      • Can be difficult to debug issues in data store:
        • Use logging and tracing
        • Use Fiddler, SQL profiler and SDK docs
    47.  
    48. Your Applications
      • Key developer challenges
        • Many identity providers, many vendors, many protocols, complex semantics – tricky to get right
        • Application strewn with one-off access logic
        • Hard to get right, not agile, not compliant, many dead ends
      • Approach
        • Automate federation for a wide-range of identity providers and technologies
        • Factor the access control logic from the application into manageable collection of rules
        • Easy-to-use framework that ensures correct token processing
      • Key developer challenges
        • Want to easily describe long-running processes
        • Want modularity and nesting
        • Easy to describe but in practice harder to run
          • Hosting and scaling can be challenging
          • Setup and installing, define scale-out approach, ensure long-running availability, manage upgrades, …
      • Approach
        • . NET 3.0/3.5/4.0 addresses key developer requests
        • .NET Services makes it easy to deploy, manage and run Workflows
      • The problem: Exposing internal applications on the Internet isn’t easy
        • Network address translation (NAT) and firewalls get in the way
      • The solution:
        • Service Bus provides a cloud-based intermediary between clients and internal applications
        • It also provides a service registry that clients can use to find the services they need
    49. Service Bus Service Bus Registry Endpoints Organization Y Organization X Application Application 2) Discover endpoints 1) Register endpoints 3) Access application
    50. Your Applications
    51. SQL Services .NET Services Windows Azure Live Services Applications Applications Others Windows Mobile Windows Vista/XP Windows Server SQL Data Services Others (Future)
    52. SQL Data Services Data Center Container . . . Container Container HTTP/ SOAP Entity . . . Entity Entity Property Property Property Name Type Value Authorities
    53. Resources
      • Jinesh Varia’s Cloud Computing Whitepaper – http://aws.amazon.com
      • Azure Landing Site – http://azure.com
      • Steve Marx - http://blog.smarx.com
      • Azure Team - http://blogs.msdn.com/windowsazure
    54. Your Applications
    55. Your Applications
    56. Windows Live
    57. Finished Services
    58. Software Applications
      • … are a set of building blocks for handling user data and application resources which can connect your application to hundreds of millions of users.
      Storage Search & Geospatial Identity Directory Devices Applications Synchronization Mesh Services User Comms & Presence 1.2B 30B 367M 320M nnPB 460M
    59.  
    60. Why Live Services? Engage with over 450M users on Windows Live Integrate with experiences, relationships and data users care about Comprehensive Windows Live services API’s (incl. Messenger, feeds, contacts, search) Developer Tooling with integrated Live Services Open, interoperable programming interface and resource model across digital devices. Data synchronization and local accessibility of web / cloud data Connect across devices Embed social building blocks Jumpstart traffic
    61. Virtual Earth
      • Eliminated calls to help center about locations
      • Proof of concept in three weeks
      • 24/7 technical support, easy development with online software development kit
      • Chose Microsoft ® Virtual Earth ™ with the Microsoft MapPoint ® Web service
      • Integrated location information to provide location hours and services
      • Added 3-D maps and integrated driving directions
      • FedEx wanted to increase its visibility and improve customer experience
      • Wanted to add location information and rich features to its online store locater
      • Stable, well-supported solution platform was a must
      FedEx improves customer experience with integrated mapping and location data “ With Virtual Earth, rather than clicking 10 times to find information, customers get it right away with the compass control.” SNarayanan Kasiarunachalam, Technical Advisor, FedEx Customer Logo
    62. Live Mesh
    63. Quick Walkthrough and Demo (not nearly as impressive as the video)
    64.  
    65.  
    66. External Commentary #1 Coolest technology demoed at Web 2.0 “ Live Mesh… could change the way PCs and other devices interact with Internet Services and each other…” “… most ambitious step yet in transforming its personal computer business “ Despite Microsoft’s reputation of being a closed-wall company, it is adopting simple protocols in its Live Mesh synchronization strategy.” “ Live Mesh represents the company Microsoft is trying to become…” Rob Enderle
    67. “ Eventually, we’ll give customers instant access to any movie on any device with an Internet connection and a screen.” “More immediately, we could use this technology to reach into airports. Travelers could quickly download movies from Blockbuster kiosks to their portable media players.” Keith Morrow Chief Information Officer, Blockbuster
    68. © 2009 Microsoft corporation. all rights reserved. this presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

    + Microsoft ArcReadyMicrosoft ArcReady, 8 months ago

    custom

    725 views, 1 favs, 3 embeds more stats

    For our next ArcReady, we will explore a topic on e more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 725
      • 716 on SlideShare
      • 9 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 57
    Most viewed embeds
    • 7 views on http://www.notsotrivial.net
    • 1 views on http://notsotrivial.net
    • 1 views on http://localhost

    more

    All embeds
    • 7 views on http://www.notsotrivial.net
    • 1 views on http://notsotrivial.net
    • 1 views on http://localhost

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories