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.

Mobile Backend as a Service via Cloud Foundry

1,597 views

Published on

A reference implementation of MBaaS via Cloud Foundry

Published in: Technology
  • Be the first to comment

Mobile Backend as a Service via Cloud Foundry

  1. 1. 1EMC CONFIDENTIAL—INTERNAL USE ONLY MBaaS EMC Labs China VMware vCAS Grissom Wang, Kay Yan, Roby Chen 2012/12
  2. 2. 2EMC CONFIDENTIAL—INTERNAL USE ONLY Background
  3. 3. 3EMC CONFIDENTIAL—INTERNAL USE ONLY Instagram Success Story $1 billion acquired by Facebook Instagram gains one new user every second One billion photos have been taken with the app There are roughly 58 photos uploaded each second
  4. 4. 4EMC CONFIDENTIAL—INTERNAL USE ONLY Instagram Infrastructure  OS / Hosting – Ubuntu Linux 11.04 (“Natty Narwhal”) on Amazon EC2  Load Balancing – First uses run 2 nginx machines, now use Amazon’s Elastic Load Balancer  Application Servers – Django on Amazon High-CPU Extra-Large machines  Data storage – PostgreSQL on EBS drives  Task Queue & Push Notifications – Gearman, a task queue system originally written at Danga  Monitoring – Munin, Pingdom, PagerDuty
  5. 5. 5EMC CONFIDENTIAL—INTERNAL USE ONLY Key Drivers of MBaaS  Mobile apps require common backend services.  Backend services are complex to build.  MBaaS can reduce the time-to-market of mobile apps.
  6. 6. 6EMC CONFIDENTIAL—INTERNAL USE ONLY Mobile App Development Cycle MBaaS can save 60% time Backend application Common Services Backend application Infrastructure Backend App/service develop Backend infrastructure build Backend infrastructure operate Mobile App develop
  7. 7. 7EMC CONFIDENTIAL—INTERNAL USE ONLY MBaaS Market
  8. 8. 8EMC CONFIDENTIAL—INTERNAL USE ONLY Market US: 165m China: 128m
  9. 9. 9EMC CONFIDENTIAL—INTERNAL USE ONLY Market 2011 $6.8B 2015 $25B Mobile App Market 2893 5018 8142 11853 16430 21672 22044 40599 73280 119842 188946 287933 0 100,000 200,000 300,000 400,000 2011 2012 2013 2014 2015 2016 Mobile App Store Downloads, Worldwide, 2010-2016(millions) Paid-for Free
  10. 10. 10EMC CONFIDENTIAL—INTERNAL USE ONLY Market Category of Apps Used in the Past 30 Days Most Apps need Backend Application/Service Mobile developers remain committed to the cloud. 83% of all developers plan to use cloud services, a percentage essentially identical to Q2 2011 when 84% reported the same. --IDC 2012 Q2 Mobile Developer Report
  11. 11. 11EMC CONFIDENTIAL—INTERNAL USE ONLY Market 2009 $400M 2014 $9.5B * Juniper Research Mobile Cloud Applications & Services Kinvey raises $5M as mobile developer services market heats up – GIGAOM Jul 11, 2012 Appcelerator buys mobile backend provider Cocoafish – GIGAOM Feb 9, 2012 Flurry buys Trestle to get into mobile backend market - GIGAOM Jul 25, 2012
  12. 12. 12EMC CONFIDENTIAL—INTERNAL USE ONLY Project Description
  13. 13. 13EMC CONFIDENTIAL—INTERNAL USE ONLY Goal  Accommodate large-scale connected mobile devices with high throughput and low latency.  Provide standardized service categories for mobile applications.  Provide a scalable infrastructure and platform for mobile applications and services.
  14. 14. 14EMC CONFIDENTIAL—INTERNAL USE ONLY Ecosystem/Partners MBaaS CloudFoundry Pivotal Mobile Service Provider Google Facebook Mobile Application Developer Rovio Mobile Manufacturer HTC Cloud Service Provider MoPaaS Enterprise IT VMWare vCAS
  15. 15. 15EMC CONFIDENTIAL—INTERNAL USE ONLY Use Cases
  16. 16. 16EMC CONFIDENTIAL—INTERNAL USE ONLY Top Cloud Services by Mobile App Developers Market Research and Gap Analysis  Push/Social/User services are common interests.  Mobile services are more functional oriented rather than PaaS’s data oriented.  Integration and analytic services are gaps in the market.
  17. 17. 17EMC CONFIDENTIAL—INTERNAL USE ONLY System Large-scale connected devices Roaming(Application/Data/Transaction) Cost of Bandwidth/Battery Multi-Latency Services Push Workflow Social Analytic User LBS Data Store MBaaS Use Cases - Prioritized
  18. 18. 18EMC CONFIDENTIAL—INTERNAL USE ONLY Mobile Analytic Players in Market License Analysis Category Analysis Model Workflow Scalable Data Privacy Data Source Flurry Free No Auto Google Analytics Free No Auto Countly Open Source No Manual Talking Data No Auto Mixpanel Free No Auto Localytics Free No Auto Cloud Service Real-time Statistic Event Black Box Downloadable Own data Mobile Server
  19. 19. 19EMC CONFIDENTIAL—INTERNAL USE ONLY MBaaS Data Analytic Service License Analysis Category Analysis Model Workflow Scalable Data Privacy Data Source MBaaS OSS + Real ++ Yes Fully Automated MBaaS data analytic service is • Fully automatically Scalable • Real Real-time processing and analysis capabilities • Generic Analytic Framework with different analysis models support • Could Integrate and Orchestrate with different analysis tools • Customer fully Own the data • Could analysis both Mobile side and Back-end app side Cloud Service Real-time Statistic Event Black Box Downloadable Own data Mobile Server
  20. 20. 20EMC CONFIDENTIAL—INTERNAL USE ONLY Architecture
  21. 21. 21EMC CONFIDENTIAL—INTERNAL USE ONLY Route r Architecture Mobile MBaaS Client Library/SDK … App #2 App #1 Router Backend App #1 MBaaS Services Analytics P P P P MBaaS Services A A A Push XMPP XMPP XMPP … Publisher Publisher A DB CloudFoundry MBaaS DEA Service Backend App #2 Backend App #3 Block File Object Documentum Mgt Documentum Mobile Mgt SyncplicityDocumentum CMS Content Bourne/EMC ASD … MessageBus MBaaS Services File
  22. 22. 22EMC CONFIDENTIAL—INTERNAL USE ONLY Architecture for Push Service Mobile App #1 MBaaS Push Client (Android Service) Router XMPP Over HTTP XMPP Server (Msg Sender) XMPP Server (Msg Sender) XMPP Server (Msg Sender) Message Queue (CF Native Service) … Msg Adapter Msg Adapter Msg Adapter 1) Listen on user unique topic 2) Transform msg into XMPP format Transmit msg over HTTP Publisher Service (MBaaS Service) Push msg to user unique topic Backend App #1 Backend App #2 Notification Setting Register app in MBaaS Push library Push library Send msg through REST interface App #2 MBaaS
  23. 23. 23EMC CONFIDENTIAL—INTERNAL USE ONLY Architecture for Real-time Data Analytic Mobile App #1 MBaaS data collection service/library Router HTTP RT Data Processing Collection library App #2 MBaaS RT Data Analytic Repository Report & Visualization Consume library App #1 OpDevs One Tenant Greenplum DW Data Mining Backend App #1 RT Data Processing Framework RT Data Analytic FrameworkData Analytic Workflow
  24. 24. 24EMC CONFIDENTIAL—INTERNAL USE ONLY Architecture for Health Manager Mobile App #1 MBaaS Client (Metrics) Router HTTP Collector Collector Collector Message Queue (CF Native Service) … HM (Graphite) App #2 MBaaS Processor Processor Processor … Metrics Backend App #1 Metrics Backend App #2
  25. 25. 25EMC CONFIDENTIAL—INTERNAL USE ONLY MBaaS Use Cases PaaS Service Provider CrossMo/MoPaaS/SJTU/ChinaTelecom MBaaS Controller Object StorePush User Technology Stack - SP Large-Scale Mobile Cost of Battery and Bandwidth Roaming Multi-Latency Multi-Cloud Runtime/Framework Extension Photo Social OAuth Pipeline Analytic LBS IFTTT vSphere USD/ESD Bourne DocumentumRSAInfrastructure BRS Greenplum Isilon
  26. 26. 26EMC CONFIDENTIAL—INTERNAL USE ONLY MBaaS Use Cases PaaS Enterprise Ufida/vCAS MBaaS Controller CAS+FilePush LDAP Technology Stack - Enterprise Large-Scale Mobile Cost of Battery and Bandwidth Roaming Multi-Latency Multi-Cloud Runtime/Framework Extension vSphere USD/ESD Bourne Content Management Enterprise Search Security Greenplum Documentum Pipeline Analytic People View BPM RSAInfrastructure BRS Isilon
  27. 27. 27EMC CONFIDENTIAL—INTERNAL USE ONLY Demo
  28. 28. 28EMC CONFIDENTIAL—INTERNAL USE ONLY Push Demo  Push functionality  Push Scalability  Health Monitor(Dashboard)
  29. 29. 29EMC CONFIDENTIAL—INTERNAL USE ONLY Intelligent Push Demo

×