Jump to content

Managed CDN technology


familyman

Recommended Posts

Just now, familyman said:

Yes bro 

Pubmatic ani oka company undi also we have tradedesk like programmatic advertising bidding .. I don’t really understand these 2 businesses clearly 

Link to comment
Share on other sites

Content delivery network are a group of system around the globe which can provide the same content to the user. Let me give you an example. If you are running a website familyman.com. Lets say there is a user in India and is accessing you website. To load the starting page the browser will contact the DNS server and get a ip address for the nearest content delivery network which is closer to the user system in India. The browser will the access the IP web server to load the page faster. This will reduce the latency of your page. Traditionally if you web server was hosted in the US, then a user from India had to connect to the server in US to load your web page. This would be very slow , sometimes users with low network speed would never see the page getting loaded, if they are far from the deployed web server. There are lot of companies that provide CDN server, they host many server across the globe, where you can host your static content. Sometime you can also process at the edge like AWS lambda @ edge.

  • Upvote 1
Link to comment
Share on other sites

3 hours ago, familyman said:

Pubmatic ani oka company undi also we have tradedesk like programmatic advertising bidding .. I don’t really understand these 2 businesses clearly 

Are you into IT ? , what type of business do you work for ? 

Link to comment
Share on other sites

11 hours ago, familyman said:

Can someone explain what it is used for and how it works .. please thanks!

before CDN you need know what a caching server is.ELI5 definitions

cache server : every request going to a server need not hit the backend system..most frequently accessed data ni cache ane oka location lo pedataru..when a user requests data it first checks in the cache , lekapote it will check in backend system ,update the cache and also send response to the user. Here the catch is cache and db have to be in syc , daani kosam write back cache, write thru cache, write around cache ane methods untai.

examples of caching servers are redis and memchached

thumb rule is 70-80% in cache will save 90% requests to DB and 90% in cache will save 99% requests to DB

Cache server lo takkuva storage untadi but very fast as it reads from RAM. so only most accessed data will be in cache.

Cache full aite you have to remove an element and add one more .. daani kosam LRU cache ane algorithm untadi..least recently used..daani remove chesi(evict is right word) and you will add the new record

now CDN is nothing but a collection of cache servers. Example companies are akamai and cloudfare. They have 100's of servers across globe . so any user across the globe will get response instantly as if the actual server is near his place

Big giants like netflix , google etc have built their own CDN's and thats why you never see latency in their requests

When a user places a request , static content loads from cache and dynamic from backend.Rendu kalipi oka webpage construct ayyi reponse will be send back to user

Simple terms suppose amazon changes the price of a product every week , the product details(like desc,image,dimensions which never change) come from cache and only the updated price value comes from backend system

  • Upvote 1
Link to comment
Share on other sites

1 hour ago, jambalhaatraja said:

before CDN you need know what a caching server is.ELI5 definitions

cache server : every request going to a server need not hit the backend system..most frequently accessed data ni cache ane oka location lo pedataru..when a user requests data it first checks in the cache , lekapote it will check in backend system ,update the cache and also send response to the user. Here the catch is cache and db have to be in syc , daani kosam write back cache, write thru cache, write around cache ane methods untai.

examples of caching servers are redis and memchached

thumb rule is 70-80% in cache will save 90% requests to DB and 90% in cache will save 99% requests to DB

Cache server lo takkuva storage untadi but very fast as it reads from RAM. so only most accessed data will be in cache.

Cache full aite you have to remove an element and add one more .. daani kosam LRU cache ane algorithm untadi..least recently used..daani remove chesi(evict is right word) and you will add the new record

now CDN is nothing but a collection of cache servers. Example companies are akamai and cloudfare. They have 100's of servers across globe . so any user across the globe will get response instantly as if the actual server is near his place

Big giants like netflix , google etc have built their own CDN's and thats why you never see latency in their requests

When a user places a request , static content loads from cache and dynamic from backend.Rendu kalipi oka webpage construct ayyi reponse will be send back to user

Simple terms suppose amazon changes the price of a product every week , the product details(like desc,image,dimensions which never change) come from cache and only the updated price value comes from backend system

Awesome bro thanks for explaining! 

Link to comment
Share on other sites

19 hours ago, jambalhaatraja said:

before CDN you need know what a caching server is.ELI5 definitions

cache server : every request going to a server need not hit the backend system..most frequently accessed data ni cache ane oka location lo pedataru..when a user requests data it first checks in the cache , lekapote it will check in backend system ,update the cache and also send response to the user. Here the catch is cache and db have to be in syc , daani kosam write back cache, write thru cache, write around cache ane methods untai.

examples of caching servers are redis and memchached

thumb rule is 70-80% in cache will save 90% requests to DB and 90% in cache will save 99% requests to DB

Cache server lo takkuva storage untadi but very fast as it reads from RAM. so only most accessed data will be in cache.

Cache full aite you have to remove an element and add one more .. daani kosam LRU cache ane algorithm untadi..least recently used..daani remove chesi(evict is right word) and you will add the new record

now CDN is nothing but a collection of cache servers. Example companies are akamai and cloudfare. They have 100's of servers across globe . so any user across the globe will get response instantly as if the actual server is near his place

Big giants like netflix , google etc have built their own CDN's and thats why you never see latency in their requests

When a user places a request , static content loads from cache and dynamic from backend.Rendu kalipi oka webpage construct ayyi reponse will be send back to user

Simple terms suppose amazon changes the price of a product every week , the product details(like desc,image,dimensions which never change) come from cache and only the updated price value comes from backend system

Programmatic ad bugging gurinchi cheppava

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...