couchbase_tlv_2014_couchbase_at_ybrant_digital

31
How Ybrant Digital leverages Couchbase to achieve scalable and fast Ad serving architecture.

Upload: couchbase

Post on 20-Aug-2015

1.526 views

Category:

Technology


0 download

TRANSCRIPT

How Ybrant Digital leverages Couchbase to achieve scalable and fast Ad serving architecture.

About me

•  Leading the DevOps group @ Ybrant. •  Past : Mamram, IDF. •  Fresh Uncle.

Ybrant Digital – Global Diversification

•  3 operational HQs •  Activity in 50 markets •  Exclusive representative of

Microsoft in South America •  Strategic partner with top digital

platforms

Onetag - Objective:

Manage & Optimize all Ybrant’s supply(Media)

Onetag - Providing : •  Self publishers registration. •  Productivity Booster.

•  Smart optimization.

First generation of Onetag

•  Old and Unsupported code

•  Data leaks

•  None scalable architecture

•  Campaigns limit

•  Heavy manual maintenance

Second Generation

Performance

Scalability

Easy to operate & use

Flexible, Modular

Cloud

Why Couchbase ? •  Good interaction with CouchDB and Memcahed.

•  Scalable.

•  Performance.

•  Commodity hardware.

•  Honesty.

Second Generation Architecture •  Highly scalable.

•  Highly redundant.

•  Leverage Couchbase read capabilities rather than writes.

•  Analyzing our data With EMR.

Second Generation - Cloud was the KEY

Second Generation Architecture The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Second Generation Architecture - Tips •  AWS Ephemeral. I\O Free.

•  CouchBase On SSD Instances. (I2)

•  HA using VPC.

•  Counter Increase. Saving IOPS.

3 I\Os

1 2

3

2 I\Os

1 2

Second Generation Architecture – More Tips •  Real time log management. (Kibana)

•  Autoscale by Design.

•  Spot Instances.

•  Monitoring, Monitoring, Monitoring.

Real time log management – Kibana Dashboard.

Real time log management – Analysis.

Our Traffic pattern - Couch Base

Constant Peaks

Our Traffic pattern - AWS ELB

Sudden peaks Constant

The target:

Constant & low latency

Geo Targetting Campaign selection User profile Optional profitability

How does Couchbase handles it

Difficulties encountered along the way •  Swapping.

•  Connection pooling.

•  C Code documentation and support.

•  High latency during heavy writes to CouchBase.

Benefits •  Connection pooling.

•  Great Performance.

•  Stable - 100% uptime.

How does it affect the business •  Campaigns limit is gone.

•  Minimum data leaks.

•  Users’ trust.

Future road map •  Migrating additional NoSQL architectures to

CouchBase. •  Opportunity to provide smarter and faster media buying

decisions programmatically

Questions.

Thank you !

[email protected]