Gaming across multiple devices

733 views

Published on

Introduction to Microsoft Windows Azure and the Microsoft Cloud Services for Game Developers.

http://europe.casualconnect.org/content.html

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
733
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Macht das Sinn?
  • Erklären von Fault Domains, Fabric Controller Host + Client
  • http://www.flickr.com/photos/32975477@N02/4566833793/
  • Gaming across multiple devices

    1. 1. Gaming across Multiple Devices CloudshowPatric Boscolo Tom WendelDeveloper Evangelist Developer EvangelistMicrosoft Deutschland GmbH Microsoft Deutschland GmbHpatbosc@microsoft.com twendel@microsoft.comhttp://blogs.msdn.com/patricb http://blogs.msdn.com/twendel/@patricsmsdn @bobstriker
    2. 2. 12:38We talk about …AGENDA
    3. 3. ?
    4. 4. = Managed for You Standalone IaaS PaaS SaaS ServersApplicationsRuntimesDatabaseOperating SystemVirtualizationServerStorageNetworking
    5. 5. What is Windows Azure? Cloud Services Developer ResourcesRuntime, Storage, Database, Mess Templates, Deploymentaging, Identity, Caching, … Tools, SDK‘s, Emulators, …
    6. 6. Maintanance in the Cloud Your Application Access to the CloudRuntime, Storage, Database, Messaging, Identity, Caching, … Your Application
    7. 7. Motivation Logic
    8. 8. Hardware
    9. 9. Microsoft Data Center Dublinhttp://blogs.technet.com/b/msdatacenters/archive/2009/12/18/microsoft-receives-leaders-award-for-innovation-in-the-mega-data-centre.aspxhttp://www.microsoft.com/presspass/emea/presscentre/pressreleases/DublinDataCentrePR_240909.mspxhttp://www.sustenergy.org/index.php?option=com_see_projectview&view=see_projectdetail&tagId=-1&countryID=-1&catId=-1&pageNum=0&projectid=2524http://re.jrc.ec.europa.eu/energyefficiency/pdf/CoC%20DC%20new%20rep%20form%20and%20guidelines/Best%20Practices%20v2.0.0%20-%20Release.pdfhttp://blogs.msdn.com/b/msenterprise/archive/2011/04/22/earth-day-2011-cloud-computing-can-it-help.aspx
    10. 10. Colocation
    11. 11. Industry PUE  2.4Microsoft Global PUE  1.6 Dublin PUE  1.25
    12. 12. Costs Cooling 25% IT Equipment 50%Air Transport 12% Power Supply, UPS Light 10% 3%
    13. 13. PUE1.06
    14. 14. Memory Management Device ManagementProcess Management Hypervisor Hypervisor
    15. 15. Fabric Controller HostWindows Azure Operating System Hypervisor
    16. 16. Fabric Controller HostWindows Azure Operating System Hypervisor
    17. 17. BACK TOYOURAPP
    18. 18. Web Role IIS hosted application Worker RoleRuntime arbitrary application VM Role selfconfigured virtual machine
    19. 19. Deploy to AzureMY FIRST CLOUD APP
    20. 20. Quelle: http://www.flickr.com/photos/32975477@N02/4566833793/
    21. 21. There is no place like 127.0.0.1
    22. 22. There is no place likeProduction
    23. 23. vertical vs. horizontal scalevertical == more resources horizontal == more instances
    24. 24. Meine Superawesome Webseite http://myapp.cloudapp.net Meine Superawesome Webseite Scale me too!!! ;-) http://myapp.cloudapp.net Meine Superawesome Webseite http://myapp.cloudapp.net 1 Database n Webroles • It„s better to have 50 times 1GB db, then a single 50GB db. • How to scale a db? • Partitioning • Alpha • User • Usage • Date
    25. 25. Lessons learned…A FEW TIPPS BY SUCCESSFULL APPS
    26. 26. RaidgateSHOWCASE
    27. 27. AntMe!SHOWCASE
    28. 28. Table Queue Blob
    29. 29. Statless vs. Statefull Apps Instance 1 Loadbalancer Instance 2http://myapp.cloudapp.net Different State
    30. 30. SQL Azure / Windows AzureTable Storage Caching
    31. 31. Fantasy KingdomSHOWCASE
    32. 32. SaudosSHOWCASE
    33. 33. Browser / Control Webpage WebClient Json via MVC Proxy WCFFrontend Context oData WebClient CDN Logic Socket Socket Context Table SQL
    34. 34. Browser / Control Webpage Json via MVC Json Client WCFFrontend oData WebClient CDN Logic Socket Socket Context Table SQL
    35. 35. Content Delivery Network (CDN) Prop. “hops” oder “poor links” Blob Storage Less hops CDN Closest Point of Presence X Public Container X Blob header determines DNS name resolves time-to-live at the edge to closest POP
    36. 36. Content Delivery Network (CDN)• 24 global distributed CDNs (99.95% availability)• Setup a CDN via Management Portal – Generate 2 URLs for diffrent distributions • Direct Access: http://myacct.blob.core.windows.net/images/myimage.jpg • Access via CDN: http://azXXXX.vo.msecnd.net/images/myimage.jpg – CNAME Mappings for CDN URLs http://blog.smarx.com/posts/using-the-new-windows-azure-cdn-with-a-custom-domain• CDN for WebApps and Windows Azure Storage – CSS, Images, ...• Smooth streaming available as CTP
    37. 37. Lifetime of CDN Content• Per Default Content stays alive for 72h• Setup TTL via „cache control header“ x-ms-blob-cache-control: public, max-age=<value in seconds> – hours, days, weeks – longer remaining objects reduces: • costs, latency, other caches• Usage of versioned URIs to change Content
    38. 38. Versioning of URLsSuperawesome WebApp http://myapp.cloudapp.net…<imgsrc="http://azXXXX.vo.msecnd. CDNnet/images/logo.2011-11-net/images/logo.2011-09- logo.2011-09-16.png22.png"16.png" /> logo.2011-09-16.png… logo.2011-11-22.png logo.2011-11-22.png • Easy to manage Rollback and different Versions • Enables A/B Tests
    39. 39. CDN für Web Apps• CDN support for Websites http://blog.smarx.com/posts/using-the-windows-azure-cdn-for-your-web-application – Default URL: http://foo.cloudapp.net/default.aspx – CDN URL: http://azXXXX.vo.msecnd.net/default.aspx – Cached from: http://foo.cloudapp.net/cdn/default.aspx• CNAME & HTTPS support• Important! The „cache control headers“ must be edited in order to use the OutputCache Module via Webapps http://blogs.msdn.com/b/scicoria/archive/2011/07/10/hosted-service-as-a-windows-azure-cdn-origin-tips.aspx
    40. 40. Why Microsoft?• Enterprise Business• Security• BizSpark Plus• MSDN• Support• Technical Resources
    41. 41. Why Microsoft?• Enterprise Business• Security• BizSpark Plus• MSDN• Support• Technical Resources
    42. 42. Why Microsoft?• Enterprise Business• Security• BizSpark Plus• MSDN• Support• Technical Resources
    43. 43. GO CHECK IT OUTwww.windowsazure.com

    ×