본문 바로가기

network22

[네트워크] Chap 2.6 - P2P vs Client-Server Peer-to-peer (P2P) architectureno always-on server: P2P는 client도 됐다가, server도 됐다가 함. 즉 양쪽 모듈을 다 가지고 있음.  always-on server가 아님! → 항상 dynamic하게 들어왔다 나갔다 함.arbitrary end systems directly communicate: peer들끼리 직접 connection을 맺고 서로 서비스를 주고받으며 통신함self scalability: peer들이 늘어날수록 client도 늘어나지만, server도 같이 늘어난다=> 성능이 증가!(Client-Server 구조에서는 사용자가 증가할수록 성능이 저하된다)File distribution : Client-Server  vs  P2P 구할것.. 2024. 11. 16.
[네트워크] Chap 2.5 - DNS DNS (Domain Name System)우리가 특정 웹사이트에 접근하기 위해서는 해당 서버의 IP address를 알아야 하는데, 우리는"xxxx.com"과 같은 domain name (host name)밖에 모른다. 이 때 DNS를 이용하여 IP 주소를 찾을 수 있다. DNS는 client-server 구조로 짜여진 L5의 application protocol로, L4로는 UDP를 사용한다.IP address와 host name(URL or FQDN: Fully Qualified Domain Name)을 매핑시키는 역할을 한다. IP address (32bit) : 머신이 읽을 수 있는 주소로, datagram 주소 지정에 사용// 32bit는 IPv4이다 (0~255) host name (URL .. 2024. 11. 15.
[네트워크] Chap 2.4 - E-mail, SMTP, IMAP Electronic mail3가지 구성요소 1. Mail User Agents (MUA)메일을 보내기 위한 메일 프로그램Transferring emails to MTA => STMP 사용Retrieving emails from MTA => IMAP 사용  2. Mail Server (MTA, Mail Transfer Agent)outgoing message queue : FCFS (First Come First Serve)의 성질을 가지고 있음. 보내질 메일들을 담아두는 버퍼 공간user mailbox : client별로 존재. 해당 사용자에게 온 메일을 보관하는 역할SMTP protocol- SMTP client : sending mail server- SMTP server : receiving mai.. 2024. 11. 14.
[네트워크] Chap 2.3 -Cookies, Web caches(proxy server), HOL blocking Cookies🍪HTTP is a stateless protocol which does not keep status of a HTTP client at a server.However, using cookie a server can maintain information about its clients.HTTP는 이전 상태의 정보를 저장해두지 않는 stateless한 프로토콜이다.그러나, cookie를 사용하면 client에 대한 정보를 서버가 유지시킬 수 있다. client가 어떤 사이트에 처음 접속할 때, client는 HTTP request msg를 보내고, 해당 사이트의 server는 접속한 client에 대한 unique한 ID (cookie)를 세팅해주고 back-end database에 저장해놓.. 2024. 11. 13.
[네트워크] Chap 2.2 - HTTP Web and HTTP (HyperText Transfer Protocol)Base HTML-file : Text + URL들(Obejct들을 가리킴)Each object (including base-html file) is separately requested & received by using a separate HTTP request / response mesage => HTTP는 Object 단위로 데이터를 주고받음.  HTTPWeb의 application layer protocolClient-Server 모델을 사용한다. - client : object들을 요청, 수신, display하는 browser - server : 요청에 따라 object들을 보내주는 Web serverHTTP Opera.. 2024. 11. 12.
[네트워크] Chap 2.1 - Application layer Types of applications at layer 5Loss-sensitive(Data-tolerent, throughput-tolerant but loss에는 민감!)e-mail, web document browsing, text messaging, Telnet, File transfer service, etc.  Delay-sensitive & Bandwidth-sensitive (Loss-tolerent but Delay & Bandwidth 에 둘다 민감) real-time streaming, interactive games, Voice over IP, etc.  Loss-sensitive, delay-sensitive, throughput-sensitive (Loss, Delay, thro.. 2024. 11. 11.