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

Here Are Some Of The Air-conditioned New Home Awning Appearance On The Galaxy S9

While millions agilely anticipate the accession of the Galaxy S9 and all the new appearance it has to offer, we can absolutely get a glimpse of its capabilities appropriate now — if we apperceive breadth to look. The S9's home screen, in particular, is one such breadth that has new appearance we can examination now. The Galaxy S9 is slated to appear with a ton of chic features, such as notification channels and a revamped Samsung keyboard, address of Android Oreo. One key aspect we capital to flash a ablaze on was the S9's apprehensive home screen, and the new options it brings to the table. Don't Miss: All the Best New Software... more

Improve Bluetooth Audio On Your Galaxy S9 With Custom Codecs

Many Samsung admirers were aflame back the Galaxy S9 kept the 3.5 mm headphone jack. While this is a attenuate contentment in 2018, you additionally accept the advantage for aerial affection audio playback over Bluetooth. Back acclimated with accordant headphones, the S9's new Bluetooth audio codecs can abundantly advance audio quality. Starting with Android Oreo, Google added several college affection bluetooth audio codecs. In essence, a codec is the algorithm your accessory uses to accelerate audio advice over the air. Each codec varies in affection and can alone be acclimated with accordant pieces of hardware, such as speakers or... more