How Lyft Reduced its Android App Launch Time By 21% in One Month
source link: https://www.infoq.com/news/2022/03/lyft-android-app-vitals/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How Lyft Reduced its Android App Launch Time By 21% in One Month
Mar 31, 2022 1 min read
Based on the insights provided by Google's Android App Vitals, Lyft Android team improved their Android app's startup time by 21% and increased driver sessions by 5%.
What set off the Lyft team effort was discovering that their Android app was 15-20% slower than their competitors' at launch. Launch time is a key factor to engage customers and the Lyft team saw there a clear opportunity to improve UX and engagement, which required to first convince their management of the importance of that.
As an app grows and the team grows with it, app excellence becomes more important than ever. Developers are often the first to recognize performance issues as they work closely on an app, but can find it difficult to raise awareness across an entire organization.
To get to the bottom of what was causing their slow startup, Lyft engineers resorted to using Android vitals.
Vitals gives developers access to data about the performance of their app, including app-not-responding errors, battery drainage, rendering, and app startup time.
The key metrics to observe for Lyft was time to full display, which measures the time taken to display the first fully-populated UI view, including any required networked content. In Lyft's case, time to full display was the product of four different stages in their app launch pipeline: starting the app process, creating an Android activity to render the UI, requiring remote content, and finally showing the driver's UI.
Thanks to these insights, the Lyft team took a number of steps to reduce the network overhead on their critical path. This required decomposing their backend services to remove some network calls, using asynchronous requests, and moving any blocking requests to background threads. Another area which brought improvement was using a cache to persist data across sessions.
Overall this allowed for reducing launch time by 21%, as already mentioned. Interestingly, achieving this result did not require a lot of manpower. In fact, it took a single developer just one month to achieve the goal. This was not accidental, rather the effect of an accurate initial investigation into what deserved an effort.
When starting your own app excellence initiative, it pays to first aim for small wins and build from there. Carefully pick actionable projects, which deliver significant results through an appropriate resource investment.
Android App Vitals are accessible from the Google Play Console.
About the Author
Sergio De Simone
Sergio De Simone is a software engineer. Sergio has been working as a software engineer for over fifteen years across a range of different projects and companies, including such different work environments as Siemens, HP, and small startups. For the last few years, his focus has been on development for mobile platforms and related technologies. He is currently working for BigML, Inc., where he leads iOS and OS X development.
Show moreRecommend
-
28
Key Takeaways Using React by itself will not result in a highly performant application. If you’re not careful, the application can pick up bloat easily. It’s good practice to conduct audits periodic...
-
5
Ethereum price all-time high follows reduced gas costs and DeFi revival Analysts expect Ether price to rally to new all-time highs since the Berlin upgrade resulted in a drop in gas fees and a surge in DeFi activity.
-
13
All Hail Bug Reports: How We Reduced the Analysis Time of the User’s Project From 80 to 4 Hours ...
-
11
All hail bug reports: how we reduced the analysis time of the user’s project from 80 to 4 hours People often see work in support as something negative. Today we’ll look at it from a different perspective. This art...
-
3
The free trial of Apple Music was quietly reduced to a single monthThe service previously offered a three-month trial.
-
6
EngineeringHow We Reduced Startup Time by 80% With WebpackAris KonstantoulasSoftware Engineer, RudderStackOne of the development models we use at Rud...
-
5
-
3
TransportationLate to Lyft? You'll Pay the PriceMore than seven years after Uber began charing wait time fees, Lyft ha...
-
6
Meta Says It Reduced Quest Pro Controllers Startup Time ...
-
6
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK