VOOZH about

URL: https://thenewstack.io/implementing-high-performance-ad-tech-demand-side-platforms/

⇱ Implementing High-Performance Ad Tech Demand-Side Platforms (DSPs) - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-10-09 07:01:24
Implementing High-Performance Ad Tech Demand-Side Platforms (DSPs)
sponsor-redpanda,sponsored-post-contributed,
Data / DevOps / Operations

Implementing High-Performance Ad Tech Demand-Side Platforms (DSPs)

A real-time solution architecture using Redpanda and Aerospike to support millisecond latency bidding decisions.
Oct 9th, 2023 7:01am by Daniel Landsman
👁 Featued image for: Implementing High-Performance Ad Tech Demand-Side Platforms (DSPs)
Image from Allen.G on Shutterstock.
Redpanda sponsored this post.

As companies become more data and software-driven, there is a push by technology leadership to reduce the latency gap between the time data is produced and when it is used. We see this in many industries and use cases:

  • Fraud prevention in retail and financial services, including payment processing
  • Personalization in retail, gaming and advertising
  • Route optimization for transportation
  • Mitigating emergent threats in cybersecurity

All of these examples have real consequences if data is delayed, so it is important to reduce the total time to action to stay competitive.

In this article, we’ll focus on a use case that brings billions of data points and thousands of companies together in milliseconds to make instant decisions: real-time online ad bidding.

The old advertising saying is that “half the money I spend on advertising is wasted; the trouble is, I don’t know which half.” But data is a lot easier to come by in the digital age. For example, ad exchanges can anonymously share that visitors on a given web property have recently visited both StubHub and Lionel Messi’s Instagram page. A paid ad for an Inter Miami jersey on that page is money well spent and much more likely to create a happy customer than an untargeted ad for a jersey from a different team or sport.

Interactions like this — the decisions to evaluate, buy and place ads — happen in milliseconds, millions of times a day. And critical to these transactions is the free flow of data for timely actions, often facilitated by real-time databases and streaming data platforms. Let’s look at how demand-side platforms (DSPs) in particular can implement a solution using streaming data platform Redpanda and real-time database Aerospike to achieve success in the fast-paced environment of real-time bidding.

What Is Aerospike?

Aerospike is a real-time database that ingests, stores and retrieves data, handling millions of transactions per second (TPS) throughput with sub-millisecond latency. Event streams are one of the frequent sources of data ingested into an Aerospike database. Aerospike can ingest events directly, or through its connectors, to streaming data platforms like Redpanda, Apache Kafka, Apache Pulsar and others.

It’s common to ingest data into Aerospike from a streaming topic, run several evaluations of that data and publish data to another topic, all in milliseconds. In ad tech, one key use case for Aerospike is as a user profile store. This store holds extensive anonymized information about individual users, from preferences to past interactions.

Redpanda is the streaming data platform for developers. Built with a native Kafka API, Redpanda eliminates complexity, maximizes performance and reduces costs. Its lean architecture gives you 10x lower latencies and up to a 6x lower cloud spend — without sacrificing reliability or durability.
Learn More
The latest from Redpanda

What Is Redpanda?

You can think of Redpanda as a rebuilt Kafka. Kafka, one of the most popular streaming platforms, ensures seamless communication among various parts of the online ecosystem. Redpanda uses the Kafka API to ensure compatibility with the existing ecosystem, but it is rewritten from the ground up in C++ to maximize modern hardware utilization. One of Redpanda’s selling points is its ability to reliably handle large spikes in volume, supporting up to multiple gigabytes (GB) per second on average

Demand-Side Platforms in Real-Time Bidding

To understand how DSPs fit into the ad tech landscape, we need a glimpse into real-time bidding (RTB). In RTB, advertisers compete to display their ads on websites in real time, which entails a complex engagement between supply side platforms (SSPs), DSPs, websites and ad exchanges. DSPs play a crucial role by representing advertisers and making split-second decisions to bid on ad slots. DSPs must differentiate themselves by swiftly processing data, targeting the right audience and optimizing bids to win the auction.

👁 Figure 1: Real-time bidding overview

Figure 1: Real-time bidding overview

A Real-Time Data Architecture for DSPs

In the interconnected world of DSPs, multiple key data components come into play: user profiles, available ad slots, historical data and ad creatives. DSPs need to rapidly create profiles of potential users based on available data, assess ad slot opportunities from SSP or ad exchanges, and craft bids that align with user preferences and active campaigns. This process requires efficient data movement and rapid decision-making.

This is where Redpanda and Aerospike come in. Redpanda provides a highly performant streaming engine, enabling lumpy spikes in data volumes to move through the DSP’s internal environment and across the rest of the ad tech ecosystem in milliseconds. Aerospike serves as the data historian, delivering speedy retrieval of data lookups such as users, devices and sessions. It swiftly retrieves user profiles and past interactions, allowing DSPs to craft bids tailored to individual preferences.

👁 Figure 2: Real-time data architecture for a DSP

Figure 2: Real-time data architecture for a DSP

As illustrated in Figure 2, DSPs incorporate information from ad exchanges and the publisher side, such as available ad formats and anonymized user interests and geolocation data. Some DSPs budget just 10 milliseconds to load all this data to inform their bidding process. Aerospike can ingest data in under a millisecond and will typically connect directly to an ad exchange’s API.

There are many examples where it makes more sense to decouple the data producer from the data consumer. In these cases, Aerospike can use its Kafka Connector to publish the ad exchange data to a Redpanda topic, enabling multiple services within the DSP to subscribe to the topic. A pricing optimization service, for example, could augment new real-time data with historical information about targeted users to help predict the ad spend for upcoming bids.

Redpanda provides a Kafka API that consistently delivers p50 latency as low as 5 milliseconds. Some of the DSP’s external data will go directly to a Redpanda topic, such as data on impressions and bidding results. Aerospike can also be a subscriber to any of these topics, as it extends the historical database.

DSPs harness the Kafka API to swiftly process incoming data, assess ad opportunities and generate bids. The real-time bidding environment demands speed, accuracy and the ability to handle immense data flows. The combination of Aerospike and Redpanda provides both real-time data flow and the nearly instantaneous retrieval of past data to help DSPs make informed, tailored bids. This movement and integration of data ensures that bid requests, ad opportunities and decisions flow seamlessly, enabling timely ad placements.

Conclusion: Mastering the Real-Time Landscape 

In the dynamic world of real-time bidding, demand-side platforms (DSPs) depend on powerful, modern platforms and efficient tooling to move and synthesize disparate data in mere milliseconds, to ultimately make the best bid for their clients. In one such architecture, Redpanda’s performant Kafka API synchronizes seamlessly with Aerospike’s lightning-fast retrieval of user profiles, ensuring that DSPs are armed with all the information they need to craft real-time bids that are highly personalized for users. With these platforms in their arsenal, DSPs can navigate the intricate real-time bidding ecosystem with agility and precision, paving the way for successful ad placements and enriched user experiences.

Redpanda is the streaming data platform for developers. Built with a native Kafka API, Redpanda eliminates complexity, maximizes performance and reduces costs. Its lean architecture gives you 10x lower latencies and up to a 6x lower cloud spend — without sacrificing reliability or durability.
Learn More
The latest from Redpanda
TRENDING STORIES
Daniel Landsman is global director of ad tech for Aerospike.
Read more from Daniel Landsman
Redpanda sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Real, Pragma.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.