| stateless | stateful |
|---|---|
| server 지난 client request 유지 X | remember client information across sesssion |
| 한 개 커뮤니케이션 세션 이후 client 정보 유지 X | cookie : keeping state |
| client request 독립적으로 해석 | |
| http | SMTP |
| POP | IMAP |
session : TCP setup - msg exchange - TCP close
Web Cache process
- client send all HTTP request to cache
- cache가 해당 obj 소유 여부 따라
2-1. cache에게 있음
: return obj to client
2-2. cache에게 없음
: request to origin server then return to client
| HTTP | SMTP | |
|---|---|---|
| body format | 7bit ASCII character | |
| arbitary data (binary img) | original format | 7bit ASCII character |
recursive DNS queries
iterative DNS queries
| Enter Deep | Bring Home | |
|---|---|---|
| 장소 수량 규모 | 전세계 널리 많은 곳에 server cluster deploy | 주로 IXP 상대적으로 적은 site LARGE server clustering deploy |
| 효과 | End user간 delay 감소 throughput 증가 | maintainance management 비용 감소 |
| UDP | TCP | |
|---|---|---|
| welcom socket | X | O |
| n명 동시 접속 | initiate server connection X UCP 서버와 통신 X | 매번 initiate connection |
| socket 갯수 | 1 | n+1 |
| UDP | TCP | |
|---|---|---|
| execution 순서 | client 프로그램 -> server 프로그램 | server 프로그램 -> client 프로그램 |
| client excution 되자마자 | 즉시 connection initiate 요청 X | 즉시 connection initiate 요청 O |
| 만약 server가 excution 안 되었고 run하고 있지 않으면 client는 connection 실패하게 됨 |

