msgbartop
All about Google Chrome & Google Chrome OS
msgbarbottom

19 Nov 11 Coming soon to Firefox – quick background updates


That doesn’t appear to be having any kind of a dampening effect on Firefox users, however, who have apparently been upgrading to version 8 of the software with gusto. Less than a week after Firefox 8′s November 8 release, in fact, the new version already accounted for a full 35% of all Firefox traffic, analytics firm Chitika reported.

Meanwhile, Mozilla’s Firefox team is continuing its push with new features for the popular browser. Indeed, just the other day Firefox engineer Ehsan Akhgari described a new effort now under way to make Firefox updates take place in the background.

‘This is clearly less than ideal’

“The goal of my project is to minimise the amount of time it takes for Firefox to launch after downloading an update,” wrote Akhgari in a blog post on Mozilla’s Future of Firefox site.

Currently, Firefox updates are downloaded in the background and then staged in a directory until the next time the software starts up. When that next time comes, Firefox launches an updater program and applies the update on top of the existing installation, with a progress bar to show the user how much time remains.

Only when the update process is finished will the updater program restart Firefox, causing users to have to wait until that’s done. “This is clearly less than ideal,” Akhgari wrote.

‘Swapping directories is really fast’

With the new process – it will be much less visible to users.

Specifically, when Firefox finishes downloading an update, it will launch the updater program in the background and apply the update in a brand-new directory that’s completely separate from the existing installation directory. There, it will stage an entire updated version of Firefox rather than just the update itself, Akhgari notes.

So, the next time Firefox starts up, the existing installation can then simply be swapped with the new, updated one without any progress bar or interruption for users.

“Swapping the directories, unlike the actual process of applying the update, is really fast,” Akhgari explained. “We are effectively moving the cost of applying the update to right after the update has been downloaded while the browser is running. This leaves only the really fast copy operation to be performed the next time that the browser starts up.”

Time for testing

The new background updates are still in the testing stages, and Mozilla isn’t yet sure in which version they’ll make their debut. In the meantime, though, the team welcomes testing help, and has set up a temporary channel called Ash in which the latest builds can be downloaded. Directions for testing are spelled out at the end of Akhgari’s blog.

Article source: http://www.computerworlduk.com/in-depth/applications/3319411/coming-soon-to-firefox--quick-background-updates/

Tags: ,

Comments are closed.