2.6 CDN & Socket Programming CDNs OTT 사업자가 가진 문제 중 storage, network bandwidth 문제를 극복한 server 구축 방식으로 등장한 네트워크 enter deep : Client ISP network 안에 bring home : 좀 더 윗단에 (관리는 쉽지만 client 입장에선 조금 느림) enter deep 방식(하늘색 구름에 놓음) (bring home은 파란 원에 놓는 방식. 파란 원은 ISP와 ISP를 연결한 third party-IXP: Internet Exchange Point나 POP-아랫층 ISP(custom ISP)가 좀 더 넓은 ISP(provider ISP)와 연결될 때 연결지점-에 둠) CDN stores copieds of content at CDN nodes subscribe.. 2.5 P2P & CDN & DASH Inserting records into DNS "Network Utopia"라는 회사를 세워 도메인을 등록한다면 .com TLD server 에 두 가지 RR을 등록해야함 (nu.com, dns1.nu.com, NS) nu.com이라는 도메인의 모든 웹 서버, 메일 서버와 매핑 관계를 갖고 있는 PC(authoratitve dns server)의 host name → 그 host name의 ip도 필요 (dns1.nu.com, 212.212.212.1, A) 그 host name의 ipv4. (ipv6도 있다면 AAAA로 한 줄 더 넣을 수 있음) ⇒ nu.com의 IP주소를 물으면 .com TLD에 와서 authorative dns server로 찾아갈 수 있음 Accessing Web Page of.. 2.4 DNS SMTP: final words comparison with HTTP: HTTP: pull SMTP: push both have ASCII command/response interaction, status codes HTTP: each object encapsulated in its own response message SMTP: multiple objects sent in multipart message SMTP uses persistent connections SMTP requires message (header & body) to be in 7-bit ASCII SMTP server uses CRLF.CRLF to determine end of message Mail access protocols .. 2.3 Web Cache & Mail (SMTP) Web caches (proxy server) : http 프로토콜을 사용하는 loss-sensitive한(TCP) 두 end system에 있는 어플리케이션이 communication 하기 위해 TCP connection을 맺은 후 두 프로세스에 전용 소켓이 생겼다. 연결을 맺은 후에도 client는 http request에 host url을 담아 보낸다. ⇒ 연결을 맺은 후에도 client가 http msg에 host url을 또 넣어 보내는 이유 proxy server는 client와 같은 ISP 내에 있는 경우가 많음 같은 community에 있으면 이미 한 요청을 다른 client가 보낼 가능성이 높기 때문에 client는 server와 바로 연결을 맺지 않고 같은 ISP의 proxy serve.. 2.2 Web and HTTP 2.1 Web and HTTP Web은 loss-sensitive(문서가 정확히 와야 하기 때문) → TCP HTTP overview HTTP: HyperText Transfer Protocol ⇒ Web(application layer application)의 application layer protocol Web page는 base HTML-file(Hypertext와 Object를 가리키는 URL들)로 구성 Hypertext: 문서 안에 또 다른 정보들을 url로 표시해 데이터베이스, 서버 등에서 가져옴 (클릭을 통해 다른 위치로 이동할 수 있는 비순차적 접근) Client/Server model Client: HTTP protocol로 request, receive하고 Objects를 displa.. 2.1 Application Layer Chapter 2: Application Layer 앱들을 support 하기 위한 application layer의 protocols (Ex. HTTP) 2.1 Principles of network applications transport-layer service models: application layer는 실제 실행되는 최종 application에 서비스를 제공, 아래 계층의 transport layer의 서비스를 제공 받으므로 service model을 알아야 함. 네트워크 어플리케이션의 두 가지 구조 client-server paradigm: 대부분의 웹 peer-to-peer paradigm: p2p 서비스 2.2 Web and HTTP 웹 이라는 network application을 su.. 1.5 Service models & Security & History Packet loss output queue에 data가 지나치게 몰릴 때 (transmission rate, R값 보다 지나치게 많은 rate의 bps가 들어오면) queue가 넘쳐 loss가 생긴다. Throughput 초당 sender에서 receiver까지 보낼 수 있는 비트 수 (end 2 end 개념) ← hop에 연결된 link의 capacity( = R)값이 영향 (queueing delay는 상황에 따라 다르므로) ⇒ 제일 성능(link capacity)이 떨어지는 link가 throughput을 결정짓게 됨 = bottleneck link (throughput에 문제가 있어 네트워크를 개선해야 한다면 bottleneck link를 찾아 throughput을 올려야 함) Throughpu.. 1.4 POP & CPN & Queueing Delay POP (Point-Of-Presence) customer ISP가 상위 provider ISP로 연결된 지점 (여러 네트워크 장비들이 있음) Multi-home 상위 계층과 최소한 2개 이상의 connection을 갖고, 어떤 ISP에 문제가 생겨도 정상적인 서비스를 유지함으로써 신뢰도를 높일 수 있음 Content Provider Network (CPN) 컨텐츠 제공 회사들이 직접 네트워크 장비를 증설. 네트워크 속도도 빨라지며 비용 감소, 서비스 제어도 쉬움, but 그래도 모든 지역을 커버할 수 없기 때문에, Tier 1까지 타고 들어오는 user들도 있다. Internet structure 서비스 user와 content provider 모두 edge network(lower-tier ISP: .. 이전 1 2 3 4 다음