Mobile SDKs: What They Really Do to Your Mobile App
August 17, 2017

Shlomi Gian
PacketZoom

Mobile SDKs (software developments kits); love them or hate them, they're here to stay. They provide our apps with all sorts of functionality that would be incredibly time consuming to build, and they give us another means to monetize our apps. Third party SDKs are in fact, quite popular.

According to a study done by SafeDK, on average each Android app uses nearly 18 third party SDKs. That number is even higher for mobile games. While it would be difficult to argue that SDKs aren’t useful, it’s also hard for developers to get a good idea of the amount of resources used by each SDK once the app is in production.


What makes a good SDK? Some of the common factors to consider while judging the quality of an SDK are functionality, ease of use, and documentation. Some other attributes to consider are CPU usage, effect on battery, playing nice with other SDKs, and even network data usage.

As mentioned, each Android app uses 18 third party SDKs on average. It therefore is very important for all SDKs to function in harmony. The effect on CPU, battery and data consumed per session are all also important for apps because each of these could lead to users uninstalling the app. Let’s discuss data consumed per session. This is an important factor when you consider users who have limited data plans.

So how does one know which SDK is consuming the most data per session? What are the number of transfers per session? There are a number of ways you can look at the traffic requests made by various SDKs. You could route the app traffic through a proxy, run the app on your test device and see what’s happening, but unfortunately this will only show you the results of your own individual tests, giving you an idea of performance, but likely a statistically insignificant answer. Another way is to use a Mobile Application Monitoring tool. This gives you a whole suite of tools and the results would be from real productions users. The downside here is that it can get very pricey.

We often hear from mobile app developers about the need for an analytics product that would provide all the statistics for third party data transfers and would be able to capture the specific domains and URLs that are causing the largest amount of data consumption.

The chart below is from a gaming app with traffic mostly in the US and Canada with ~10K DAU (Daily Active Users). Like many mobile games, this app also relies on ads for a large portion of its revenue. Hence the preponderance of ad SDKs in its list of data consumers.

In the chart, both "vid.applovin" and "edge.adcolony" are ad SDKs, but each one has different data size per session (~13Kb and ~10Kb respectively). This simply could be because vid.applovin is serving more ads compared edge.adcolony because that is how the developer prioritized their ads, or it could have something to do with the frequency that the ad content is refreshed or the size of the individual ads. What you do get is greater insight into what the SDKs in your app are actually doing.

You should think about this as you consider which SDKs to include in your app. Mobile data is expensive (and frequently slow) for users, especially in developing countries. As app developers, it makes sense to to keep an eye on data usage metrics to accommodate a global user base.


In conclusion, there’s a real need for app developers to collect detailed network performance statistics about their apps. To be efficient, that solution would need to be:

1. Designed from the ground up for mobile applications with Real User Monitoring (RUM)

2. Lightweight in its metrics collection (i.e SDK uses just one UDP packet).

A smart SDK should be FREE and also allow developers to compare their app performance with industry references (benchmarks) and automatically optimize their code at run-time based on thousands of different network types, locations and times faced by their apps.

Shlomi Gian is CEO of PacketZoom

The Latest

October 22, 2018

Embracing DevOps at enterprise scale requires a seismic shift in the way an organization plans, builds, tests, releases, and manages applications. Here are four ways to ensure your enterprise DevOps transformation is a success ...

October 18, 2018

Are applications teams prepared to manage the chaos arising from an ever-growing landscape of heterogeneous deployment types? A recent survey of application and operations professionals sought to better understand how the industry is shifting and what the future of DevOps might look like. Here is what the survey uncovered ...

October 16, 2018

More than half of organizations have a dedicated DevOps team to help them better implement agile strategies, accelerate release cycles and ensure continuous development. However, databases have a habit of holding DevOps back ...

October 15, 2018

Test Environment Management can save organizations close to $10,000 for each release, yet only four percent of large enterprises have fully integrated TEM processes into organizational DNA, according to the 2018 Test Environment Management Survey released by EMA and Plutora ...

October 11, 2018

Agile is indeed expanding across the enterprise and there was a significant jump from last year to this year in the percentage of respondents who indicated that all or almost all of their teams were agile, according to the State of Agile 2018 report from CollabNet ...

October 09, 2018

Adopting a modern application architecture is critical to business success and a significant driver of profit growth in today’s digital economy, according to the results of a global survey of IT and business executives released by CA Technologies and conducted by Frost & Sullivan ...

October 04, 2018

How do you integrate tools to enable shift-left performance? The following tools will simplify maintenance, can be managed in a centralized way, and provide an easy-to-use UI to comprehend results ...

October 03, 2018

Focusing at the API layer of an application can help enable a scalable testing practice that can be efficiently executed as part of an accelerated delivery process, and is a practice that can be adopted and enabled at the earliest possible stages of development — truly shifting left functional testing. But what about performance testing? How do we enable the shift left of nonfunctional testing? Here, we explore what this means and how to enable it in your organization ...

October 01, 2018

As businesses look to capitalize on the benefits offered by the cloud, we've seen the rise of the DevOps practice which, in common with the cloud, offers businesses the advantages of greater agility, speed, quality and efficiency. However, achieving this agility requires end-to-end visibility based on continuous monitoring of the developed applications as part of the software development life cycle ...

September 27, 2018

Imagine that you are tasked with architecting a mission-critical cloud application. Or migrating an on-premise app to the cloud. You may ask yourself, "how do the cloud savvy companies like Airbnb, Adobe, SalesForce, etc. build and manage their modern applications?" ...

Share this