Software // Social
News
6/20/2014
02:11 PM
Connect Directly
Google+
LinkedIn
Twitter
RSS
E-Mail
50%
50%

Facebook Overhauls Android App For Emerging Countries

Facebook's Android app now consumes 50% less data and is 65% smaller to accommodate bandwidth and device limitations in emerging countries.

Facebook Privacy: 10 Settings To Check
Facebook Privacy: 10 Settings To Check
(Click image for larger view and slideshow.)

Facebook has connected more than 1.2 billion users across the globe, and now the social network has shifted its focus to the next 5 billion -- many of whom reside in emerging markets with varying network connections and basic mobile devices.

To make its Android application more accessible worldwide, the social network sent a team of engineers to Africa to gauge how the app performed, Facebook engineering manager Alex Sourov wrote in a blog post.

"We purchased several different Android handsets to test the latest version of the Facebook app -- and the testing process proved to be difficult," he wrote. "The combination of an intermittent, low-bandwidth network connection and a lack of memory space on the devices resulted in slow load times and constant crashes. We even burned through our monthly data plans in 40 minutes."

[Facebook's latest advertising policy includes some welcome improvements. Facebook Ads: Users Offered More Control.]

Over the course of the team's visits, Facebook worked to improve the Android app's performance, data efficiency, networking, and application size. In the end, Facebook was able to reduce start times by more than 50%, data usage by 50%, reports of slow or failed image loads by 90%, and the overall size of its Android app by 65%, the company said.

Slow start times on old devices plagued the app's performance, Sourov wrote, particularly on single-core devices. The company also wanted News Feed stories to load quicker for users. Changes it made included deferring feature initializations until after startup and fetching News Feed stories earlier to allow for more time to set up connections and download.

Facebook also encountered obstacles in improving data efficiency since data in developing countries is not only expensive but also tedious to purchase, Sourov said. The team's three-step solution included using alternative compression formats for image transmission, loading images at a resolution that devices could handle, and fine tuning the process used to cache and reuse images.

"Interacting with photos is an important part of the Facebook experience, but it takes a sizable amount of data to download them," Sourov wrote. "If we could optimize the download size, we could improve data savings and perceived app performance."

Facebook said it also invested in improving the efficiency and reliability of its networking stack, since it struggled to perform in regions with intermittent networks. These updates included switching to OkHttp, a networking stack open-sourced by Square, and fine tuning image pre-fetching algorithms.

Last, Facebook honed in on the size of its Android app. "The most popular mobile devices in Africa have little disk space available, which is a significant barrier to installing app upgrades," Sourov wrote. "This means that people in developing countries often use older versions of the app that don't have up-to-date features."

Facebook used Google Play's ability to upload multiple APKs for different Android OSes and screen resolutions, which helped reduce the size of its Android app, he wrote.

Moving forward, Sourov wrote, Facebook plans to extend these best practices to its new features it launches and updates to existing ones. "The lessons learned have already impacted the development of new features. We test all major features and changes in poor networking scenarios... We also expanded our playbook to other apps, such as Messenger and Instagram."

These updates to Facebook's Android app fall in line with the company's Internet.org initiative to connect more people across the globe. As Facebook approaches saturation in its primary markets, adoption in developing markets continues to rise.

According to data from the social network, Facebook's first-quarter monthly active users (MAUs) in the United States and Canada grew by just 7 million from a year earlier. MAUs in developing markets, which include Africa, grew by 68 million during the same period.

Our InformationWeek Elite 100 issue -- our 26th ranking of technology innovators -- shines a spotlight on businesses that are succeeding because of their digital strategies. We take a close at look at the top five companies in this year's ranking and the eight winners of our Business Innovation awards, and we offer 20 great ideas that you can use in your company. We also provide a ranked list of our Elite 100 innovators. Read our InformationWeek Elite 100 issue today.

Kristin Burnham currently serves as InformationWeek.com's Senior Editor, covering social media, social business, IT leadership and IT careers. Prior to joining InformationWeek in July 2013, she served in a number of roles at CIO magazine and CIO.com, most recently as senior ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Whoopty
50%
50%
Whoopty,
User Rank: Ninja
6/23/2014 | 10:26:36 AM
Net Neutrality
I wonder if moves like this are also designed to help counter potential future issues with net neutrality. Of course Facebook would be able to fit the bill for increased bandwidth for its applications and users, but I wonder if keeping the app small and efficient is simply good future proofing in a world where you may have to pay through the nose to get your information at a decent speed.
jagibbons
50%
50%
jagibbons,
User Rank: Ninja
6/21/2014 | 8:08:30 PM
Re: Very smart ...
Good point, @Lorna, if developers continue to make more apps assuming there will always be more and more bandwidth available, we'll have issues in the future. While the bandwidth might be there, it is nice to see a developer looking at ways to optimize performance and reduce overhead.
Brian.Dean
50%
50%
Brian.Dean,
User Rank: Ninja
6/21/2014 | 7:23:54 AM
Emerging Markets
The value that is created by the internet and social media through disseminating information is undeniable, and in emerging markets information can play a vital role in helping the economy to gain a higher growth rate, but the dynamics of hardware changes in emerging markets due to economics. The playing field that enables information transfer goes from Quad-cores to single cores and 2GB of ram to 512MB, etc., due to the fashion in which technology progresses, in 2 years or so, these economies will have hardware that is currently, considered standard in developed markets. 

It is also interesting to view old apps (their evolution and capability) from the period when single core was considered standards, as it helps in limiting and disabling unnecessary features.  
FrankH790
50%
50%
FrankH790,
User Rank: Apprentice
6/20/2014 | 5:11:23 PM
I'll tell you why it uses so much memory and bandwidth
Did they cut off that ridiculous data gathering function where the app listens to background sound for key sounds for "data collection and research purposes"? Does anyone really believe the app is not set up to record everything if some government agency tells facebook to flip the switch?

 

I disabled that function in my facebook app by muting my mic and my facebook app and the speed increase was amazing. Seems like most of the data and processing is going to data collection rather than providing the fucntion they claim now.

 

Nice app on Goggle Play called Mute Mic that will put a stop to their privacy bending ways.

 

 
Lorna Garey
50%
50%
Lorna Garey,
User Rank: Author
6/20/2014 | 3:09:10 PM
Very smart ...
Unless one thinks the US is going to get its spectrum act together (haha) this has implications beyond the developing world.
Social is a Business Imperative
Social is a Business Imperative
The use of social media for a host of business purposes is rising. Indeed, social is quickly moving from cutting edge to business basic. Organizations that have so far ignored social - either because they thought it was a passing fad or just didnít have the resources to properly evaluate potential use cases and products - must start giving it serious consideration.
Register for InformationWeek Newsletters
White Papers
Current Issue
InformationWeek Tech Digest Septermber 14, 2014
It doesn't matter whether your e-commerce D-Day is Black Friday, tax day, or some random Thursday when a post goes viral. Your websites need to be ready.
Flash Poll
Video
Slideshows
Twitter Feed
InformationWeek Radio
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.