Presentation is loading. Please wait.

Presentation is loading. Please wait.

Consumer Mobile Apps that Scale

Similar presentations


Presentation on theme: "Consumer Mobile Apps that Scale"— Presentation transcript:

1 Consumer Mobile Apps that Scale
Kirill Gavrylyuk | Principal Program Manager Lead, Mobile Services & Notification Hubs Miranda Luna | Product Manager, Windows Azure Mobile

2 Agenda Consumer Mobile Apps that Scale 01 | Overview 02 | Platforms
03 | Data 04 | Authentication 05 | Push Notifications 06 | Extensibility 07 | Best Practices for Scale & Resources

3 Setting Expectations Target Audience
Developers building consumer-facing mobile applications for the Windows, iOS and/or Android platforms Suggested Prerequisites/Supporting Material Mobile Services on Channel9 Custom API, Script Source Control and Shared Scripts Helpful links for advanced scenarios

4 01 | Overview

5 Mobile Backends in Azure
Degree of Customizability Speed of Development & Ease of Maintenance

6 Virtual Machines Webzen, NBC News Digital Cloud Services Glassboard, Aviva Web Sites Mural.ly Mobile Services Wedding Happy, Elan Skis

7 Hooks into any app backend
On-Premises Backend Windows Azure Backend Logic Data Identity

8 data auth push aka.ms/VGTV

9 Mobile Services Overview
SDKs Store Data in the Cloud Windows Store iOS Android Xamarin Windows Phone HTML 5/JS Scripts: table scheduled custom API Table Storage Blob Storage Mongo DB SQL User Authentication REST API Active Directory Facebook Twitter Microsoft Google Push Notifications Source Control WNS & MPNS Notification Hubs APNS GCM

10 02 | Platforms

11 Xamarin (iOS & Android in C#)
Supported Platforms Native Windows Native WinPhone Native iOS Native Android HTML5/ Javascript Xamarin (iOS & Android in C#)

12 02 | Data

13 Data Azure SQL database out of the box
SQL Server in a VM SQL Server On-Prem Azure SQL db Azure Table Storage Azure Blob Storage Mongo DB Azure SQL database out of the box Azure module for node.js opens door to Azure-based data stores Service Bus relay enables integration with on-prem and third-party data stores Full control over your data in all scenarios

14 Working with data

15 03 | Authentication

16 Auth Active Directory Facebook Twitter Microsoft Google Custom GitHub Facebook, Twitter, Microsoft Google and Azure Active Directory out of the box Custom Auth and additional 3rd party authentication options supported in server scripts Use source control and shared scripts ChrisRisner.com for samples

17 Authentication

18 04 | Push Notifications

19 Push Out of the box support for Windows (WNS), Windows Phone (MPNS), iOS (APNS) and Android (GCM) Easy to extend to additional platforms like Mac OS or Kindle Azure module for node.js opens door the door to Notification Hubs for personalized push at scale

20 Push Notification Challenges
4/9/2019 Push Notification Challenges While there are significant benefits to using push notifications in a mobile app, rolling your own push infrastructure is extremely difficult in terms of implementing a system capable of: Cross-Platform Push Notifications Each push service (APNS for iOS, GCM for Android, WNS for Windows, etc.) has different protocols (e.g., HTTP vs. TCP, xml payload vs. JSON payload) Targeting on the server-side based on interest and location Segmenting users based on interest tags and routing only the most relevant content to each segment Personalizing notifications on the client-side based on language, currency, device, etc. Each device displays notifications differently High-Volume with Low Latency Limited by the capability of each VM so need to spin up scores of VMs and shard your application in order to serve a large user base Maintaining and accurate device handle registry Adding registrations upon installation, updating tags, pruning upon rejection from push notification service (uninstall) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

21 Notification Hubs Overview
4/9/2019 Notification Hubs Overview APNS “female” “New York” “chocolate” $ “male” “New York” “vanilla” “female” “Seattle” “vanilla” GCM App back-end “female” “vanilla” Notification Hub “female” “Seattle” “vanilla” MPNS $ “male” “Seattle” “vanilla” tag = “female” “female” “Seattle” “vanilla” tag = “Seattle” WNS $ “female” “Seattle” “vanilla” tag = “vanilla” © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

22 Segmented cross-platform push using Notification Hubs

23 05 | Extensibility

24 Extensibility Source Control + NPM enable:
Access to the entire suite of 1st party Windows Azure services Notification Hubs, Worker Roles, Blob/Table Storage, HDInsight, etc. Access to third party services available in the Windows Azure Store New Relic, SendGrid, Pusher, Auth0, etc. Consolidated on monthly Windows Azure bill Access to any service with a node module Twilio, Stripe, etc.

25

26 06 | Best Practices & Resources

27 Best Practices for Scale
Mobile Services Make sure you’re familiar with SQL basics Did you index the right columns? Run query analyzer on your queries Look at your datamodel Consider caching Azure Table vs Azure SQL database Consider SQL Database Premium Consider partitioning your data Notification Hubs Use Notification Hubs for push Use tags to define logical users / groups of users and send different content to different groups Use templates for personalization / localization of a notification everyone gets

28 Mobile Services Resources
Windows Azure Mobile Services Overview, Tutorials and Resources Collection of Helpful Tutorials and Resources Learn/Channel 9 SDKs on GitHub REST API Reference Windows Azure Pricing UserVoice for Feature Requests Microsoft Azure Certified Training

29 Notification Hubs Resources
4/9/2019 Notification Hubs Resources Windows Azure Mobile Services Overview, Tutorials and Resources Azure Documentation Center MSDN Documenation Android (tutorial) iOS (tutorial) Windows Store (tutorial) Windows Phone (tutorial) Learn/Channel 9 Introduction | iOS | Windows Store | Tags and Templates REST API Reference Windows Azure Pricing Microsoft Azure Certified Training © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

30


Download ppt "Consumer Mobile Apps that Scale"

Similar presentations


Ads by Google