Facebook now loads images 15% faster on iOS, cuts Android errors by 8%

...

Perhaps you’ve asked yourself if pictures, videos, and words have been showing up more quickly than before inside Facebook’s flagship mobile app. Well, they have been. Today Facebook engineers are talking about the hard work they’ve done recently to speed up rendering for Facebook’s iOS and Android apps.

For the Facebook iOS app, engineers some time ago adopted an image format called Progressive JPEG (PJPEG), Facebook explained today in an engineering blog post. Using the format means downloading several better and better versions of a picture. An iOS device can download and render the first, and lowest-quality, version of an image and then update the image with better versions later. The method replaces a previous rendering model that involved downloading URLs for standard JPEGs and then downloading the JPEGs themselves.

The hack benefits Facebook and end users in multiple ways.

“Using PJPEG, we can show a good image 15 percent faster than before,” Facebook engineering manager Tomer Bar wrote in the blog post. “This image is barely discernible from the full-quality version.”

What’s more, implementing PJPEG means using up 10 percent less data than Facebook for iOS with standard JPEG, Bar wrote.

Meanwhile, on Android, thanks to a rethinking of how content is rendered in News Feed, developers have cut down on the number of out-of-memory errors that users get by 17 percent. Total error count is down by 8 percent.

The hacks suggest a few things: Facebook is keen on ensuring a smooth user experience for mobile users, which presumably could also improve the performance of ads, which generate revenue for Facebook. And beyond that, it looks like Facebook wants to impress mobile developers outside of the company and convey that it’s a place to participate in considerable engineering feats at scale. Or then again, maybe Facebook just wants to brag a little bit.

Check out the blog posts on Android and iOS improvements for the full lowdown.

Categories
APPLICATIONS
0 Comment

Leave a Reply

Captcha image


RELATED BY

  • 5300c769af79e

    The Show: Episode 130 - Hey, CES Happened

    On this episode of the Droid Life Show, we’re taking some time to recap CES 2017.I know, CES wrapped last week, but we haven’t had a chance to share our experience that is almost always worth sharing.
  • 5300c769af79e

    Nokia, SK Broadband Testing 52Gbps Speeds in S. Korea

    With Google Fiber's 1 gigabit per second Internet connection, users can simultaneously stream five HD videos and surf the net or download an entire 14GB digital movie in less than two minutes.Now imagine what you could do with 52Gbps.
  • 5300c769af79e

    AT&T, Time Warner Defend Merger to Lawmakers

    AT&T and Time Warner executives this week appeared before a subcommittee of the Senate Judiciary Committee to respond to lawmakers' concerns about their US$84 billion merger.However, the merger would lead to higher costs for other providers trying to access Time Warner programming, including HBO, CNN, Turner, and other major networks, argued Gene Kimmelman, CEO of Public Knowledge.
  • 5300c769af79e

    Tweets May Soon Breeze Past 140-Character Limit

    In an effort to better monetize its platform and boost user traffic, Twitter may relax the 140-character limit on individual tweets by no longer counting photos and Web links, Bloomberg reported earlier this week.Raising the character limit would make a stronger case for increasing user engagement on Twitter, Dorsey said.