Giter Club home page Giter Club logo

cdn_architecture's Introduction

CDN_Architecture

CDN & Peer 2 Peer

                       Central Node (Content Providers Server)
                       
                        /        \
                       /          \
                      /            \
                       
                  Area Node        Area Node
                  
                 /           |          \
                /            |           \
               /             |            \
               
            Edge Node    Edge Node     Edge Node

           /                 |               \
          /                  |                \
         /                   |                 \
         
    Edge AS               Edge AS             Edge AS
    
      /
      
 enduser
  1. 客戶透過 EPG 伺服器向**伺服器發出請求,**伺服器經過認證確認後,根據使用者 IP 位址選擇一邊緣節點提供服務,並將該請求重新導向至該邊緣節點。

  2. 邊緣節點根據使用者請求內容,尋找使用者該內容的線上使用者節點清單,倘若命中,則根據排程策略,排程資源,並將參與服務的資源置為忙碌。

  3. 若不命中,則向上層或是鄰居邊緣節點請求內容,快取的同時,將該內容提供給使用者。

CDN 節點作為 Peer to Peer 的補償節點:

          使用者 a 第一次從來源網站獲取內容 c ->  從 CDN 邊緣節點 c 快取此內容
          
                 |
                 V
                
      另一使用者 b 也是第一次從來源網站獲取內容 -> 就近原則先詢問使用者 A 能否提供內容 -> 如能 => Peer 2 Peer
                                                                           |
                                                                           V
                                                                          如不能
                                                                           
                                                                           |
                                                                           V
                                                                           
                                                                        從 CDN 邊緣節點 c 快取此內容

cdn_architecture's People

Contributors

queeniecplusplus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.