All case studies
Case Study · AdTech · High-Performance Go Service

A highly available traffic attribution service for a global AdTech platform.

A distributed, manual process spread across several departments was replaced by a highly available Go service. Centralized, scalable, failure-resistant. Every request on the AdTech platform gets the attribution values media buyers need for precise campaign tracking in under 10ms.

Book a call
Book a call
Architecture diagram: highly available Go traffic attribution service for an AdTech platform
3M+requests a day
<10mslatency per request
5xmore campaigns trackable
The starting point

Traffic attribution spread across several departments. Cumbersome. Not scalable.

Traffic attribution at a global AdTech platform was spread across several departments. No central system, no consistent process, no scalable solution. As traffic grew and campaign numbers rose, the problem grew with them.

Media buyers could only track a fraction of the possible campaigns because attribution could not keep up with the growth of the platform. Every request on the platform needed additional attribution values to assign traffic properly, but a central service that could deliver them reliably and fast did not exist.

The challenge

Highly available. Under 10ms. No single point of failure.

The requirements were clear and uncompromising: the service has to enrich every request on the AdTech platform with attribution values in under 10ms. It must not fail, because every outage directly affects campaign tracking across the whole platform.

At the same time the service had to be available globally. Most traffic came from the EU and the US, and both regions needed their own independent, highly available instance. And the attribution values had to stay consistent across several cache layers, assigned per day and managed atomically.

My approach

Centralized.
Optimized.
Failure-resistant.

01
Go service with multi-region deployment

Go as the language of choice because of its native support for high concurrency and low latency. The service is deployed in the EU and the US, each region independent and highly available. AWS Global Accelerator routes traffic to the nearest region, an ALB spreads the load within the region. No single point of failure, no cross-region bottleneck.

02
Layered cache architecture

Three cache layers for maximum performance: an in-memory cache for frequently requested values, Valkey for distributed caching within a region, DynamoDB for persistent daily assignment of attribution values with atomic transactions. The right cache at the right time.

03
Attribution values managed per day and atomically

Attribution values are assigned per day and managed atomically through DynamoDB transactions. No race conditions, no double assignment, no inconsistent states, even under heavy load.

04
Multi-tenant architecture

The service is built multi-tenant from the ground up. Multiple tenants run isolated and securely on the same infrastructure, each with its own attribution values, without affecting one another.

05
Integration into the AdTech platform

Every request on the platform is enriched through the new service. Clean integration without changes to existing systems. The platform gets the attribution values in under 10ms, media buyers can track and optimize more precisely.

Does your platform need a service that does not wobble under load?

Let us find out in 30 minutes whether I can help.

Book a call
Book a call
The outcome

5x more campaigns. Under 10ms. Available worldwide.

5x

more campaigns trackable

Media buyers can track five times as many campaigns as before.

<10ms

latency per request

Reliably under 10ms even under load, thanks to the layered cache architecture.

3M+

requests a day

Processed reliably, highly available in the EU and the US, no production outage since launch.

A distributed, manual process spread across several departments was replaced by a central, highly available Go service. Media buyers can track five times as many campaigns as before. Every request on the platform gets the attribution values needed for precise campaign tracking in under 10ms. The service runs highly available in the EU and the US, scales automatically with traffic and has not caused a single production outage since launch.

Technologies used

Proven tools. No experiment.

Backend
  • Golang
  • gRPC
  • REST
Caching
  • In-Memory Cache
  • Valkey
  • DynamoDB
Infrastructure
  • AWS ECS
  • EC2
  • ALB
  • Global Accelerator
  • IAM
  • Terraform
  • Docker
Observability
  • OpenTelemetry
  • Datadog
  • Grafana
  • CloudWatch
Previous case studyE-commerce for a retail chainNext case studyInternational VPN SaaS