Chapter02. Application Layer
Video Streaming and CDNs: context
- video streaming
- 앞으로 play하는 동안 뒤를 download하여 바로바로 보자는 취지
- CDN
- content가 user 가까이에 있을수록 delay가 적어서 좋다
- 여기저기 cluster을 만들어 저장
- 문제점
- scale → distributed 방식 쓰자
- heterogeneity → 사용자 환경이 달라서 같은 content를 주기 어려우니 service option이 필요
- 해결책 : distributed 환경, application-level infrastructure
Multimedia : video
- video : 접지 이미지를 빠르게 지나가게 하여 움직인다고 인식
- digital image : pixel로 표현, bit로 RGB 표현
- coding : encoding에 쓰이는 bit 수를 줄이기 위해 중복 사용, 압축 기술 사용
- spatial coding : 동일한 색상의 n개 값을 보내는 대신, 색상 값과 반복되는 값의 수 두 개만 보내기
- temporal coding : 이전 것과 다른 것만 보내기
- encoding 방법의 종류
- CBR : content bit rate, 속도 고정
- VBR : variable bit rate, 속도 조절 by spatial/temporal coding
- Encoding → Decoidng에서 항상 Data Loss 발생 = Trade off는 항상 있다
Streaming stored video
- 문제점
- 네트워크 지연이 가변적(jitter)이므로 client 측에 buffer가 필요하다
- client interactivity : 멈추기/빠르게 하기/돌아가기/뛰어 넘기
- video packet이 lost되고 재전송 됨 → 화질 저하
- playout buffering
- DASH : Dynamic Adaptive Streaming over HTTP
- 동적으로 상황에 맞게끔 HTTPS에서 재생
CDNs
- 동작 과정
- copy들을 CDN node에 저장 ( = 인코딩하여 여기저기 서버에 업로드 (우선순위 O) )
- 구독자가 CDN에게 content 요청 ( = 가서 가져오는 방식 )
- OTT = over the top
- 서버에서 데이터를 보내지만 잘 갔는지 관리할 컨트롤 X
- 넷플릭스 경우
'Computer Science > Computer Network' 카테고리의 다른 글
[CS][컴퓨터 네트워킹 하향식 접근] Chapter3.1 Transport-layer services (1) | 2024.01.21 |
---|---|
[CS][컴퓨터 네트워킹 하향식 접근] Chapter2.7 socket programming with UDP and TCP (1) | 2023.11.02 |
[CS][컴퓨터 네트워킹 하향식 접근] Chapter2.5 P2P applications (0) | 2023.11.02 |
[CS][컴퓨터 네트워킹 하향식 접근] Chapter2.4 The Domain Name System (0) | 2023.11.02 |
[CS][컴퓨터 네트워킹 하향식 접근] Chapter2.3 Email, SMTP, IMAP (0) | 2023.11.02 |