본문 바로가기

CS(Computer Science)57

기초컴퓨터네트워크 08 (P2P, CDN, Video Streaming) === P2P applications === 1. Pure P2P architecture 지금까지는 클라이언트-서버 방식이다. 이번에는 P2P 방식의 구조를 보자 순수한 P2P는 서버가 어떠한 개입도 하지 않는다. end systems 간 직접통신한다. peer은 가끔 켜지고, IP 가 자주 바뀐다. example file distribution (BitTorrent) streaming (KanKan) Volp (Skype) File dirstribution: client-server vs. P2P size F인 파일을 N개의 peer로 distribute하는 상황이라고 하자 네트워크에서는 충분한 대역폭이 있어서 buttleneck이 걸리지 않고 오로지 접근하는 부분에서 buttleneck이 걸린다고 하.. 2021. 6. 19.
기초컴퓨터네트워크 07 (electronic mail - SMTP, POP3, IMAP) === electronic mail - SMTP, POP3, IMAP === Electronic Mail 세가지 주요 구성요소 user agents mail servers simple mail transfer protocol: SMTP User agent 그냥 사용자들 "mail reader" composing, editing, reading mail messages Outlook, Thunderbird, iPhone mail client outgoing, incoming messages stored on server Mail servers mailbox contains incoming messages for user Message queue of outgoing (to be sent) mail mess.. 2021. 6. 19.
기초컴퓨터네트워크 06 (Web and HTTP, Socket, GET, POST, cookies, caches) === Web and HTTP === 웹서버와 통신이 가능하게 해주는 HTTP에 대해 다루어 보자 1. Web and HTTP HTTP(hyper text transfer protocol) 우리가 웹브라우저를 이용해서 서버에 접속, 서버가 컨텐츠를 보여주는 서버가 웹서버라고 부른다. 이때 웹브라우저가 클라이언트이다. 통신할때 사용하는 프로토콜이 HTTP이다. 웹페이지는 objects(HTML file, JPEG image, Java app, audio file...)로 구성되어 있다. web page는 base HTML file로 구성된다. HTML 파일 내에서 object 파일들이 reference 되어 있다.(영상, 파일 등등) 각 object는 URL(Uniform Resource Locator =.. 2021. 6. 19.
기초컴퓨터네트워크 05 (ch. 2 : Application Layer - network application, socket, TCP, UDP) === Application Layer === 1. principles of network applications Creating network app write programs that 서로 다른 end system간에서 돌아가면서 네트워크로 메세지를 주고 받음 ex) browser을 이용해서 커뮤니케이션 하는 소프트웨어 no need to write software for network-core devices user application을 동작시키지는 않지만 앱 개발과 데이터 송신이 되도록 하는 코어들 Application architectures applications의 가능한 모델들 Client to Server Server 여러 Client가 서버에 접속 항상 켜져 있는 host 영구적인 IP.. 2021. 6. 19.