how tesla used varnish to build their own cdn

11
‘Private CDN’ Cache as a Service Vitaliy Kushnerov Rajasekar Jegannathan

Upload: varnish-software

Post on 13-Jan-2017

389 views

Category:

Technology


1 download

TRANSCRIPT

‘Private CDN’Cache as a Service

Vitaliy Kushnerov

Rajasekar Jegannathan

Private CDN ?❖ Global Presence

❖ On-demand Video Delivery

❖ Application Delivery

❖ Software Delivery

Process Imaged Documents

Release Training Videos

Deploy Software Updates

Update Marketing Content

Possible Solutions

❖ Scale Origin + scale network

❖ Multiple Origins

❖ WAN Acceleration

❖ Public(Private) CDN

❖ Build your own

DIY? The Problems:

Caching Engine

Robust Geo-DNS

Service Discovery

Trust

Why Varnish ?

• Use existing resources (Hardware & Network)

• Persistent Storage based Cache

• Storage flexibility based on Application

• Control Behavior - VCL

• Fast Invalidation

• Visibility

“Private CDN”

Tier-3(Sub-Regional)

Tier-2(DMZ)

Tier-1(Regional)

Tier-4(Local)

Geo-DNS Geo-DNS

HA

Content

Routing

Service

Discovery

End User

BackendTier-3 (P)

Tier-1 (S)Tier-3 (P)

Tier-1 (S)Tier-1 (P)

Tier-1 (P)

Origin (S)

Pre-warm Yes Yes Optional

--

-

-

-

Service

DiscoveryService

Discovery

“Cache in a Box”

• Service,Route, Latency

• Optimization

• Efficiency and Reliability

“Questions ?”