SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
AWS Architecture Case Study:
Real-Time Bidding
Tom Maddox – AWS Solutions Architect
Who am I?
• Gardener (Capacity Planning)
• Motorcyclist (Agility)
• Mobile App Writer
• Problem Solver
• Technology Geek
• Solutions Architect
• Intentional Generalist
Agenda
• What Is Real-Time Bidding (RTB)?
• Architectural Challenges
• Architecture Deep Dive
– DynamoDB Streams
– Big Data Transformation and Analysis Tools
– Machine Learning
What is Real-Time Bidding?
Real-Time Bidding (RTB) is a service offered by
advertising networks to agencies. The agencies
decide on the value of advertising opportunities in
real-time and bid accordingly on behalf of their
advertising clients. Typically the window of
opportunity for bids to be calculated from provided
consumer details (e.g. cookies) and then
submitted is 100ms.
The 100ms Handshake
Real Estate
Owner
• Websites
• Mobile Apps
• Video
Streaming
Advertising
Agency
• Loggedin with…
• Referredby…
• Location
• Historic user
profiles
• Active
Campaigns
• Content
Management
• Billing
• Campaign
Management
• Keywords
• Interests
Why is it interesting?
• Most agencies want to maximize their
campaign audiences by responding to
advertising opportunities all over the
world.
• Responses based on data driven,
calculated decisions are important to
yield value to campaigns.
• Consistently bidding on global
opportunities in under 100ms can be
challenging at any scale.
AdRoll
AdRoll is a global leader in retargeting with more than 10,000 active
advertisers across over 100 countries.
AdRoll store 1.5 PB of data in Amazon S3 and run just 30 core Amazon
Elastic Compute Cloud (Amazon EC2) instances. Additional
instances—anywhere from 200 to 1,000 of them, including Amazon
EC2 Spot Instances—are used for variable capacity.
“Weneed high performance, but we need more than that,” says
Valentino Volonghi, CTO. “We need flexibility, and we need software
that could scale across multiple data centers and machines, software
we could optimize as we go. Moving our operations to the cloud was
really our only option.”
S
SocialVibe
SocialVibe has built a global business that handles peaks
in its traffic using Amazon DynamoDB and multiple
Availability Zones across different Regions. Using AWS has
enabled SocialVibe to experiment with new architectures to
meet the demands of a diverse worldwide customer base.
“We had to order hardware in advance, we couldn’t
experiment with new hardware easily,” explains Joshua
Rangsikitpho, CTO. “once we moved over to AWS all those
problems went away”
On to the architecture…
Architecture Overview
Click Stream
Ingest
Real-Time
Bidding
Regional Hub
Regional Hub
Regional Hubs
Big Data Processing
(Billing, Profile Tracking, Machine
Learning)
Campaign
Mgmt
Architecture Overview
Flyby Comments
• This architecture focuses on bidding logic. We’re
not going to look closely at content management or
serving.
• There is a split between time sensitivity. Bidding
is done as fast as possible, but clickstream data can
be buffered to update data for bidding decisions.
• Long range connectivity can be error prone. We’re
leveraging AWS managed, resilient replication
techniques wherever possible.
Deep Dive: Campaign Management
Deep Dive: Campaign Management
• Role: Management and monitoring of
advertising campaigns.
• Usage: Marketing departments and
advertising agencies log into a marketing
portal to define campaigns and monitor
dashboards.
• Top Tip: campaign managers can optimize
target audiences in real-time, based on
ongoing success.
• Services: Elastic Beanstalk, Elastic Load
Balancers, EC2 Instances, RDS
Deep Dive: Click Stream Ingest
Real-time processing
High throughput; elastic
Easy to use
S3, Redshift, DynamoDB Integrations
Amazon
Kinesis
Data
Sources
App.4
[Machine
Learning]
AWSEndpoint
App.1
[Aggregate &
De-Duplicate]
Data
Sources
Data
Sources
Data
Sources
App.2
[Metric
Extraction]
S3
DynamoDB
Redshift
App.3
[Sliding
Window
Analysis]
Data
Sources
Availability
Zone
Shard 1
Shard 2
Shard N
Availability
Zone
Availability
Zone
Introducing Amazon Kinesis
Managed Service for Real-Time Processing of Big Data
Kinesis
Deep Dive: Click Stream Ingest
• Role: Collect and aggregate click
stream data from audience interactions.
• Usage: Interactions with audiences are
recorded in a DynamoDB table.
Streams and Lambda batch the content
into S3 objects.
• Services: Elastic Beanstalk,
DynamoDB with Streams, Lambda, S3
Deep Dive: Big Data Processing
S3 Cross Region Replication
Replication of data across AWS regions reliably
• All new uploads into source bucket will be
replicated
• Asynchronous
• Entire bucket or prefixes
• Versioning required
Deep Dive: Big Data Processing
• Role: Consolidate clickstream data
from around the world, update user
profiles, KPI’s and client invoices.
• Usage: S3 bucket replication is used to bring regional data together.
Then AWS analytics services transform the data to derive insights.
Updated user profiles and bidding tactics are distributed with the
DynamoDB replication client.
• Top Tip: Faster analysis can lead to better return on investment.
Leveraging Spot Instances can maximize this optimization
opportunity.
• Services: S3 bucket replication, Data Pipeline, EMR, Redshift,
Machine Learning, Kinesis, DynamoDB ReplicationClient, Spot
Market.
Don’t lock your big data
pipeline down.
Keep it agile and experiment often!
Deep Dive: Real-Time Bidding
Optimized Connectivity
• Many advertising exchanges already use AWS.
• Enquire into low latency connectivity options
such as VPC peering.
• If not, consider Direct Connect as a means to
get best possible latency from AWS to anyone.
Deep Dive: Real-Time Bidding
• Role: Respond to advertising
opportunities with bids based on
campaign and user data in under 100ms.
• Usage: An API responds to opportunities
in real-time using in-memory caches and
cross-region replication.
• Services: Elastic Beanstalk, ElastiCache,
RDS and DynamoDB
What are DynamoDB Streams?
A stream of updates that scales with your table
Asynchronous
Exactly once
Strictly ordered records
i=Ai=B
i=C
i=C
Cross region replication
post
Architecture Overview
Summary
• Use regional hubs to minimize latency.
• Leverage asynchronous cross-region replication to
keep regional hubs in sync, in real-time.
• Use event driven workloads that remain responsive
at any scale.
• Many exchanges already use AWS, so enquire
about optimized connectivity.
• Let us manage moving data around, so that you can
concentrate on finding new insights from your data.
Further Challenges
• How could we make sure a campaign budget is
never exceeded?
• What’s the best way to manage and serve
advert content too?
Call to Action
1. Come to us and tell us more about your AdTech
use cases and what your priorities are.
2. We a building an AdTech community for AWS
customers to get early preview of products and
collaborate with us.
3. We are looking for cool and popular AdTech
blog ideas and for customers to tell their story.
London Loft

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?
 
