Presentation is loading. Please wait.

Presentation is loading. Please wait.

Gaming across Multiple Devices Patric Boscolo Developer Evangelist Microsoft Deutschland GmbH

Similar presentations


Presentation on theme: "Gaming across Multiple Devices Patric Boscolo Developer Evangelist Microsoft Deutschland GmbH"— Presentation transcript:

1 Gaming across Multiple Devices Patric Boscolo Developer Evangelist Microsoft Deutschland GmbH patbosc@microsoft.com http://blogs.msdn.com/patricb @patricsmsdn Tom Wendel Developer Evangelist Microsoft Deutschland GmbH twendel@microsoft.com http://blogs.msdn.com/twendel/ @bobstriker Cloudshow

2

3 AGENDA We talk about … 12:38

4 ?

5 = Managed for YouStandalone Servers IaaSPaaSSaaS Applications Runtimes Database Operating System Virtualization Server Storage Networking

6 Cloud Services Runtime, Storage, Database, Messaging, Identity, Caching, … Developer Resources Templates, Deployment Tools, SDK‘s, Emulators, … What is Windows Azure?

7 Compute, Storage, Database, Messaging, Identity, Caching, … Your Application Maintanance in the Cloud Access to the Cloud

8 Motivation 12:38 Logic

9

10 Hardware

11

12

13

14 http://re.jrc.ec.europa.eu/energyefficiency/pdf/CoC%20DC%20new%20rep%20form%20and%20guidelines/Best%20Practices%20v2.0.0%20-%20Release.pdf http://www.sustenergy.org/index.php?option=com_see_projectview&view=see_projectdetail&tagId=-1&countryID=-1&catId=-1&pageNum=0&projectid=2524 http://www.microsoft.com/presspass/emea/presscentre/pressreleases/DublinDataCentrePR_240909.mspx http://blogs.technet.com/b/msdatacenters/archive/2009/12/18/microsoft-receives-leaders-award-for-innovation-in-the-mega-data-centre.aspx Microsoft Data Center Dublin http://blogs.msdn.com/b/msenterprise/archive/2011/04/22/earth-day-2011-cloud-computing-can-it-help.aspx

15 Air Handling Units (AHU) Direct Expension Chillers (DX)

16 Colocation

17

18

19 Industry PUE  2.4 Microsoft Global PUE  1.6 Dublin PUE  1.25

20

21

22

23 PUE 1.06

24

25

26

27

28 DEMO Remote Desktop

29 BACK TO YOUR APP

30 Web Role IIS hosted application Worker Role arbitrary application VM Role selfconfigured virtual machine Runtime

31 MY FIRST CLOUD APP How to get started

32 It’s not about Availability Quelle: http://www.flickr.com/photos/32975477@N02/4566833793/

33 How does my App scale?

34 There is no place like 127.0.0.1

35 There is no place like Production

36 vertical vs. horizontal scale vertical == more resourceshorizontal == more instances

37 Meine Superawesome Webseite http://myapp.cloudapp.net Meine Superawesome Webseite http://myapp.cloudapp.net Meine Superawesome Webseite http://myapp.cloudapp.net n Webroles 1 Database Scale me too!!! ;-) It‘s better to have 50 times 1GB db, then a single 50GB db. How to scale a db? Partitioning Alpha User Usage Date

38

39 A FEW TIPPS BY SUCCESSFULL APPS Lessons learned…

40 SHOWCASE Raidgate

41 SHOWCASE AntMe!

42 TableQueueBlob

43

44 Statless vs. Statefull Apps http://myapp.cloudapp.net Loadbalancer Instance 1 Instance 2 Different States

45 SQL Azure / Table Storage Windows Azure Caching

46 Windows Azure AppFabric Caching Cache für Daten die über mehrere Instanzen hinweg zur Verfügung stehen sollen. – Session State, Shopping Cart,... AppFabric Caching ist ein hosted distributed cache – Global Verfügbar – Low latency, hosted per subregion – ACS unterstützung Vorteile – Einfache Administration – ASP.net Session State und Output Cache providers – Nearcache für aktuelle Daten ohne Serializierungskosten

47 SHOWCASE Fantasy Kingdom

48 SHOWCASE Saudos

49 Table SQL Context Logic Webpage CDN oData WCF Json via MVC Browser / Control WebClient Proxy Context WebClient Frontend Socket

50 Frontend Table SQL Context Logic Webpage CDN oData WCF Json via MVC Browser / Control Json Client WebClient Socket

51 Globale Verfügbarkeit

52 Content Delivery Network (CDN) X X CDN X X Less hops Prop. “hops” oder “poor links” Closest Point of Presence Blob Storage Public Container DNS name resolves to closest POP Blob header determines time-to-live at the edge

53 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

54 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= – hours, days, weeks – longer remaining objects reduces: costs, latency, other caches Usage of versioned URIs to change Content

55 Versioning of URLs CDN Superawesome WebApp http://myapp.cloudapp.net … … 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

56 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

57

58 Daten Synchronisation

59 Synchronisierung SQL Azure DataSync via Windows Azure Management Studio

60 Reliability Transient Condition – Network, Datacenter, Service... Example – SQL Azure Error 40501 „ The service is currently busy. Retry the request after 10 seconds.“ Transient Fault Handling Framework – http://windowsazurecat.com/2011/02/transient-fault-handling-framework/ Retry external calls – SQL Azure – Windows Azure Storage – Service Bus – 3rd Party Services

61 Why Microsoft? Enterprise Business Security BizSpark Plus MSDN Support Technical Resources

62 Why Microsoft? Enterprise Business Security BizSpark Plus BizSpark Plus MSDN Support Technical Resources

63 Why Microsoft? Enterprise Business Security BizSpark Plus MSDN Support Technical Resources

64 GO CHECK IT OUT www.windowsazure.com


Download ppt "Gaming across Multiple Devices Patric Boscolo Developer Evangelist Microsoft Deutschland GmbH"

Similar presentations


Ads by Google