Closed Bug 1479898 Opened 7 years ago Closed 6 years ago

Consider increasing the application reputation remote lookup timeout

Categories

(Toolkit :: Safe Browsing, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: francois, Assigned: dimi)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

We currently see about 3% of beta users failing to reach the application reputation server: https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2018-07-26&keys=__none__!__none__!__none__&max_channel_version=beta%252F62&measure=APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT&min_channel_version=nightly%252F51&processType=*&product=Firefox&sanitize=1&sort_keys=submissions&start_date=2018-06-25&table=1&trim=1&use_submission_date=0 We should consider increasing that timeout (currently 10 sec, see browser.safebrowsing.downloads.remote.timeout_ms) maybe by 50% (15 sec) to see if it helps at all.
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Right now no matter it is timeout or not, we will always add the counter to the false case of APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT. We should only set the counter(false) when it is not timeout.
Telemetry::APPLICATION_REPUTATION_REMOTE_LOOKUP_RESPONSE_TIME can be used to give us an idea how could we adjust the timeout accordingly.
3% download protection remote lookup failures are from timeout. Increase the timeout from 10sec to 15sec to see if this help.
Comment on attachment 9007219 [details] Bug 1479898 - P3. Increase the application reputation remote lookup timeout to 15sec. r?francois François Marier [:francois] has approved the revision.
Attachment #9007219 - Flags: review+
Attached file request-bug1479898.txt
Attachment #9009944 - Flags: review?(francois)
Comment on attachment 9007216 [details] Bug 1479898 - P1. Only set false to APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT when it is not timeout. r?francois François Marier [:francois] has approved the revision.
Attachment #9007216 - Flags: review+
Comment on attachment 9007218 [details] Bug 1479898 - P2. Add telemetry to know the response time of download protection remote lookup. r?francois François Marier [:francois] has approved the revision.
Attachment #9007218 - Flags: review+
Comment on attachment 9009944 [details] request-bug1479898.txt 1) Is there or will there be **documentation** that describes the schema for the ultimate data set available publicly, complete and accurate? Yes, in Histograms.json. 2) Is there a control mechanism that allows the user to turn the data collection on and off? Yes, telemetry setting. 3) If the request is for permanent data collection, is there someone who will monitor the data over time?** Yes, Dimi Lee. 4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under? ** Category 1. 5) Is the data collection request for default-on or default-off? Default ON, all channels. 6) Does the instrumentation include the addition of **any *new* identifiers** (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)? No. 7) Is the data collection covered by the existing Firefox privacy notice? Yes. 8) Does there need to be a check-in in the future to determine whether to renew the data? No, permanent.
Attachment #9009944 - Flags: review?(francois) → review+
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d39eab1a17c P1. Only set false to APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT when it is not timeout. r=francois https://hg.mozilla.org/integration/autoland/rev/4d2c3be4d725 P2. Add telemetry to know the response time of download protection remote lookup. r=francois https://hg.mozilla.org/integration/autoland/rev/12f48815d40f P3. Increase the application reputation remote lookup timeout to 15sec. r=francois
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: