Add telemetry for usage of speculative HTTP connections
Categories
(Core :: Networking, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox113 | --- | fixed |
People
(Reporter: ggp, Assigned: acreskey)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [necko-would-take])
Attachments
(3 files)
|
2.90 KB,
patch
|
Details | Diff | Splinter Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
3.15 KB,
text/plain
|
chutten|PTO
:
data-review+
|
Details |
| Reporter | ||
Comment 1•12 years ago
|
||
Comment 4•12 years ago
|
||
Updated•12 years ago
|
Updated•9 years ago
|
Comment 5•8 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 6•2 years ago
|
||
Until general speculative connections are fixed (bug 1816678) we will be limited in what we are gathering.
We have httpconnmgr_unused_speculative_conn, "How many speculative connections are made needlessly", which is uniformly reporting the value 1
Also some network predictor speculative probes:
PREDICTOR_TOTAL_PRECONNECTS - 0
PREDICTOR_TOTAL_PRECONNECTS_CREATED - 1.15
PREDICTOR_TOTAL_PRECONNECTS_UNUSED - 1.15
PREDICTOR_TOTAL_PRECONNECTS_USED - 1.15
(I don't understand the results but maybe it's because the connections are not being made.)
What we can add now is tracking of how often our current speculative-connection pool is maxed out.
| Assignee | ||
Comment 7•2 years ago
|
||
We want to have a better understanding of speculative connect failures and socket limit exhaustion before the fix to Bug 1813618 lands.
Updated•2 years ago
|
| Assignee | ||
Comment 8•2 years ago
|
||
Please see attached request for data review.
Comment 9•2 years ago
|
||
Comment on attachment 9321369 [details]
spec_connect_data_review.md
DATA COLLECTION REVIEW RESPONSE:
Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes.
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. This collection can be controlled through Firefox's Preferences.
If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes, acreskey@mozilla.com and necko@mozilla.com are responsible.
Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 1, Technical.
Is the data collection request for default-on or default-off?
Default on for all channels.
Does the instrumentation include the addition of any new identifiers?
No.
Is the data collection covered by the existing Firefox privacy notice?
Yes.
Does the data collection use a third-party collection tool?
No.
Result: datareview+
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
Backed out for causing build bustages in nsHttpConnectionMgr.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:3531:7: error: use of undeclared identifier 'glean'
| Assignee | ||
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 14•2 years ago
|
||
I put up a query for the speculative connect outcomes:
https://sql.telemetry.mozilla.org/queries/91069#225437
About 94% abort rate, but note that the vast majority of these are technically the 'early connect' behaviour of nsHttpChannel, not strictly 'speculative connections.'
Description
•