JJobsMoi
Databricks

Ad Marketplace System Design

System Design

Problem

Problem Statement

Design a scalable ad marketplace system that connects publisher websites with multiple ad providers. The system must select an ad for each request, track clicks, enforce daily budgets, and manage advertiser funds.

Given Constraints

  • Publishers make synchronous ad requests and expect low-latency responses
  • Multiple ad providers bid for each placement
  • Each campaign has a daily budget that decreases on clicks and resets daily
  • Ads with exhausted budgets must not be served
  • System operates globally across regions

Disclaimer: This is a sample solution to help you get started. System design questions are open-ended and have multiple valid approaches.

Self-assessment rubric

0/15

Requirements & Scope

Core Architecture

Deep Dives & Trade-offs

Communication

Solution

Loading canvas…

Sign in to get AI feedback on your answer. Your work is saved while you do.

Sign in to evaluate