Best Practices in Planning a Large-Scale Migration to AWS - AWS Online Tech T...
Best Practices in Planning a Large-Scale Migration to AWS - AWS Online Tech T...Best Practices in Planning a Large-Scale Migration to AWS - AWS Online Tech T...
Best Practices in Planning a Large-Scale Migration to AWS - AWS Online Tech T...
 
Performing real-time ETL into data lakes - ADB202 - Santa Clara AWS Summit.pdf
Performing real-time ETL into data lakes - ADB202 - Santa Clara AWS Summit.pdfPerforming real-time ETL into data lakes - ADB202 - Santa Clara AWS Summit.pdf
Performing real-time ETL into data lakes - ADB202 - Santa Clara AWS Summit.pdf
 
AWS 101 - An Introduction to the Amazon Cloud
AWS 101  - An Introduction to the Amazon CloudAWS 101  - An Introduction to the Amazon Cloud
AWS 101 - An Introduction to the Amazon Cloud
 
Introduction to Amazon DynamoDB
Introduction to Amazon DynamoDBIntroduction to Amazon DynamoDB
Introduction to Amazon DynamoDB
 
Building APIs with Amazon API Gateway
Building APIs with Amazon API GatewayBuilding APIs with Amazon API Gateway
Building APIs with Amazon API Gateway
 
Amazon CloudFront 101
Amazon CloudFront 101Amazon CloudFront 101
Amazon CloudFront 101
 
