Cloud Services/FirefoxOS Sync: Difference between revisions

m
Line 1: Line 1:


== Objective ==
== Objective ==
[https://bugzilla.mozilla.org/show_bug.cgi?id=1019785 Meta Bug]


This is a proposal to create a framework on FirefoxOS to support apps that wish to synchronize data with a remote server.  The framework itself would not provide a means of performing sync; it would not be a general-purpose "sync engine".  Rather, it would permit apps to request to be awakened in the background to sync data periodically.  When conditions were suitable (e.g., wifi were available, system load were low), apps would be awakened in turn and given an opportunity to sync.  An app awakened for background sync should be given some protection by the system, such as a better OOM-kill score, to increase the likelihood that it would complete successfully.
This is a proposal to create a framework on FirefoxOS to support apps that wish to synchronize data with a remote server.  The framework itself would not provide a means of performing sync; it would not be a general-purpose "sync engine".  Rather, it would permit apps to request to be awakened in the background to sync data periodically.  When conditions were suitable (e.g., wifi were available, system load were low), apps would be awakened in turn and given an opportunity to sync.  An app awakened for background sync should be given some protection by the system, such as a better OOM-kill score, to increase the likelihood that it would complete successfully.
Confirmed users
90

edits