4. CDN (Contents Delivery Network)
전 세계에 전략적으로 배치된 대규모 서버 네트워크를 이용하여
지리적으로 가장 가까운 Edge서버로부터 Contents를 전송
5. Why do we need CDN?
QOE(Quality of Experience) 개선
Cost Optimization
1
2
6. Why do we need CDN?
Last Mile Middle Mile First Mile
• 트래픽은 거리가 멀수록 / 데이터 양이 많을수록 전송 지연
• 대부분의 속도 저하는 Middle Mile 구간에서 발생
Internet
ORIGIN
- QOE(Quality of Experience) 개선
8. Cache Server
ORIGIN
Contents 응답
Contents 요청
Contents 응답
Contents 요청
Cache
Hit
Cache
Miss
Contents 응답
Contents 요청
원본 Contents
Why do we need CDN? - QOE(Quality of Experience) 개선
10. GLOBAL GAME FLOW
STEP #1 Client Download & Install
STEP #2 Login via HTTP API
STEP #4 Matchmaking to Game Server
STEP #5 Connect to Server
STEP #6 Hack Apart Your Friends
STEP #7 Game Over
STEP #8 Write via HTTP API
STEP #3 Downloading Game Assets
CDN 활용
11. Why do we need CDN? - Cost Optimization
Internet egress rates
12. Why do we need CDN? - Cost Optimization
Cache egress rates
about 36%
14. Google Cloud Platform
Regions, PoPs - 134
Edge points of
presence 134
Current region and
number of zones
Future region and
number of zones
Asia Pacific Americas Europe, Middle East, & Africa
Finland3
3Seoul
3London
3
Netherlands
3
Belgium
4
Iowa
3 N. Virginia
3
S. Carolina
3 Montreal
3
São Paulo
3
Taiwan
Hong Kong
3
Mumbai
3
Sydney
3 Singapore
3
Jakarta
3
3
Oregon 3
Salt
Lake
City
Los Angeles
3
3
Frankfurt
Zurich
3
3
Tokyo
Osaka
3
15. Google Cloud Platform
Regions, PoPs, Network - 13 cables
Current region and
number of zones
Future region and
number of zones
https://peering.google.com/#/infrastructure
Edge points of
presence 134
Edge points of
presence 134
HK-G (HK, GU) 2019
Havfrue (US, IE, DK) 2019
Curie (CL, US) 2019
JGA (AU, GU, JP) 2019
Network
SJC (JP, HK, SG) 2013
Unity (US, JP) 2010
Faster (US, JP, TW) 2016
PLCN (HK, LA) 2019
Monet (US, BR) 2017
Junior (Rio, Santos) 2018
Tannat (BR, UY, AR) 2018
Indigo (SG, ID, AU) 2019
Asia Pacific Americas Europe, Middle East, & Africa
3London
3
Netherlands
3
Belgium4
Iowa
3
N. Virginia
3
S. Carolina
3
Montreal
3
São Paulo
3
Taiwan
Hong Kong
3
Mumbai
3
Sydney
3 Singapore
Finland3
3Seoul
3
Jakarta
3
3
Oregon 3
Salt Lake
City
Los Angeles
3
3
Frankfurt
Zurich
3
3
Tokyo
Osaka
3
16.
17. other CDN GCP CDN – QUIC Enable
1.40s2.88s
Cloud Load
Balancing
PROXY
Compute
Engine
10GB PD
2 1
Google Cloud
CDN
Custom OriginMiddle EdgeEdge
GCP(Google Cloud Platform) Infra External InfraUser
Last Mile
Cloud
Storage
Korea Japan Korea
Performance
18. 주요 기능
Anycast
HTTP/2
HTTP/2
Invalidation
Logging
원본
단일 IP 주소로 전 세계에 최소한의 지연 시간으로
콘텐츠를 전송
HTTP/1.0과 HTTP/1.1은 물론 더욱 효율적인
최신 HTTP/2 프로토콜을 지원
자체 SSL/TLS 인증서를 사용하여 내가 선택한 도메인 이름으로
콘텐츠 보안을 유지
캐시된 콘텐츠를 몇 분 만에 삭제
Stackdriver Logging과 연동하며 캐시 내의 데이터 존재
여부에 대해 상세한 정보를 제공
▪ Compute Engine VM과 Cloud Storage 버킷에 원본이 있는
▪ 콘텐츠를 제공.
▪ 하나의 도메인을 사용하면서 여러 개의 원본 위치를
조합할 수 있음.
▪ 외부 원본 서버는 지원하지 않음.
19. Limits
Not Supported External Origin
Not Supported Customized Cache Options
1
2
Not Supported Origin active FailedOver3