patcg-individual-drafts / private-aggregation-api

Explainer for proposed web platform API
https://patcg-individual-drafts.github.io/private-aggregation-api/
39 stars 15 forks source link

Measuring buyer’s timeout #119

Open ardianp-google opened 4 months ago

ardianp-google commented 4 months ago

In PA-API, the seller can specify perBuyerCumulativeTimeouts, but it’s unclear how the buyers can measure:

The above metrics are essential for optimizations. Any suggestions or thoughts to get that number?

I am aware that some of those metrics are sent to the seller (https://github.com/WICG/turtledove/blob/main/FLEDGE_extended_PA_reporting.md#reporting-per-buyer-latency-and-statistics-to-the-seller) via Private Aggregation API, but those metrics (and the denominators) will also be interesting for the buyers.

There’s also a discussion in the same article under “Reporting API informal specification” that touches generateBid() hitting timeout, but it’s not obvious how that handles per-auction metrics instead of per interest-group.

morlovich commented 6 days ago

Hi... So we've been looking to potential ways of addressing feedback given here and in similar issues, and put together a doc with a possible direction:

https://docs.google.com/document/d/1EHVJkKUKIL4dMFrcJ6FJH65Ad4Ml7pKZ8Iepft5OvYk/edit?usp=sharing

we would appreciate feedback on the overall approach, and also on the particularities of metrics and how well they suit their needs (including, of course, potential alternatives you would find preferable). Probably easiest to put it here, since I don't know how to sensibly ACL a public doc so it's accessible to people and not spammers.