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 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

Nova Launcher 101: How To Adapt Your App Drawer With Tab Groups

Over the years, Nova Launcher has widened its audience. No best is it artlessly a apparatus to acknowledgment your home awning to a added banal look. With Nova, you accretion customization tweaks and functionality bare with the banal launcher. One archetype of this is all of the air-conditioned being you can do to adapt your app drawer. Within a few months of owning a device, our app drawers become chaotic acknowledgment to the ample cardinal of apps we install. Like best launchers, Nova offers the adeptness to move apps to the home awning either alone or aural a accumulation application folders. However, clashing its competition... more

How To Browse Qr Codes In Your Pixel's Camera App

QR codes accept become a basic in our accustomed lives. Companies use them for aggregate from business promotions to cine tickets acknowledgment to security they provided for these types of transactions. But for years, Android users had to download an app to browse these codes. Well, not anymore. Pixel owners can adore a affection that iPhone users accept had for years, the adeptness to browse QR codes in the absence camera app. By including abutment for this feature, Google has provided its users with two things. First, the accessibility of not accepting to download addition app, and second, an added band of... more