Skip to main content

Instagram is using code optimization to reach users with poor connections

One issue Instagram faces as it continues to try and expand its userbase is how to reach folks who are in parts of the world without great internet access. That’s why the Facebook-owned company has turned to a New York-based team of engineers to help streamline and optimize its app for better compatibility with network […]


Doubts and uncertainties about your partner’s honesty can ruin your relationship. If your spouse is using LINE messenger, a free LINE spy app can help you to find out the truth about your relationship.


One issue Instagram faces as it continues to try and expand its userbase is how to reach folks who are in parts of the world without great internet access. That’s why the Facebook-owned company has turned to a New York-based team of engineers to help streamline and optimize its app for better compatibility with network environments that don’t involve omnipresent high-speed access.

A key issue with building systems that improve performance is that it can be hard for software engineering teams to see when users are being turned off of an app. Lola Priego, an engineer on the team in New York that’s responsible for maintaining performance in the Instagram app, said in an interview with VentureBeat that people will stop using an app if it doesn’t perform well, so it can be hard to tell when those performance issues are affecting user experience.

“Performance is really difficult to identify through metrics,” Priego said. “If the performance of the app isn’t good, you won’t use it.”

While users in markets like the U.S. will often have strong network connections and high-performance phones with recent versions of their respective operating systems, that’s not necessarily the case in other countries. The sorts of practices that work well enough in other markets don’t translate as well across borders.

Priego and her team developed a system that lets Instagram’s app pre-fetch content while on a strong network connection, so that customers can see photos from their friends that have been uploaded to the social network between the last time they closed the app and when they’re expected to next open it.

The system works by trying to predict when people will re-open the app, and then fetching the latest data just in time for folks to see the most up-to-date stuff. That way, if they’re unable to connect to a network (or the networks they’re on limits how much bandwidth they can use), it’s still possible for them to get up-to-date images.

All of that is baked into a framework that Instagram engineers can use to enable prefetching for the features they’re working on within the application.

In addition to that system, another part of the performance team developed a system for the Instagram Android app that makes it easier for developers to split each function within the app into different modules that can then be loaded independently of one another. That helps improve a key metric: startup time.

Previously, Instagram’s Android app had different features that relied on one another to get going, which is something the company has been working to do away with, according to Julian Krzeminski, a senior software engineer at the company. Now, the different components of the app are decoupled from one another.

Because the app doesn’t need to load all of its components at once, it’s possible for people to start browsing Instagram faster, while the system uses “lazy loading” to pull in additional modules roughly when it makes sense. Assuming it all goes according to plan, people should actually see improved performance.

Instagram open sourced its tools for lazy loading, which means that Java developers writing Android apps can start taking them for a spin when contemplating how to optimize their applications’ performance. Those tools aren’t necessarily right for every developer, since the require a certain degree of technical skill and understanding of how Android works, but for companies that are looking to expand their reach or improve their applications’ performance, this could be a boon.

Comments

Popular posts from this blog

How To Analysis If Your Apps Are Targeting Oreo

Starting November 1, 2018, Google will crave that all new apps and updates to absolute apps ambition Android 8.0 Oreo or higher. This move agency the developers abaft abounding of your admired apps are now scrambling to get their software modernized, while others are because abandoning anachronous apps altogether. Many apps accept already been adapted to ambition Oreo, so they'll booty advantage of all the new accoutrement offered on accessories active Android 8.0 or higher. To be clear, this doesn't beggarly your apps won't assignment on earlier Android versions, aloof that they'll assignment bigger if you're active a newer... more

How Google and Amazon are hooking kids from an early age

ANALYSIS: Google announced a notable update to YouTube Kids this week, one that gives parents a range of tools to tailor the app for their kids. Among the new features is one that lets parents create individual profiles for each of their offspring. They can set each kid up with their own passcode to keep siblings […]

How To Use Odin To Beam Samsung Galaxy Banal Firmware

If you own a Samsung phone and adore acclaim or modding your device, aflame official firmware can be actual useful. Odin is Samsung's own centralized affairs for loading such updates for testing purposes, and it's absolutely accessible to use for your own custom modification needs. Though Odin is adequately simple, there are a few requirements and basics you'll charge to apprentice first. While you can use some hacking to get Odin on a Mac, the built-in affairs works alone with Windows. We will focus on instructions for use on a PC in this article. Requirements Windows PC USB abstracts cable Step 1: Find Odin Firmware... more