Closed Bug 1019785 Opened 10 years ago Closed 9 years ago

[meta] Background sync scheduling framework for FirefoxOS

Categories

(Cloud Services :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jedp, Unassigned)

References

Details

(Keywords: meta)

This is the meta-bug for 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.

The precise meaning of "sync" could vary from app to app. It could be simple remote backup, or it could be a full transactional two-way sync with conflict resolution, de-duplication, etc.

Proposed standards and work in progress on FirefoxOS would support this system, in particular BackgroundSync [1] and ServiceWorkers [2].

[1] https://github.com/slightlyoff/BackgroundSync/blob/master/explainer.md 
[2] https://github.com/slightlyoff/ServiceWorker/blob/master/explainer.md
Keywords: meta
OS: All → Gonk (Firefox OS)
Summary: [meta] Background Sync framework for FirefoxOS → [meta] Background sync scheduling framework for FirefoxOS
Assignee: nobody → jparsons
Taking this off Jed's plate. Ian LMK where you want it to end up.
Assignee: jed+bmo → spenrose
This work is no longer planned.
Assignee: spenrose → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Note this work has continued elsewhere: http://143th.net/post/108551021821/requestsync-api
You need to log in before you can comment on or make changes to this bug.