728x90
Application architectures
- peer-to-peer(P2P)
- client-server
Client-server architecture
- server
- always-on host
- permanent IP address
- data centers for scaling
- clients
- communicate with server
- do not communicate directly with each other
- may be intermittently connected
- may have dynamic IP address
P2P architecture
- no always-on server
- arbitrary end systems directly communicate
- peers request service from other peers, provide service in return to other peers
- self scalability - new peers bring new service capacity, as well as new service demands
- peers are intermittently connected and change IP address
- complex management
Processes communicating
- process : program running within a host
- within same host
- different hosts by messages
- server-client
- client process : initiates communication
- server process: waits to be contacted
- P2P
- can be client or server each peers
Sockets
- process sends/receives msg to/from its socket
- analogous to door
Addressing processes
- process must have identifier
- identifier includes both IP address and port numbers(host device has unique 32bit IP address)
- well known port
- HTTP server: 80
- mail server: 25
what transport service does an app need?
- data integrity
- timing : require low delay to be effective
- throughput : require minimum amount of throughput to be effective
Internet transport protocols services
- transport 계층에서 패킷을 갖고 있으면 minimum throughput 보장 못함
Internet apps : application, layer protocol, transport protocol
App-layer protocol defines
Web and HTTP
728x90
'프로그래밍공부(Programming Study) > 네트워크(Network)' 카테고리의 다른 글
[컴퓨터네트워크]6. Cookie, web cache (0) | 2023.03.28 |
---|---|
[컴퓨터네트워크]5. HTTP (0) | 2023.03.28 |
[컴퓨터네트워크]3. delay, loss, throughput, protocol (0) | 2023.03.25 |
[컴퓨터네트워크]2. Network edge, Network core (0) | 2023.03.25 |
[컴퓨터네트워크]1.What is Internet? (2) | 2023.03.25 |
댓글