Skip to content

Initial B&A feasibility and performance assessment #99

@maciejkowalczyk

Description

@maciejkowalczyk

RTB House considers Bidding & Auction (B&A) Services to be a critical component for the potential success of PAAPI. To validate its feasibility, we conducted preliminary load tests on version 4.8.1, aiming to estimate potential costs if B&A were to serve the entirety of retargeting traffic we get from Chrome browser.

Test Setup

  • Tested version: 4.8.1

  • We reused our existing infrastructure built for on-device PAAPI, including:

    • Production-ready UDF with a <200k-parameter model inference compiled to WASM

    • BYOS key-value service

  • We skipped the seller part and sent requests directly to our Buyer Frontend service

  • We used simulated, average requests, and searched for maximum stable QPS — defined as a sustained traffic level that produced no errors for at least one hour

Key assumptions

  • The ad placement inventory would stay the same after transitioning to PAAPI, including potential multiple requests for the same slot from different SSPs.

  • Chaff requests eventually should not significantly affect operational costs.

  • About ~25% of incoming real requests are filtered out by the key-value server, and UDF is run on the remaining traffic. Finally, we are placing non-zero bids on ~5% of requests.

  • This analysis also did not take k-anonymity into account, i.e. the need for producing multiple bids for each IG

While there is clearly room for optimization, the test provides meaningful signals about feasibility.

Observations

  • Using c2d instances on GCP, we observed a throughput of only ~50 IG/s/core, which implies compute costs an order of magnitude higher than our current classical RTB systems.

  • NAT costs emerged as an even more significant factor — adding another order of magnitude, largely due to the inflated size of trusted bidding signals, extended due to payload optimization.

Maturity Gaps

We also encountered some early-stage issues beyond performance limitations:

  • Missing features (compared to on-device capabilities), e.g. #174, #48, #49, #50

  • Bugs surfacing under high load, e.g. #45, #47

  • Other issues typical for software in early maturity

Conclusion

RTB House continues to view Bidding & Auction Services as essential for the success of PAAPI. However, our findings suggest that the cost-to-bid-request ratio of B&A in its current state of development is not feasible in the retargeting business.

We believe all these challenges are solvable — but doing so would require meaningful investment from multiple parties across the ecosystem. Unfortunately, we do not observe that right now — which is fully understandable, given the current lack of clarity around long-term plans for third-party cookies and the broader Privacy Sandbox direction.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions