Friday, March 26, 2021

what is CDN ?

What is CDN ?

A content delivery network, or content distribution network, is a geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and performance by distributing the service spatially relative to end users.

How Does CDN work ?

below is following example of CDN workflow.

Before CDN

Server  :- we have xyz.com website in godady india Hosting Server.

IND USER:- is accessing xyz.com from IND, so IND user will be get fast responce of website, because USER and Hosting Server has in same Region.
USA USER:- is accessing xyz.com from USA, so USA user will be get the slow response of website, because USER and Hosting Server has not in a same region.


 

After CDN

Server :- we have xyz.com website in godady india Hosting Server.
CDN    :- store a website cache in every CDN server(which is loacted in whole world)

IND USER:- is accessing xyz.com from IND, so IND user will be get fast responce of website, because USER and Hosting Server and CND server has in same Region.
USA USER:- is accessing xyz.com from USA, so USA user will be get the also fast responce of website, because USER and nearest CDN Server has in a same region.


 

What is Cloudflare ?

Cloudflare is web infrastructure and website security company that provides content delivery network services, DDoS mitigation, Internet security, and distributed domain name server services.

Cloudflare basic error

1) When you will got following error on browser. 

(Error 521 Ray ID "Web server is down")

That's mean your domain is working fine, but your webserver is down (apache/nginx/etc)


 

2) When you will got following error on browser.

(Error 525 Ray ID "SSL handshake failed")

That's mean your domain is working fine, but ssl mode is not active in server.

Temporary solution:- configure let's encrypt ssl and check the status.

 


 


No comments:

Post a Comment

testing