Sampling Ad Exchange Events at Scale: What We Kept, What We Dropped, and Why

https://hackernoon.imgix.net/images/RucW1OC2vWhUTCz9Ot6iEQf9lPl1-2l83bam.jpeg

At Unity, our ad exchange logged every stage of an auction into Kafka. This included the bid request, bid responses, filters applied, auction decision, fill, impression, and click events. When I looked at the data volume, I found that we were processing around 10 GB per second.

The problem was that every downstream Spark job had to process this entire volume, even when it only needed a small part of the data.

I was the only data engineer in a virtual pod working on this project, along with two product managers, two senior software engineers, and an architect. I proposed sampling the stream and also suggested changes to the Spark clusters running the reports. Here is how we approached the problem and what we learned along the way.

Where was the money actually going?

The data was costing us money at multiple stages. Kafka had to retain and replicate it,...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more

https://variety.com/wp-content/uploads/2026/11/Elon-Musk.jpg?w=1000&h=563&crop=1

At DealBook, Elon Musk says he feels “pretty foolish” after spending nearly $500M backing Republicans in midterms won by Democrats and claims “I'm not MAGA”

More: Digital Foundry on YouTube, Kotaku, IGN, IGN, Kotaku, The Guardian, Axios, The Guardian, MobileSyrup, Game Informer, Eurogamer.net, Streams Charts, Digital Foundry, Eurogamer.net, IGN, PCMag, New York Times, TechRadar, Windows Central, Windows Central, Fortune, Wccftech, Video Games Chronicle, Kotaku, Eurogamer.net, UnHerd, GamesRadar, Mashable, Washington Post, Reuters, TechEBlog,

https://9to5google.com/wp-content/uploads/sites/4/2026/11/gemini-4-neon-cover.webp?resize=1200,628

Gemini 4 Neon costs $3/1M input tokens and $15/1M output tokens; the model sits between Hydrogen and Carbon and replaces Argon in the Gemini app

More: Digital Foundry on YouTube, IGN, Kotaku, IGN, Kotaku, The Guardian, Axios, The Guardian, MobileSyrup, Game Informer, Eurogamer.net, Streams Charts, Digital Foundry, Eurogamer.net, IGN, PCMag, New York Times, TechRadar, Windows Central, Windows Central, Fortune, Wccftech, Video Games Chronicle, Kotaku, Eurogamer.net, UnHerd, GamesRadar, Mashable, Washington Post, Reuters, PC