Mobile apps have unique challenges compared to web applications due to factors like fragmented devices, lack of communication from users, and the importance of reputation in app stores. To address these challenges, mobile DevOps integrates mobile app development with monitoring to ensure high performance, reliability and responsiveness. This involves monitoring APIs, SDKs and other dependencies for issues like errors, latency and crashes that degrade the user experience. The goal of mobile DevOps is to take feedback from monitoring to continuously improve the overall mobile app experience.
25. For the First Time, User Experience
has a Feedback Loop
26. Do end-users want to help the
app developer?
? Mobile App Stores created
developer reputation / feedback
loop
27. What Do Users Do When the
App is Slow?
100%Did not do anything
100%Uninstall the App
100%Told a friend in person
100%Contacted support or told the vendor
100%Left a negative review on the app store
100%Shared the experience via social media
Source: Crittercism end-user survey Q4¡¯2013
29. What cannot be tested prior to
launch?
Failure of shopping cart check-outs, referrals,
etc.
Transaction Errors
HTTP Errors like 404¡¯s, Errors accessing
Cloud Services
API & Network Errors
Slow performance, High latenciesUnresponsive Apps
Downtime due to app crashes
Apps Crashes &
Exceptions
Performance issues due to geographyLocation
33. Mobile App API Calls
? 18% of API calls from mobile apps have an
error rate of over 5%
? UNACCEPTABLE
? 9% of APIs in mobile apps have greater
than 1 Second response
? UNACCEPTABLE
34. BEWARE of SDKs slowing down
your Mobile Apps!
Free Version Paid Version
Uses a 3rd Party Mobile
Ad SDK
~ 3% Crash Rate
No Ads, No 3rd Party
Mobile Ad SDK
< 1% Crash Rate
Sample Mobile App Scenario
35. Mobile Apps Have Lots of
3rd Party Dependencies
3rd Party APIs and SDKs can slow down your
Mobile App
Mobile
Security
SDKs
Mobile
Ad SDKs
36. Speaking of SDKs in your
Mobile Apps¡
? The average mobile application consumes
6 different APIs / web services
(Crittercism Mobile Benchmark Report 2014)
¨C Mobile AD SDKs
¨C Mobile Security SDKs
¨C Mobile Analytics SDKs
¨C Mobile Monitoring SDKs
¨C RESTful APIs
37. ? Mobile App Developers need to monitor the
APIs and SDKs that their mobile app is
consuming
? Trust but Verify
Teamwork ->
Mobile App Developers
DevOps Team
Mobile DevOps
Optimizing Web Service API
Integration to Mobile Apps
38. Optimizing Web Service API
Integration to Mobile Apps
? Never make the UI wait for an API
¨C Decouple API from UI
¨C Pre-fetch when possible
? Cache data in local storage or SQLlite
? Always test Apps in Offline Mode
? Monitor from Mobile App as Endpoint
¨C Web server monitoring is not enough
¨C Consider Mobile Tax of 2G / 3G / 4G