ad tech creative api - from monlith to microservice

Post on 11-Apr-2017

23 Views

Category:

Engineering

7 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Ad Tech APIs

From Monoliths to Microservices

Programmatic Ad Exchange

Goal - help advertisers spend $$$$

Goal - help publishers ensure ad quality

Pain Point – Delay in creative approval Old Workflow

Set creative live Wait for approval Creative Rejected

36hours

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

Current TripleLift Stack - Monolithic Application

Best Practices for Microservices

API gateway1 / 5

Client

API gateway

Backend Service A

Service C

Service B

Service D

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

Build for failure 3 / 5

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

Monitor everything 4 / 5

Test everything 5 / 5

Load testing

Automate testing before deployment

Q & A

top related