Closed
Bug 972609
Opened 12 years ago
Closed 12 years ago
Fuzz the x-weave-backoff header
Categories
(Cloud Services Graveyard :: Server: Sync, defect, P3)
Cloud Services Graveyard
Server: Sync
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rfkelly, Assigned: rfkelly)
Details
(Whiteboard: [qa?])
Attachments
(2 files)
|
2.74 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
|
1.73 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
We currently apply a few seconds of "fuzzing" around the value of the Retry-After header, to help mitigate a dogpile of clients all retrying at the same time. We should probably do the same for the X-Weave-Backoff and X-Backoff headers across all our properties.
Comment 1•12 years ago
|
||
fwiw, clients also fuzz.
| Assignee | ||
Updated•12 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Updated•12 years ago
|
Whiteboard: [qa?]
| Assignee | ||
Comment 2•12 years ago
|
||
This patch moves the fuzzing logic into mozsvc so that it can be shared with tokenserver, and extends it to apply to other backoff-related headers.
Attachment #8376925 -
Flags: review?(telliott)
| Assignee | ||
Comment 3•12 years ago
|
||
And a corresponding patch to remove it from syncstorage.
The existing fuzzing logic added a random number between 0 and 5 seconds. In the new version, I went with a "5% or 5 seconds, whichever is greater" approach because ISTM that if clients have to wait longer, we should also spread them out over a longer period of time.
Attachment #8376926 -
Flags: review?(telliott)
Updated•12 years ago
|
Attachment #8376926 -
Flags: review?(telliott) → review+
Updated•12 years ago
|
Attachment #8376925 -
Flags: review?(telliott) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
https://github.com/mozilla-services/mozservices/commit/344449e3d9dad7e930c2defb617833903d118228
https://github.com/mozilla-services/server-syncstorage/commit/05a36115c104efb152702d9c43354ae43a977aa4
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•