Closed
Bug 694149
Opened 13 years ago
Closed 13 years ago
Tweak sync intervals to reduce server load
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
VERIFIED
FIXED
mozilla10
People
(Reporter: philikon, Assigned: philikon)
References
Details
(Keywords: verified-aurora, verified-beta, Whiteboard: [verified in services])
Attachments
(1 file, 1 obsolete file)
3.47 KB,
patch
|
asa
:
approval-mozilla-aurora+
asa
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
As discussed, we're going to make the following tweaks to the sync intervals to reduce the server load created by an individual client: * Increase the singleDeviceInterval from 1 to 24 hours (reverting bug 678588) * Increase activeInterval from 5 to 10 minutes. * Increase immediateInterval from 60 to 90 seconds. Flagging for tracking-firefox9 and firefox8 as a heads up to release-drivers. The risk of these changes is very small as they only involve tweaking default pref values.
Assignee | ||
Comment 1•13 years ago
|
||
Patch tweaking the default pref values as discussed in comment 0. Requesting approval for Aurora and Beta so that this mitigation takes effect as soon as possible. As mentioned in comment 0, the risk is minimal as we're simply tweaking default pref values.
Attachment #566638 -
Flags: review?(rnewman)
Attachment #566638 -
Flags: feedback?(rsoderberg)
Attachment #566638 -
Flags: approval-mozilla-beta?
Attachment #566638 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #566638 -
Flags: review?(rnewman) → review+
Attachment #566638 -
Flags: feedback?(rsoderberg) → feedback+
Assignee | ||
Comment 2•13 years ago
|
||
Of course tweaking the interval values made some SyncScheduler tests fail because they used some hardcoded dummy values for backoff. Fixed! Please see comment 1 for Aurora/Beta approval justification. Thanks!
Attachment #566638 -
Attachment is obsolete: true
Attachment #566638 -
Flags: approval-mozilla-beta?
Attachment #566638 -
Flags: approval-mozilla-aurora?
Attachment #566710 -
Flags: approval-mozilla-beta?
Attachment #566710 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•13 years ago
|
||
https://hg.mozilla.org/services/services-central/rev/9a34387605ea STRs for QA: * Single device users should sync once every 24 hours instead of once per hour. With bug 692249 having landed alongside this bug, this should also carry over browser restarts. * Multi-device users should sync every 10 minutes (instead of 5 minutes before) when their machine is under active use. When they're using two or more machines at the same time (two or machines are uploading records), the interval now drops to 90 seconds (instead of 60 before). The interval for idle machiens (1 hour) is unchanged.
Whiteboard: [fixed in services]
Comment 4•13 years ago
|
||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0a1) Gecko/20111017 Firefox/10.0a1 Mozilla/5.0 (Android; Linux armv7l; rv:10.0a1) Gecko/20111017 Firefox/10.0a1 Fennec/10.0a1 Mozilla/5.0 (Windows NT 6.1; rv:10.0a1) Gecko/20111017 Firefox/10.0a1 Mozilla/5.0 (X11; Linux i686; rv:10.0a1) Gecko/20111017 Firefox/10.0a1 Verified on all OSs. Single device per account users sync every 24 hours Prerequisites: 1. Sync is set up on device 2. History items are available on device STR: 1. Start Browser and make sure last sync was successfull 2. Close browser 3. Change device time to more than 1 hour since last sync 4. Start the browser and wait 1-2 minutes Result: Sync is not performed 5. Close browser 6. Change device time to 1-2 minutes before 24 hours since last sync 7. Wait for the time to pass until 24 hours since last sync Result: Sync is performed after 24 hours since last sync Multiple device per account users sync every 10 minutes (or 90 seconds if the last sync downloaded new item(s) from the server) Prerequisites: 1. Sync is set up on device 2. History items are available on device STR: 1. Start Browser and make sure last sync was successfull 2. Close browser 3. Change device time to less than 10 minutes since last sync 4. Wait for the time to pass until 10 minutes since last sync Result: Sync is performed after 10 minutes since last sync Note: On Mac, sync is performed after every 90 seconds, even if no items were retrieved at last sync. Is this expected?
Comment 5•13 years ago
|
||
sync intervals are correctly well at new defaults seen on latest s-c builds.
Whiteboard: [fixed in services] → [verified in services]
Updated•13 years ago
|
Attachment #566710 -
Flags: approval-mozilla-beta?
Attachment #566710 -
Flags: approval-mozilla-beta+
Attachment #566710 -
Flags: approval-mozilla-aurora?
Attachment #566710 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 6•13 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/ef5f3c44d034
Assignee | ||
Comment 7•13 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/ab251d661e5b
Comment 8•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9a34387605ea
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
Assignee | ||
Updated•13 years ago
|
Target Milestone: mozilla8 → mozilla10
Comment 9•13 years ago
|
||
verified across channels
Status: RESOLVED → VERIFIED
Keywords: verified-aurora,
verified-beta
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•