Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

responding before 50ms deadline #1171

Open
dtd1555 opened this issue May 14, 2024 · 1 comment
Open

responding before 50ms deadline #1171

dtd1555 opened this issue May 14, 2024 · 1 comment

Comments

@dtd1555
Copy link

dtd1555 commented May 14, 2024

Hi,
Is there an incentive to responding faster than the 50ms deadline for the bidding function generateBid()? Or will the PAAPI auction runner wait till 50 ms are up before collecting responses?

@JensenPaul
Copy link
Collaborator

I assume when you say 50ms that you’re referring to the default perBuyerTimeout. Before I answer your question, I want to point out that our current recommendation is for sellers to prefer using perBuyerCumulativeTimeout over perBuyerTimeout, so sellers following this advice are likely setting perBuyerTimeout to a value much higher than 50ms and relying instead on perBuyerCumulativeTimeout. In this case, buyers are incentivized to respond as soon as possible in each generateBid() invocation in order to leave time for their other interest groups’ generateBid() invocations to complete before the perBuyerCumulativeTimeout expires.

In the case that a seller is not following our recommendation and is instead relying on the default perBuyerTimeout, then they may still be using an overall auction timeout via the AbortSignal mechanism, in which case buyers are incentivized to respond promptly to avoid hitting the overall timeout.

In regards to your question “will the PAAPI auction runner wait till 50 ms are up before collecting responses?”, Protected Audience auctions following the default 50ms perBuyerTimeout will stop individual generateBid() invocations after 50ms, which ignores any unreturned bids, however bids submitted by setBid() will still be used.

@dtd1555, would you mind adding your full name to your GitHub profile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants