The article reflects on the developers take away from recent enhancements of Gmail App on iOS 7 platform (iPhone, iPad). The latest enhancements consist of background app refresh of email thus avoiding users to manually refresh and get new emails. Following is the description of technology behind background refresh feature.
The new update released for Gmail App for iOS 7 platform makes use of the iOS background app refresh feature. This would mean that iOS users are no longer required to manually refresh the app to get the new emails. Following is the excerpt from Gmail blog post:
“The app now fully supports background app refresh, which means your Gmail messages will be pre-fetched and synced so they’re right there when you open the app”, Melissa Dominguez, a Google software engineer.
Lets try and understand the technology behind this. This is done using what is termed as pre-fetching technique.
When Background App Refresh setting is configured as on, Gmail app refresh themselves in the background. The app retrieves the new emails in the background when it receives a push notification, so that the new email is ready for viewing when one launch the app. At the OS level, iOS learns patterns based on the device usage and tries to predict when an app should be updated in the background. It also learns when the device is typically inactive, such as during the night, to reduce update frequency when the device is not in use. How-much to pre-fetch and when to pre-fetch is key to pre-fetching technique to avoid network bandwidth hogging. Read below to understand more about pre-fetching technique.
Google has been using Pre-fetching technique (described on this page), for sometime now, in various different products such as Picasa, Instant etc. Simply speaking, Pre-fetching technique facilitates the loading of the data ( or file or resources) even before users has asked for it. This technique can primarily be used in the scenarios (requirements) when one can guess/predict users’ next action and the download of the appropriate resources could be started in the background. The same consideration is used by iOS platform to learn the device usage patterns and pre-fetch the content accordingly. Google has been using pre-fetching feature in their photo album tool namely, Picasa.
As a developer, following considerations need to be made before one decides to use pre-fetching technique:
Following can be different reasons why one could consider pre-fetching technique:
In recent years, artificial intelligence (AI) has evolved to include more sophisticated and capable agents,…
Adaptive learning helps in tailoring learning experiences to fit the unique needs of each student.…
With the increasing demand for more powerful machine learning (ML) systems that can handle diverse…
Anxiety is a common mental health condition that affects millions of people around the world.…
In machine learning, confounder features or variables can significantly affect the accuracy and validity of…
Last updated: 26 Sept, 2024 Credit card fraud detection is a major concern for credit…