1
 
 
Account
In your account you can view the status of your application, save incomplete applications and view current news and events
July 02, 2019

OTTO develops its own Real Time Advertising technologies

What is the article about?

If there is anything positive to be said about banner advertising from the user's point of view, it might be that it saves a paywall here and there. For OTTO, as an e-commerce - wait for it - platform, it is of course indispensable to compete for the most coveted advertising spaces. How does that work?

The business in a nutshell

When an advertisement is played out on a page on the Internet, there are basically two parties that have to come to an agreement. On one side is the marketer (supplier), who sells the advertising space for his client - the actual website. On the other side is the advertiser (demander), who wants to display his advertising on the space.

In the past, everything was simpler. The marketer sold quotas to the advertiser by phone and received a fax (or something like that) for confirmation. Today, advertising space is auctioned directly by marketers in real time. Ideally in such a way that visitors to a website are shown advertising that is relevant to them. Of course, everything is done in compliance with the GDPR.

This is why OTTO built the Orbidder

OTTO has been playing out real-time advertising on the Internet for some time now. The problem, however, is that there are numerous service providers between the marketers and OTTO. Each additional service provider makes advertising more expensive and - almost worse - less transparent.
Orbidder von OTTO
Orbidder von OTTO

In order to make the majority of service providers in this process obsolete, OTTO has built the Orbidder. This is a so-called Supply Side Platform (SSP), i.e. a service that is directly connected to the advertising spaces to be auctioned.

Normally, SSPs collect the bid requests of the advertising spaces and forward them to many service providers, e.g. to exchanges specialized in real-time advertising. At the end of a multitude of forwarders and service providers is the bidder, the so-called Demand Side Platform (DSP).

The Orbidder SSP also collects the bid requests directly from the websites, but then forwards them directly to OTTO's DSP partner Active Agent. OTTO's machine learning algorithm Orbid then decides, based on the user, how high the bid is and what advertising should be displayed. The bid is then in turn forwarded to the website by the Orbidder SSP. The number of systems on which relevant data is processed is thus minimized and implicitly optimized.

The Orbidder SSP Frontend

A standard for real-time advertising on websites that is spreading rapidly is Prebid. Prebid is an open source JavaScript library.

Anyone who markets a website can integrate this library (i.e. prebid.js) into the header of their website and configure advertising spaces. Prebid ensures that one's ad slots are routed to a variety of SSPs for auction. The website owner or marketer decides which SSPs to forward bid requests to.

Typically, all integrated SSPs have less than one second to respond to the bid requests for the advertising spaces. In the end, the highest bid is awarded by Prebid. If you as an SSP want to participate in such auctions directly via Prebid, you have to implement your own adapter for Prebid and extend the open source library, e.g. with our Orbidder adapter.

In the future, the Prebid Orbidder adapter will be used almost all over the German speaking internet. This means that every time a web page is called, bid requests are sent to the Orbidder SSP backend.

Orbidder von OTTO
Orbidder von OTTO

The Orbidder SSP Backend

The backend, i.e. the actual SSP, is the heart of the Orbidder. In its final stage, throughput is estimated to peak at about 50 thousand req/s. However, the load varies greatly throughout the day. At four o'clock in the morning, there is significantly less traffic on the German-speaking Internet than at 9 o'clock.

The main requirements for the backend are

  • unrestricted and automatic scaling
  • high streaming throughput
  • fast response times (<< 1s incl. external calls to the DSP)
  • high availability
  • cost-efficient cloud design

These requirements seemed to us to be best solvable in the cloud with Kubernetes. At the start of the project, our impression was that other cloud providers were not yet as advanced with their managed Kubernetes solution, especially in Europe, as the corresponding alternative from Google Cloud Platform (GCP).

In addition to Google Kubernetes Engine (GKE), we use other services from GCP for post-processing or data storage, such as BigQuery and Google Cloud Storage. We set up the infrastructure with Terraform.

In our Kubernetes cluster, we deploy Ngnix as a reverse proxy and as the first point of contact within the cluster after the Google L4 load balancer. Ngnix forwards the HTTP requests to our SSP web server implemented in the Go programming language, which contains the bulk of the business logic.

After an egress call to our DSP service provider Active Agent, the SSP web server answers the respective requests. For monitoring, we use Prometheus and Grafana. For certificate management, we use the Kubernetes operator Cert-Manager, which automatically creates and regularly renews Let's Encrypt certificates for us.

Keeping an eye on costs


The last requirement, cost-efficient design, seems obvious at first. However, from our point of view, an explicit mention is nevertheless appropriate, since the Orbidder SSP backend is characterized by a very high number of events (BidRequests) per second with a comparatively low payload. Event-based streaming solutions are comparatively expensive with most cloud providers and are often not worthwhile with low payloads compared to services that are charged per GB or per single instance (such as a VM).

In addition, GCP has recently started offering two network variants. The Premium network, which is enabled by default, and the less expensive Standard network. The premium network has the advantage that it forwards international network traffic through the Google Cloud particularly quickly. For our service, which generates a lot of network load but mainly answers requests from Germany or Europe, the premium network offers no added value.

By using the standard network, we can save additional costs without any loss of quality.
Cloud costs are notoriously difficult to predict accurately. However, we estimate that our current setup is less than a tenth of the costs that would have been incurred by an implementation using, for example, Google Cloud Functions (analogous to AWS Lambda).

Conclusion and outlook


The Orbidder has been in live operation since May 2019 and is currently already responding to several thousand requests per second, e.g. from t-online.de or ebay-kleinanzeigen.de. More websites are being added continuously.
To improve our technological position, we plan to integrate our Orbidder SSP backend into a service mesh in the foreseeable future. Since we are currently in GKE, Istio as the service mesh preferred by Google is an obvious possibility.

From the use of a service mesh we expect better possibilities to observe and track processes within our cluster (observability), a fine-grained control of network traffic if required, a simple mutual encryption of all traffic within the cluster (mTLS), as well as many other comfort features that simplify the operation.

Currently, however, we are working at full speed on a solution that will also enable OTTO's partners to benefit from the advantages of the Orbidder. For this reason, we will not be tackling the construction of the Service Mesh immediately.

0No comments yet.

Write a comment
Answer to: Reply directly to the topic

Written by

Rainer Volk

Similar Articles

We want to improve out content with your feedback.

How interesting is this blogpost?

We have received your feedback.

Cookies erlauben?

OTTO und drei Partner brauchen deine Einwilligung (Klick auf "OK") bei einzelnen Datennutzungen, um Informationen auf einem Gerät zu speichern und/oder abzurufen (IP-Adresse, Nutzer-ID, Browser-Informationen).
Die Datennutzung erfolgt für personalisierte Anzeigen und Inhalte, Anzeigen- und Inhaltsmessungen sowie um Erkenntnisse über Zielgruppen und Produktentwicklungen zu gewinnen. Mehr Infos zur Einwilligung gibt’s jederzeit hier. Mit Klick auf den Link "Cookies ablehnen" kannst du deine Einwilligung jederzeit ablehnen.

Datennutzungen

OTTO arbeitet mit Partnern zusammen, die von deinem Endgerät abgerufene Daten (Trackingdaten) auch zu eigenen Zwecken (z.B. Profilbildungen) / zu Zwecken Dritter verarbeiten. Vor diesem Hintergrund erfordert nicht nur die Erhebung der Trackingdaten, sondern auch deren Weiterverarbeitung durch diese Anbieter einer Einwilligung. Die Trackingdaten werden erst dann erhoben, wenn du auf den in dem Banner auf otto.de wiedergebenden Button „OK” klickst. Bei den Partnern handelt es sich um die folgenden Unternehmen:
Google Inc., Meta Platforms Ireland Limited, elbwalker GmbH
Weitere Informationen zu den Datenverarbeitungen durch diese Partner findest du in der Datenschutzerklärung auf otto.de/jobs. Die Informationen sind außerdem über einen Link in dem Banner abrufbar.