Gaming across Multiple Devices Patric Boscolo Developer Evangelist Microsoft Deutschland GmbH Tom Wendel Developer Evangelist Microsoft Deutschland GmbH Cloudshow
AGENDA We talk about … 12:38
?
= Managed for YouStandalone Servers IaaSPaaSSaaS Applications Runtimes Database Operating System Virtualization Server Storage Networking
Cloud Services Runtime, Storage, Database, Messaging, Identity, Caching, … Developer Resources Templates, Deployment Tools, SDK‘s, Emulators, … What is Windows Azure?
Compute, Storage, Database, Messaging, Identity, Caching, … Your Application Maintanance in the Cloud Access to the Cloud
Motivation 12:38 Logic
Hardware
Microsoft Data Center Dublin
Air Handling Units (AHU) Direct Expension Chillers (DX)
Colocation
Industry PUE 2.4 Microsoft Global PUE 1.6 Dublin PUE 1.25
PUE 1.06
DEMO Remote Desktop
BACK TO YOUR APP
Web Role IIS hosted application Worker Role arbitrary application VM Role selfconfigured virtual machine Runtime
MY FIRST CLOUD APP How to get started
It’s not about Availability Quelle:
How does my App scale?
There is no place like
There is no place like Production
vertical vs. horizontal scale vertical == more resourceshorizontal == more instances
Meine Superawesome Webseite Meine Superawesome Webseite Meine Superawesome Webseite 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
A FEW TIPPS BY SUCCESSFULL APPS Lessons learned…
SHOWCASE Raidgate
SHOWCASE AntMe!
TableQueueBlob
Statless vs. Statefull Apps Loadbalancer Instance 1 Instance 2 Different States
SQL Azure / Table Storage Windows Azure Caching
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
SHOWCASE Fantasy Kingdom
SHOWCASE Saudos
Table SQL Context Logic Webpage CDN oData WCF Json via MVC Browser / Control WebClient Proxy Context WebClient Frontend Socket
Frontend Table SQL Context Logic Webpage CDN oData WCF Json via MVC Browser / Control Json Client WebClient Socket
Globale Verfügbarkeit
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
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: Access via CDN: – CNAME Mappings for CDN URLs CDN for WebApps and Windows Azure Storage – CSS, Images,... Smooth streaming available as CTP
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
Versioning of URLs CDN Superawesome WebApp … … logo png logo png … … logo png Easy to manage Rollback and different Versions Enables A/B Tests
CDN für Web Apps CDN support for Websites – Default URL: – CDN URL: – Cached from: CNAME & HTTPS support Important! The „cache control headers“ must be edited in order to use the OutputCache Module via Webapps
Daten Synchronisation
Synchronisierung SQL Azure DataSync via Windows Azure Management Studio
Reliability Transient Condition – Network, Datacenter, Service... Example – SQL Azure Error „ The service is currently busy. Retry the request after 10 seconds.“ Transient Fault Handling Framework – Retry external calls – SQL Azure – Windows Azure Storage – Service Bus – 3rd Party Services
Why Microsoft? Enterprise Business Security BizSpark Plus MSDN Support Technical Resources
Why Microsoft? Enterprise Business Security BizSpark Plus BizSpark Plus MSDN Support Technical Resources
Why Microsoft? Enterprise Business Security BizSpark Plus MSDN Support Technical Resources
GO CHECK IT OUT