Suggested protocol skeleton, extension would oversee traffic and report latency samples to central server, central server would reply with information that can be displayed on top bar (eg: you're possibly throttled for this site)
Request:
{
version: "0.0.1", // protocol version
client: {
signature: "",
ua: ""
},
sample: {
type: "site_latency",
ts: 0, // uts?
url: "", // security concenrs? get domain only?
ip: "", // resolved ip from point of view of client
requests: [{ // should just aggregate all requests in page?
url: "" // asset url?
time: 0 // ms to complete request
size: 0 // size in mg
}]
}
}
Suggested protocol skeleton, extension would oversee traffic and report latency samples to central server, central server would reply with information that can be displayed on top bar (eg: you're possibly throttled for this site)
Request:
Response: