Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Georgia Azure Event - Scalable cloud games using Microsoft Azure

1,225 views

Published on

How to build scalable cloud games using Microsoft Azure - with cases and architecture samples.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Georgia Azure Event - Scalable cloud games using Microsoft Azure

  1. 1. Alex Belotserkovskiy, Tech Evangelist, Microsoft Russia albe@microsoft.com @ahriman_ru
  2. 2. Why cloud? Games become services Approach to delivery the games is changing As a result, support and maintenance is changing Monetization is changing constantly and becoming “alive” – business model of one project constantly adapts to the market situation Studios and indie developers get the access to the new markets
  3. 3. Azure
  4. 4. Azure
  5. 5. Security & Management Web Apps Mobile Apps API Management API Apps Logic Apps Notification Hubs Content Delivery Network (CDN) Media Services HDInsight Machine Learning Stream Analytics Data Factory Event Hubs Mobile Engagement Active Directory Multi-Factor Authentication Automation Portal Key Vault Biztalk Services Hybrid Connections Service Bus Storage Queues Store / Marketplace Hybrid Operations Backup StorSimple Site Recovery Import/Export SQL Database DocumentDB Redis Cache Search Tables SQL Data Warehouse Azure AD Connect Health AD Privileged Identity Management Operational Insights Cloud Services Batch Remote App Service Fabric Visual Studio Application Insights Azure SDK Team Project VM Image Gallery & VM Depot
  6. 6. Common development challenges
  7. 7. Case 1: storage Performance counters data can be collected every second Mobile app: every user action = new event Multiplayer: amount of msgs/sec can be >100 000 We need a big, scalable, fast and flexible storage
  8. 8. architecture Traffic Manager http://myawesomegame.ru cloud service http://us.cloudapp.net worker roles web roles cloud service http://ru.cloudapp.net worker rolesweb roles Storage: Blobs/Tables/SQL Azure/SQL Server
  9. 9. 160М+downloads $10МRevenue Cloud backend for games (Windows, Android, iOS) Connected Gameplay
  10. 10. JoyBits and Doodle God
  11. 11. Case 2: Multiplayer FPS, load peaks
  12. 12. Microsoft Azure – global coverage load balancing http://www.globalfoundationservices.com/
  13. 13. architecture Traffic Manager http://myawesomegame.ru cloud service http://us.cloudapp.net worker roles web roles cloud service http://ru.cloudapp.net worker rolesweb roles Physics cluster Physics cluster Mastermind cluster
  14. 14. Tables NoSQL- “key-value” storage Queues Components inter-connection Blobs Files, multimedia, documents, binary content Traffic Manager Requests routing SQL Azure SQL Server as a service
  15. 15. Tables NoSQL- “key- value” storage Queues Components inter- connection Blobs Files, multimedia, documents, binary content Traffic Manager Requests routing SQL Azure SQL Server as a service Virtual Machines Windows/Linux virtual machines for heavy workloads
  16. 16. Azure Mobile Services Storm Bringer Studios: mobile games Windows Store iOS Android Xamarin Windows Phone 8 iOS Android HTML5/JS Open Source SDK Source Control Scripting: table, scheduled & custom API REST API Facebook Twitter Microsoft Google Active Directory SQL Table Storage Blob Storage WNS & MPNS APNS GCM Mongo DB
  17. 17. Sample architecture http://game.ru VM
  18. 18. Blobs Binary content SQL Azure SQL Server as a service Virtual Machines Windows/Linux virtual machines for heavy workloads Web Apps Admin panel/users portal
  19. 19. Case 4: predictive analytics and big data Halo 4 - Hadoop HDInsight for getting insights from raw data Insights = which modes are preferred by gamers; session of the length; amount of kills, etc
  20. 20. Case 4: predictive analytics and big data HDInsight Hadoop clusters on demand ML As a service Stream Analytics NRT data streaming and/or processing Data Factory Data transformati on Batch HPC as a service
  21. 21. Ситуация 5: DevOps iPhone app does not work Slow requests DB is not responding Latency Campaign is not popular
  22. 22. DevOps & Azure Deployment Monitoring and diagnostics Development Xplat CLI Knife- Azure Puppet CLI Vagrant -Azure Infrastructure management Release Management Application Insights DSC Extension Release Management Powershell OpInsights
  23. 23. Business Technical 600+ APIs 25+ Modules 18 Native SDKs
  24. 24. Some experience Cloud-based games is a good approach But for doing things right sometimes you need to: optimize the requests lifecycle optimize the format of the messages choose right instruments testing proactively doing the system loosely coupled
  25. 25. Alex Belotserkovskiy, Tech Evangelist, Microsoft Russia albe@microsoft.com @ahriman_ru
  26. 26. © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

×