Cost optimization on AWS
Cost optimization on AWSCost optimization on AWS
Cost optimization on AWS
 
AWS 101
AWS 101AWS 101
AWS 101
 
Cost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWSCost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWS
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
AWS Basics
AWS BasicsAWS Basics
AWS Basics
 
Fraud Detection with Amazon Machine Learning on AWS
Fraud Detection with Amazon Machine Learning on AWSFraud Detection with Amazon Machine Learning on AWS
Fraud Detection with Amazon Machine Learning on AWS
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Webinar | Introduction to Amazon DynamoDB
Webinar | Introduction to Amazon DynamoDBWebinar | Introduction to Amazon DynamoDB
Webinar | Introduction to Amazon DynamoDB
 
Getting Started with Amazon EC2
Getting Started with Amazon EC2Getting Started with Amazon EC2
Getting Started with Amazon EC2
 
Aws introduction
Aws introductionAws introduction
Aws introduction
 
HSBC and AWS
HSBC and AWSHSBC and AWS
HSBC and AWS
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Cloud Migration Workshop
Cloud Migration WorkshopCloud Migration Workshop
Cloud Migration Workshop
 

Ähnlich wie AWS Architecture Case Study: Real-Time Bidding

RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale
 
Aws 101 jan 2015 hr bang
Aws 101 jan 2015 hr bangAws 101 jan 2015 hr bang
Aws 101 jan 2015 hr bang
mythrine
 

Ähnlich wie AWS Architecture Case Study: Real-Time Bidding (20)

Introduction to Cloud Computing with AWS (Thai Session)
Introduction to Cloud Computing with AWS (Thai Session)Introduction to Cloud Computing with AWS (Thai Session)
Introduction to Cloud Computing with AWS (Thai Session)
 
Getting Started with Amazon DynamoDB
Getting Started with Amazon DynamoDBGetting Started with Amazon DynamoDB
Getting Started with Amazon DynamoDB
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesIntroduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services
 
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
 
Real Time Bidding on AWS - Pop-up Loft Tel Aviv
Real Time Bidding on AWS - Pop-up Loft Tel AvivReal Time Bidding on AWS - Pop-up Loft Tel Aviv
Real Time Bidding on AWS - Pop-up Loft Tel Aviv
 
Getting started with Amazon Dynamo BD
Getting started with Amazon Dynamo BDGetting started with Amazon Dynamo BD
Getting started with Amazon Dynamo BD
 
Introduction to Cloud Computing - (Eng Session)
Introduction to Cloud Computing - (Eng Session)Introduction to Cloud Computing - (Eng Session)
Introduction to Cloud Computing - (Eng Session)
 
AWS Enterprise Summit - 클라우드 네이티브 신규 애플리케이션 구축하기 - 정윤진
AWS Enterprise Summit - 클라우드 네이티브 신규 애플리케이션 구축하기 - 정윤진AWS Enterprise Summit - 클라우드 네이티브 신규 애플리케이션 구축하기 - 정윤진
AWS Enterprise Summit - 클라우드 네이티브 신규 애플리케이션 구축하기 - 정윤진
 
