What is google Cloud CDN ?

cloud computing

Why Cloud CDN?

Whatever your app or website is, chances are that your users are distributed across different locations and are not necessarily close to where your servers are. This means the requests travel across the public Internet through long distances, leading to inconsistent and frustrating user experience. That’s where Cloud CDN comes in.

What is CDN?

CDN is a content delivery network that accelerates your web and video content delivery by using Google’s global edge network to bring content as close to the user as possible. As a result, the latency cost and load on your back end servers is reduced,making it easier to scale to millions of users.

How Does Cloud CDN Work?

Let’s consider an app to understand how this works. When a user makes a request to your website,site or app, the request is routed to the closest Google edge node, we have over 120 of these for fast and reliable traffic flow, then to the global HTTPS load balancer to the back end or the origin.

From there with Cloud CDN enabled will serve the content directly from cache cache is nothing but a group of servers that store and manage cacheable content so that future requests for that content can be served faster.

The cached content is a copy of cacheable content that is stored on your orijen servers, typically, including web assets like JavaScript, CSS images, and videos.

Cloud CDN can automatically cache this content with just a single checkbox using the recommended cache mode to cache all static content. If you need more control.

You can direct Cloud CDN by setting HTTP headers on your responses. And you can also force all content to be cached. Just know that this ignores the private no store all cache directives in cache control response headers.

When the request is received by Cloud CDN, it looks for the cached content using the cache key, which is typically the UI. But you can customize this cache key to remove protocol hosts or query strings for the user’s request. If a cached response is found in Cloud CDN cache, the response is retrieved from cache and sent to the user. This is called a cache hit.

When a cache hit occurs, Cloud CDN looks at the content by its cache key and responds directly to the user shortening the round trip time and saving the origin server from having to process the request.

The first time that a piece of content is requested, the CDN can’t fulfill the request from the cache because it doesn’t have it there. This is called a cache miss. When a cache miss occurs, the Cloud CDN might attempt to get the content from the nearby cache. If the nearby cash has the content. It sends it to the first cash by using cash to cash Fill. Otherwise it just sends the request to the origin server.

Time To Live(TTL)

The maximum lifetime of the object in cache is defined by the TTL, or Time To Live values set by the cache directives from each HTTP response or cache mode. When the TTL has expired, the content is evicted from cache.

How To Use Cloud CDN?

Now, how do you use Cloud CDN, you can set up Cloud CDN through G Cloud command line interface, Cloud Console, or the API’s. Since Cloud CDN leverages Google Cloud global external HTTP as load balancers to provide routing, health checking, and any cost support,

it can be enabled by easily checking a box while setting up the backends. For the origins Cloud CDN makes it even easier to serve web and media content using Google Cloud Storage.

You just upload your content to a bucket, set up load balancer and enable caching. And if you are like many of our customers, you probably have services that are on prem or in other clouds to enable these hybrid architectures. Cloud CDN and HTTPS load balancing also support external backends.

Anycast And Quick 

Let’s get into the underlying details now, global anycast IPS provides single IP for global reach. It allows Google Cloud to route users to the nearest edge cache automatically and avoid relying on the DNS propagation delays that can impact availability.

It also supports HTTP two end to end. And QUIC protocol from client to cache QUIC is a multiplex stream transport over UDP, which reduces latency, making it ideal for lossy mobile networks.

That brings me to security data is encrypted at rest and in transit from Google Cloud load balancing to back end supporting an end to end encrypted experience.

You can programmatically sign URLs and cookies to limit video segment access to authorized users only. The signature is validated at the CDN edge and the request that should not get through this up to right there.

Why Use Cloud CDN

 use Cloud CDN to improve performance and reduce serving costs for regularly accessed content by automatically caching static content with a click of a button. One learn more about Cloud CDN, check out cloud google.com slash CDN.

अपनी प्रतिक्रिया दें।

अपनी टिप्पणी यहाँ दर्ज करें ...
अपना नाम यहा दर्ज करें...