Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local vs CDN #12

Open
yejineee opened this issue May 10, 2021 · 0 comments
Open

Local vs CDN #12

yejineee opened this issue May 10, 2021 · 0 comments

Comments

@yejineee
Copy link
Owner

yejineee commented May 10, 2021

image

  • 웹 호스팅은 일반적으로 하나의 서버를 가리킨다.
  • CDN은 edge 서버의 글로벌 네트워크를 가리킨다. CDN이 멀티호스트 환경에서 content를 제공한다.

유저가 static file들을 요청한 상황을 가정하자.

만약 local에서 정적 파일들을 갖고 있다면, 유저와 웹 서버의 거리가 굉장히 멀 때,
유저가 해당 컨텐츠를 로드하기 위한 대기시간은 길어지게 된다.

만약 CDN이 정적 파일들을 갖고 있고, 전 세계 곳곳에서 제공하고 있다면, 유저가 그 파일을 다운로드 받는데 걸리는 시간은 줄어든다. 왜냐면, 유저와 거리상으로 가까운 CDN 서버에서 정적 파일을 보내주기 때문이다.

출처

읽어보면 좋을 것

@yejineee yejineee changed the title Local vs CDN 정적파일 다운로드를 어디서? Local vs CDN May 10, 2021
@yejineee yejineee changed the title 정적파일 다운로드를 어디서? Local vs CDN Local vs CDN May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant