Snapshot
Group: OpenX is the world’s main unbiased supply-side platform for viewers, information, and identification focusing on.
Problem: OpenX should guarantee constant, efficient supply of real-time dynamic providers on the scale of a whole lot of billions of advert requests per day, requiring substantial compute assets, whereas additionally sustaining their Web Zero and CarbonNeutral® certification and standing.
Answer: OpenX migrated a portion of their cloud compute to leverage AmpereOne-powered C3A situations obtainable by way of Google Cloud Platform.
Outcomes: OpenX achieved efficiency parity out of the field with Ampere situations, compared with x86 situations, in addition to among the quicker chips from a number of established {industry} leaders.
Case Examine
OpenX makes use of AmpereOne®-powered C3A situations on Google Cloud to drive sustainability and efficiency at scale.
OpenX is a programmatic promoting platform that helps digital publishers monetize their properties by way of dynamic promoting that’s purchased and offered in actual time and helps advertisers successfully goal their audiences by way of data-driven curation. Ampere® spoke with Mark Chodos and Kenneth Kharma from OpenX to get a deeper understanding of how cloud compute from Google Cloud C3A situations constructed on AmpereOne assist their platform group obtain optimistic outcomes throughout each sustainability and efficiency.
100% Cloud Based mostly, CarbonNeutral Licensed, Web-Zero Verified
OpenX is an unbiased omni-channel supply-side platform (SSP) and a worldwide chief in supply-side curation, transparency, and sustainability. By means of its 100% cloud-based tech stack, OpenX powers promoting throughout CTV, app, cell internet, and desktop, enabling publishers to ship entrepreneurs with improved efficiency and dynamic future-proofed options. With a 17-year observe file of programmatic innovation, OpenX is a direct and trusted companion of the world’s largest publishers, working with greater than 130,000 premium writer domains and over 100,000 advertisers. Because the market chief in sustainability, OpenX was the primary adtech firm to be licensed as CarbonNeutral® and third-party verified for reaching its SBTi Web-Zero targets.
OpenX is the one 100% cloud-based SSP boasting probably the most environment friendly tech stack within the {industry}. Since shifting to wholly function on the Google Cloud Platform (GCP), the product and platform groups have successfully improved efficiency, scalability, velocity, and world attain. This consists of outcomes similar to protection throughout world areas and markets; considerably lowered time to marketplace for new merchandise and options with full CI/CD pipelines and automatic infrastructure; and drove some price discount and the flexibility to construct superior AI capabilities powered by Google Cloud AI (Cloud TPU, Kubeflow, AutoML).
Sustainable efficiency throughout billions of transactions
Ampere linked with Mark Chodos, Workers Website Reliability Engineer, and Kenneth Kharma, Distinguished Engineer for Privateness and Sustainability from the OpenX platform group, which owns validating new merchandise and options which might be delivered by way of GCP. A part of the group’s constitution encompasses a concentrate on sustainability initiatives inside OpenX, which incorporates fixed optimization of their utilization of GCP and discovering cost-effective methods to cut back or offset carbon emissions generated by compute intensive assets. Based on Mark, “Google supplies loads of good information on the emissions affect we’ve inside our platform,” which then equips OpenX with among the insights they should successfully allocate and scale compute assets.
As an SSP, OpenX facilitates a good worth change between advertisers, and publisher-owned web sites, domains, apps, brokering the position of advertisements on publishers’ digital actual property. These channels ship requests by way of OpenX, which, in actual time finds advertisers or potential consumers for these advert spots, whereas additionally returning the most effective bid again together with the advert inventive related to it, which then will get displayed on obtainable writer properties. Due to the quantity of requests and the timing required to satisfy the calls for of this change between advert pricing, availability, and serving, among the most fixed, business-critical optimizations for OpenX are round scale and latency.
There’s a substantial quantity of backend infrastructure and know-how that allows a bunch of capabilities to run seamlessly, and in parallel. Based on OpenX, this consists of parts like their consumer interface, a administration API, and advert supply and information techniques. Their supply and information techniques are the very best throughput and the most important customers of their GCP assets. The supply techniques are notably compute heavy as a result of “We’re operating transactions on a whole lot of billions of advert requests per day – and once more, we have to do this with low latency, inside milliseconds,” Chodos shared.
On the information facet, “we’re dealing with petabytes of information per day, which we have to course of, mixture, after which ship reviews on in a well timed vogue.” To rapidly generate and render that information in usable outputs like inside dashboards and customer-facing reviews, OpenX shifted away from utilizing microservices, in favor of the Google Kubernetes Engine (GKE) and Google’s BigQuery service, which aligns with their absolutely deployed in Google Cloud technique. It additionally allows OpenX to maximise its use of regional information facilities to meet requests as shut as potential to the supply.
Seamless entry to Ampere’s industry-leading compute efficiency
OpenX has been 100% cloud-based since 2019 and was the primary SSP to shift absolutely to the cloud. Mark Chodos was launched to the Ampere group in 2023 at Google Cloud Subsequent, and the 2 corporations linked over the mutual alternative to ship highly effective, sustainable cloud compute and providers at scale. With AmpereOne powering GCP’s C3A situations, OpenX’s integration of Ampere into their compute optimization initiative was seamless, with efficiency proving to be on par or higher than different cloud-based occasion suppliers.
When OpenX enacted its cloud migration in 2019, the platform group that their purposes have been containerized and run in Kubernetes, which helped as soon as Chodos began exploring using Ampere and Arm-based structure for 3 purposes. The apps every used completely different programming languages, a part of the core OpenX advert supply system. The primary software is the OpenX entrance finish software, known as “Frontier”, written in Golang – it immediately receives requests from the load balancer and kickstarts every advert transaction.
The second software, known as “Dealer”, is a Java software that acts because the hub of the OpenX advert supply system, receiving the advert requests, processing them by way of different backend providers, and out to a 3rd software – their server-side real-time bidding service (SSRTB), written in Erlang. That service intakes advert requests, sends them out to demand facet platforms (DSPs) at upwards of a trillion or extra requests per day, receives return responses, and routes them again by way of the opposite purposes. For OpenX, it’s enterprise important that every one requests processed as rapidly as potential, with minimal latency and excessive throughput.
All three purposes and the quite a few duties they carry out, together with sending and receiving requests and real-time information processing and streaming, are compute-intensive and run effortlessly on Ampere’s C3A situations. On account of Ampere’s single-threaded core design, C3A situations supply far more dependable latency beneath load and supply appreciable advantages in comparison with different occasion varieties.
In relation to measuring latency, the OpenX platform group is consistently evaluating the timing metrics of assorted operations that their purposes carry out. When the group launched Ampere into their infrastructure, they have been capable of pull up inside dashboards and do side-by-side comparisons of latency on Ampere in comparison with different processors that they’re additionally utilizing by way of GCP. Based on Chodos, “Frontier and SSRTB purposes just about achieved parity out of the box-without any particular tuning wanted in comparison with quicker Intel and AMD chips that we have been utilizing in GCP.” He acknowledged that with the second of the three OpenX purposes, the group confronted some challenges throughout all platforms. “We obtained reengaged with the Ampere group, and we additionally engaged some inside engineering groups to take a deep dive into this software.” With some recommendations and work between the groups, OpenX was capable of slim it all the way down to some points round rubbish assortment. By means of altering settings on issues like useful resource allocations, ensuring that there was enough reminiscence and CPU allocation to that software, in addition to tweaking among the JVM settings, the group was capable of obtain efficiency parity with x86 situations.
Chodos additionally famous that “we run a considerable quantity on spot situations of GCP as one other cost-saving measure, as a result of there’s important financial savings over the on-demand situations, so there’s a type of built-in biking of the applying due to that.” Chodos shared, “we do core pinning on some elements of our purposes (the place context switching throughout cores is a efficiency constraint), and GCP did add options that allowed us to allow core pinning for some threads, and that made an enormous distinction with some elements of our SSRTB software, which was significantly delicate to context switching.”
The OpenX method to software lifecycle administration and multi-architecture containers
The platform group makes use of Google’s Cloud Construct CI/CD platform for its steady integration. When it got here to including one other structure to their present GKE deployment, OpenX skilled some challenges with executing their preliminary purpose of making an attempt to construct multi-architecture containers for every software utilizing “docker buildx” to simplify deployment. Chodos shared, “Once we tried to construct these multi-arch containers, issues slowed all the way down to a crawl in some instances. There have been some cross compilation points, some operating and queueing with out {hardware} acceleration. I do know that we have been capable of get the multi-arch container builds to work inside an inexpensive timeframe for our Java software. However there have been additionally some points with the libraries of the completely different architectures and getting all that to line up with our Golang and Erlang purposes.”
Evaluating sustainability and emissions aims
OpenX was recertified and reverified CarbonNeutral® and Web-Zero in 2023. The method to get there began a number of years prior with an analysis of the emissions from their 5 world information facilities on the time, which included their very own infrastructure and servers. The group introduced in local weather consultants and labored with respected, well-respected entities to assist with doing every thing by the e-book, throughout their journey to carbon neutrality and 0 emissions. Based on Chodos, “That allowed us to realize carbon impartial certification. We additionally established Web-Zero targets, which shortly after getting these accredited by the Science Based mostly Targets initiative (SBTi), we introduced that we might obtain these targets all by way of the migration to GCP.”
Kharma added, “We’re repeatedly taking a look at methods inside GCP to assist scale back our emissions even additional, as a result of we do find yourself having to offset sure issues when it comes to emissions. Ideally, we might need to reduce the quantity that we have to offset, so we take a look at issues like working in GCP areas which might be extra local weather pleasant.” He additionally famous that the ability effectivity of Ampere processors was one of many elements in OpenX selecting to deploy these purposes to C3A situations. In addition they leverage the flexibility to leverage clear vitality powered information facilities the place potential. “The ability utilization of the compute situations we’re utilizing is our greatest supply of emissions, so something we are able to do to optimize the efficiency of our platform, together with making our apps extra environment friendly to cut back the compute utilization or utilizing extra vitality environment friendly CPUs, permits us to function extra effectively and scale back emissions. A number of this stuff have the twin good thing about serving to us drive down prices, as properly.”
What’s forward for OpenX utilizing Ampere-powered processors
The OpenX platform group management is exploring operating different providers on Ampere. For now, the three purposes they’ve been operating on C3A situations for the previous six months are operating in three GCP areas – a cluster within the US, one in Europe, and one in Asia. Based on Chodos, “As soon as the Google group can share when there will likely be extra areas, we’re prepared and prepared to devour extra Ampere compute.”
Getting began with AmpereOne-powered C3A situations
Contact the Ampere gross sales group to discover ways to get entry to C3A situations. Contact Gross sales
Be taught extra about Ampere’s C3A situations at the moment in personal preview on GCP, right here. Google Weblog
Join our developer publication to obtain updates on Ampere-powered C3A situations, and keep knowledgeable on developer matters and occasions. E-newsletter
Be taught extra about OpenX: OpenX
About Ampere
Constructed for sustainable cloud computing, Ampere Computing’s Cloud Native Processors function a single-threaded, a number of core design that’s scalable, highly effective, and environment friendly.
Be taught extra:
Disclaimer: All information and knowledge contained in or disclosed by this doc are for informational functions solely and are topic to alter.
To search out extra details about optimizing your code on Ampere CPUs, checkout our tuning guides within the Ampere Developer Middle. You may also get updates and hyperlinks to extra nice content material like this by signing as much as our month-to-month developer publication.
When you’ve got questions or feedback about this case research, there may be a whole group of Ampere customers and followers able to reply on the Ampere Developer group. And remember to subscribe to our YouTube channel for extra developer-focused content material.


