Transcript
Page 1: CDN implmentation consideration

CDNשיקולים בשימוש GLOBALDOTS.COM

Page 2: CDN implmentation consideration

WHAT IS A CDN?

Page 3: CDN implmentation consideration

GLOBAL WEB SITE

End users

Servers

Page 4: CDN implmentation consideration

WEB SITE WITH CDN

Page 5: CDN implmentation consideration

CDN does• Decrease Latency

• Stop server sprawl

• Increase security

Page 6: CDN implmentation consideration

• Price

• Performance

• Features

Which CDN?

Page 7: CDN implmentation consideration

Traffic

Dumb Smart

Engagement

Low High

Content

Static Dynamic

Page 8: CDN implmentation consideration

Smart Traffic• Modify content on the edge

• Conditions and rules

• Content based load balancing

Page 9: CDN implmentation consideration

Dynamic content• Really dynamic?

• Network optimization

• Application integration

Page 10: CDN implmentation consideration

High engagement• Application integration

• Build integration

• Use built-in reporting

Page 11: CDN implmentation consideration

Application integration

examples

Page 12: CDN implmentation consideration

ESI - Edge Side Include• Moves assembly of the web page from the

web server to the Edge server

• Allows easy caching of web page parts

• Can significantly increase caching rates and

lower origin load

Page 13: CDN implmentation consideration

Example without ESI<?php

require(‘user-header.php');

require('left-body.php');

require(‘user-body.php');

require('footer.php');

?>

• This happens on the Origin• The result changes for every user and is non-cacheable

Page 14: CDN implmentation consideration

Example using ESI<html>

<esi:include src="http://example.com/user-header.php?u=xyz" />

<esi:include src="http://example.com/left-body.php" />

<esi:include src="http://example.com/user-body.php?u=xyz" />

<esi:include src="http://example.com/footer.php" />

</html>

• This happens on the Edge

• Left-body and footer are cacheable

Page 15: CDN implmentation consideration

Deploying CDN

Page 16: CDN implmentation consideration

Most Important

Use CDN experts

www.globaldots.com

Page 17: CDN implmentation consideration

Language• POP

• CHR

• Edge

• Shield

• TTL

• Downstream / Upstream

Page 18: CDN implmentation consideration

Application• Whole web site Static assets

• IP address

• Application purging

• Split static from dynamic content

Page 19: CDN implmentation consideration

Infrastructure• Check Load balancers

• Origin failover

• CDN failover – Multi CDN?

Page 20: CDN implmentation consideration

Monitoring• Access logs

• CDN availability


Recommended