Skip to main content

What is a CDN ? How Does a content delivery network Work?




Introduction.

Latest Web sites and applications often need to provide amount of static content to end users.
This content includes images, style sheets, JavaScript, and video.
The increase in the number of static assets and the increase grows the bandwidth usage increases page load time decreased, depending on the size of the user's search experience, and reduce the usable capacity of the server.
Dramatically improving performance, reducing the page load time reduce the bandwidth and infrastructure costs, you can implement a content delivery network, And CDN cache these assets at a set of servers that are geographically distributed.

What is a CDN?

Content delivery network is a group of servers distributed geographically optimized to provide static content to end users. While this static content can be almost any type of data, CDNs are most commonly used to deliver web pages and related files, streaming video and audio, and large software packages.
A CDN consists of multiple PoPs (Point of Presence) in various locations, and each port can be configured with multiple edgeservers that cache the assets of the original or the host server.



When a user visits your website and request a static assets such as images or JavaScript file, the request is routed to the nearest edge server by the CDN, that content is available here. If the asset is not being cached at the edge server or a caching asset expire CDN caches bring the latest version from the source server or CDN edge servers around the other. If the CDN edge in the cache entry for the asset (if received moderate traffic from the Web site must generate the majority) will return the cached copy to the end user.
This geographically distributed users over can import content directly from the cache, minimizing the number of hops required to receive a static content near the edge. As a result, the faster latency and packet loss significantly reduces page load time significantly reducing the load on the source infrastructure.

Benefits of Using a CDN.

Origin Offload

Lower Latency for Improved User Experience

Manage Traffic Spikes and Avoid Downtime

Reduce Costs

Increase Security


How Does a CDN Work?




When a user visits a Web site, you first receive a response from the DNS server that contains the IP address of the host web server. Then your browser requests a web page content consisting of multiple static files such as HTML pages, CSS style sheets, JavaScript code and images.
Rollout of the CDN and manually "push (push out)" or CDN is (you both mechanisms discussed in the next section) automatically "pull" the asset as if the following CDN server Avon offload static assets web server links to point to a file that is hosted CDN creates a link to the static content again. If you are using a CMS such as WordPress rewrite links it can be achieved by using a third-party plug-ins, such as CDN Enabler.
PUSH CDN
PULL CDN


Many CDN supports custom domain so that you can create a CNAME record that points to the CDN endpoint in the following domains. The CDN routing requests to this endpoint (located much closer to the edge than the user's back-end server) The closest (Point of Presence) PoP user receives a user request. The PoP is configured with one or more of the CDN edge server deployment in Internet Exchange Points (IxP), a data center that is used to essentially Internet Service Provider (ISP) interconnect network. Then, the internal load balancer is one of the CDN edge server to route the request in the PoP and then provide content to users. 



Conclusion.

Content delivery network can be a quick and effective solution for improving the scalability and availability of Web sites. By caching your static assets in geographically dispersed network, network optimization, you can significantly reduce latency and page load times for end users. In addition, you can use the CDN absorb the user's request, and greatly reduce the use of bandwidth in response to the edge cache will reduce the bandwidth and infrastructure costs.
Thanks to being here.

Comments

Popular posts from this blog

How to Speedup your WordPress site with Amazon CloudFront.

Introduction A WordPress performance is quite excellent . The number of WordPress plugins to handle performance is such evidence. But the easiest way to improve your user experience is to accelerate the entire WordPress website using CloudFront. This will help you not only improve site response time reduces the necessary infrastructure, reducing the load on the Web server, so you can reduce the total cost of the infrastructure works WordPress. CloudFront is actually a site can greatly help your site to respond to unexpected load when gained popularity. Today this post is to clarify the method of providing a reasonable standard configuration on the WordPress website or blog. How does CloudFront help? Amazon CloudFront is to improve the user's experience accessing the Web site in several ways: 1.  Anycast DNS is to ensure that customers are routed to the nearest edge location. 2.  The cached content is available to users at the edge position (i

Linux System : Free Employee Monitoring with Automatic Screenshots

Introduction :   A utomatic screen-shots  of Linux system directly import  on your web server with Linux samba server service and scrot command. 1)  Setup web panel UI on your web server :   Get web panel PHP/HTML code from Github URL: https://github.com/raj412/Employee-Monitoring-for-Linux-System It’s work in Linux server LAMP environment(no need database for this configuration ) Defult login username password is admin/1234. You can change username/passwrod from login.php file in line number #6 Login Page : Dashboard : Screenshot Page : 2)  Samba server configuration on web server : I.  Install Samba on your server where you setup Linux screenshot log system web panel. sudo apt-get update sudo apt-get install samba II.  Set a password for your user in Samba sudo smbpasswd -a <user_name> III.  Share gallery-images folder from you web panel. This is my web panel gallery-images p

How to control high traffic load on Apache servers : optimization performance of APACHE2 & PHP-FPM

Everyone handle high traffic loads  on Apache server. During down-time they forget to check server memory . Apache not used lot of memory  still server not responding. All time we restart Apache service and all things will start working good. I also faced same issue numerous time and all-time  used same solution : Restart Apache. After lots of research and reading found one solution. In this blog you see step-by-step guide to apache2 performance settings. System environment: Intel(R) Xeon(R) CPU 3.10GHz, 4 cores | 8GB RAM Ubuntu 16.04 Apache2 version using mpm_event PHP FPM (5.6,7.1) First,  Calculate process size : Download : python script file “ps_mem.py” from Github Open this and ps_mem.py file upload on you server :  https://github.com/raj412/ps_mem chmod a+x ps_mem.py sudo python ps_mem.py Output like this:  See here : 12 Apache processes, consuming a total of  35.7MiB, so each Apache process is using roughly 3MiB of RAM. The 42 php-fpm process u