17
Ad Tech APIs From Monoliths to Microservices

Ad tech creative API - From Monlith to Microservice

Embed Size (px)

Citation preview

Page 1: Ad tech creative API - From Monlith to Microservice

Ad Tech APIs

From Monoliths to Microservices

Page 2: Ad tech creative API - From Monlith to Microservice
Page 3: Ad tech creative API - From Monlith to Microservice

Programmatic Ad Exchange

Page 4: Ad tech creative API - From Monlith to Microservice

Goal - help advertisers spend $$$$

Page 5: Ad tech creative API - From Monlith to Microservice

Goal - help publishers ensure ad quality

Page 6: Ad tech creative API - From Monlith to Microservice

Pain Point – Delay in creative approval Old Workflow

Set creative live Wait for approval Creative Rejected

36hours

Page 7: Ad tech creative API - From Monlith to Microservice

Solutions - API for buyers to pre-submit creatives

Buyers submit creatives to TripleLift

Buyers set creative live Creatives Rejected

New Workflow

API 0 delay

Fixed before

live

Page 8: Ad tech creative API - From Monlith to Microservice

Current TripleLift Stack - Monolithic Application

Page 9: Ad tech creative API - From Monlith to Microservice

Best Practices for Microservices

Page 10: Ad tech creative API - From Monlith to Microservice

API gateway1 / 5

Client

API gateway

Backend Service A

Service C

Service B

Service D

Page 11: Ad tech creative API - From Monlith to Microservice
Page 12: Ad tech creative API - From Monlith to Microservice

Split Monolith incrementally (SRP) 2 / 5

Image Analysis

SubmissionCreative Status

Buyer Verification

MonolithicSchema

Submission

Creative Status

Buyer Verification

MonolithicSchema 3p API Buyer

Schema

Image Processing

Page 13: Ad tech creative API - From Monlith to Microservice

Build for failure 3 / 5

• Rate limiting • Set Request timeout • Return partial results • Return cached results

Page 14: Ad tech creative API - From Monlith to Microservice

Monitor everything 4 / 5

Page 15: Ad tech creative API - From Monlith to Microservice
Page 16: Ad tech creative API - From Monlith to Microservice

Test everything 5 / 5

Load testing

Automate testing before deployment

Page 17: Ad tech creative API - From Monlith to Microservice

Q & A