Introducing Amazon Kinesis: Real-time Processing of Streaming Big Data (BDT10...
Introducing Amazon Kinesis: Real-time Processing of Streaming Big Data (BDT10...Introducing Amazon Kinesis: Real-time Processing of Streaming Big Data (BDT10...
Introducing Amazon Kinesis: Real-time Processing of Streaming Big Data (BDT10...
 
ATC301-Big Data & Analytics for Manufacturing Operations
ATC301-Big Data & Analytics for Manufacturing OperationsATC301-Big Data & Analytics for Manufacturing Operations
ATC301-Big Data & Analytics for Manufacturing Operations
 
AWS Summit 2013 | Singapore - Big Data Analytics, Presented by AWS, Intel and...
AWS Summit 2013 | Singapore - Big Data Analytics, Presented by AWS, Intel and...AWS Summit 2013 | Singapore - Big Data Analytics, Presented by AWS, Intel and...
AWS Summit 2013 | Singapore - Big Data Analytics, Presented by AWS, Intel and...
 
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
RightScale Webinar: Operationalize Your Enterprise AWS Usage Through an IT Ve...
 
Aws 101 jan 2015 hr bang
Aws 101 jan 2015 hr bangAws 101 jan 2015 hr bang
Aws 101 jan 2015 hr bang
 
AWS APAC Webinar Week - Real Time Data Processing with Kinesis
AWS APAC Webinar Week - Real Time Data Processing with KinesisAWS APAC Webinar Week - Real Time Data Processing with Kinesis
AWS APAC Webinar Week - Real Time Data Processing with Kinesis
 
Design for Scale - Building Real Time, High Performing Marketing Technology p...
Design for Scale - Building Real Time, High Performing Marketing Technology p...Design for Scale - Building Real Time, High Performing Marketing Technology p...
Design for Scale - Building Real Time, High Performing Marketing Technology p...
 
AWS Webcast - Power your Digital Marketing Strategy with Amazon Web Services
AWS Webcast - Power your Digital Marketing Strategy with Amazon Web ServicesAWS Webcast - Power your Digital Marketing Strategy with Amazon Web Services
AWS Webcast - Power your Digital Marketing Strategy with Amazon Web Services
 
(BDT306) How Hearst Publishing Manages Clickstream Analytics with AWS
(BDT306) How Hearst Publishing Manages Clickstream Analytics with AWS(BDT306) How Hearst Publishing Manages Clickstream Analytics with AWS
(BDT306) How Hearst Publishing Manages Clickstream Analytics with AWS
 
AWS Cloud Kata 2013 | Singapore - Getting to Scale on AWS
AWS Cloud Kata 2013 | Singapore - Getting to Scale on AWSAWS Cloud Kata 2013 | Singapore - Getting to Scale on AWS
AWS Cloud Kata 2013 | Singapore - Getting to Scale on AWS
 
AWS Webcast - Informatica - Big Data Solutions Showcase
AWS Webcast - Informatica - Big Data Solutions ShowcaseAWS Webcast - Informatica - Big Data Solutions Showcase
AWS Webcast - Informatica - Big Data Solutions Showcase
 
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
Real-time Streaming and Querying with Amazon Kinesis and Amazon Elastic MapRe...
 

Mehr von Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

AWS Architecture Case Study: Real-Time Bidding

  • 1. AWS Architecture Case Study: Real-Time Bidding Tom Maddox – AWS Solutions Architect
  • 2. Who am I? • Gardener (Capacity Planning) • Motorcyclist (Agility) • Mobile App Writer • Problem Solver • Technology Geek • Solutions Architect • Intentional Generalist
  • 3. Agenda • What Is Real-Time Bidding (RTB)? • Architectural Challenges • Architecture Deep Dive – DynamoDB Streams – Big Data Transformation and Analysis Tools – Machine Learning
  • 4. What is Real-Time Bidding? Real-Time Bidding (RTB) is a service offered by advertising networks to agencies. The agencies decide on the value of advertising opportunities in real-time and bid accordingly on behalf of their advertising clients. Typically the window of opportunity for bids to be calculated from provided consumer details (e.g. cookies) and then submitted is 100ms.
  • 5. The 100ms Handshake Real Estate Owner • Websites • Mobile Apps • Video Streaming Advertising Agency • Loggedin with… • Referredby… • Location • Historic user profiles • Active Campaigns • Content Management • Billing • Campaign Management • Keywords • Interests
  • 6. Why is it interesting? • Most agencies want to maximize their campaign audiences by responding to advertising opportunities all over the world. • Responses based on data driven, calculated decisions are important to yield value to campaigns. • Consistently bidding on global opportunities in under 100ms can be challenging at any scale.
  • 7. AdRoll AdRoll is a global leader in retargeting with more than 10,000 active advertisers across over 100 countries. AdRoll store 1.5 PB of data in Amazon S3 and run just 30 core Amazon Elastic Compute Cloud (Amazon EC2) instances. Additional instances—anywhere from 200 to 1,000 of them, including Amazon EC2 Spot Instances—are used for variable capacity. “Weneed high performance, but we need more than that,” says Valentino Volonghi, CTO. “We need flexibility, and we need software that could scale across multiple data centers and machines, software we could optimize as we go. Moving our operations to the cloud was really our only option.”
  • 8. S SocialVibe SocialVibe has built a global business that handles peaks in its traffic using Amazon DynamoDB and multiple Availability Zones across different Regions. Using AWS has enabled SocialVibe to experiment with new architectures to meet the demands of a diverse worldwide customer base. “We had to order hardware in advance, we couldn’t experiment with new hardware easily,” explains Joshua Rangsikitpho, CTO. “once we moved over to AWS all those problems went away”
  • 9. On to the architecture…
  • 10. Architecture Overview Click Stream Ingest Real-Time Bidding Regional Hub Regional Hub Regional Hubs Big Data Processing (Billing, Profile Tracking, Machine Learning) Campaign Mgmt
  • 12. Flyby Comments • This architecture focuses on bidding logic. We’re not going to look closely at content management or serving. • There is a split between time sensitivity. Bidding is done as fast as possible, but clickstream data can be buffered to update data for bidding decisions. • Long range connectivity can be error prone. We’re leveraging AWS managed, resilient replication techniques wherever possible.
  • 13. Deep Dive: Campaign Management
  • 14. Deep Dive: Campaign Management • Role: Management and monitoring of advertising campaigns. • Usage: Marketing departments and advertising agencies log into a marketing portal to define campaigns and monitor dashboards. • Top Tip: campaign managers can optimize target audiences in real-time, based on ongoing success. • Services: Elastic Beanstalk, Elastic Load Balancers, EC2 Instances, RDS
  • 15. Deep Dive: Click Stream Ingest
  • 16. Real-time processing High throughput; elastic Easy to use S3, Redshift, DynamoDB Integrations Amazon Kinesis
  • 18. Deep Dive: Click Stream Ingest • Role: Collect and aggregate click stream data from audience interactions. • Usage: Interactions with audiences are recorded in a DynamoDB table. Streams and Lambda batch the content into S3 objects. • Services: Elastic Beanstalk, DynamoDB with Streams, Lambda, S3
  • 19. Deep Dive: Big Data Processing
  • 20. S3 Cross Region Replication Replication of data across AWS regions reliably • All new uploads into source bucket will be replicated • Asynchronous • Entire bucket or prefixes • Versioning required
  • 21. Deep Dive: Big Data Processing • Role: Consolidate clickstream data from around the world, update user profiles, KPI’s and client invoices. • Usage: S3 bucket replication is used to bring regional data together. Then AWS analytics services transform the data to derive insights. Updated user profiles and bidding tactics are distributed with the DynamoDB replication client. • Top Tip: Faster analysis can lead to better return on investment. Leveraging Spot Instances can maximize this optimization opportunity. • Services: S3 bucket replication, Data Pipeline, EMR, Redshift, Machine Learning, Kinesis, DynamoDB ReplicationClient, Spot Market.
  • 22. Don’t lock your big data pipeline down. Keep it agile and experiment often!
  • 24. Optimized Connectivity • Many advertising exchanges already use AWS. • Enquire into low latency connectivity options such as VPC peering. • If not, consider Direct Connect as a means to get best possible latency from AWS to anyone.
  • 25. Deep Dive: Real-Time Bidding • Role: Respond to advertising opportunities with bids based on campaign and user data in under 100ms. • Usage: An API responds to opportunities in real-time using in-memory caches and cross-region replication. • Services: Elastic Beanstalk, ElastiCache, RDS and DynamoDB
  • 26. What are DynamoDB Streams? A stream of updates that scales with your table
  • 30. Summary • Use regional hubs to minimize latency. • Leverage asynchronous cross-region replication to keep regional hubs in sync, in real-time. • Use event driven workloads that remain responsive at any scale. • Many exchanges already use AWS, so enquire about optimized connectivity. • Let us manage moving data around, so that you can concentrate on finding new insights from your data.
  • 31. Further Challenges • How could we make sure a campaign budget is never exceeded? • What’s the best way to manage and serve advert content too?
  • 32. Call to Action 1. Come to us and tell us more about your AdTech use cases and what your priorities are. 2. We a building an AdTech community for AWS customers to get early preview of products and collaborate with us. 3. We are looking for cool and popular AdTech blog ideas and for customers to tell their story.