URLs, DNS and bit streaming
도입됨
23:35
네트워크
You tap send. In less than a second, your message leaps out of your phone, races across your city, dives under an ocean through a cable, and surfaces on…
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| English | 의미 |
|---|---|
| text file/tekst faɪl/ | A file that stores data as a sequence of encoded characters. |
| distributed system/ˈdɪstrɪbjuːtɪd ˈsɪstəm/ | A group of connected computers that share work across a network. |
| servers/ˈsɜːvəz/ | A computer or program that provides services or resources in response to requests from clients. |
| name space | A set of names used to identify resources in a system. |
| Domain Name System/dəˈmeɪn neɪm ˈsɪstəm/ | 도메인 시스템 |
| Uniform Resource Locator/ˈjuːnɪfɔːm rɪˈzɔːs ləʊˈkeɪtə/ | eareratory resource locator |
| web/web/ | A collection of linked pages and other resources accessed through the internet. |
| protocol/ˈprəʊtəkɒl/ | 프로토콜 |
| domain name/dəˈmeɪn neɪm/ | 도메인 이름 |
| path/pæθ/ | The part of a web address that identifies a resource on a server. |
| port number | A number that identifies a service on a computer connected to a network. |
| query string | The part of a web address that sends extra information to the server. |
| IP addresses | Numerical addresses used to identify devices and deliver data across networks. |
| browser | A program used to access and display pages on the web. |
| resolver/rɪˈzɒlvə/ | 해결기 |
| cached | Stored for a time so that it can be used again quickly. |
| root server | A DNS server that directs a resolver to the correct top-level domain server. |
| top-level domain server | A DNS server that directs a resolver to the authoritative server for a domain. |
| authoritative server | A DNS server that holds and returns records for a domain. |
| DNS hierarchy | The organised levels of DNS servers used to find domain information. |
| HTTP request/ˌeɪtʃ tiː tiː ˈpiː rɪˈkwest/ | A message sent to a server to ask for a web resource. |
| routers/ˈruːtəz/ | Network devices that forward packets between networks using destination addresses and routing information. |
| DNS record | A stored piece of information about a domain, such as its IP address. |
| Bit streaming/bɪt ˈstriːmɪŋ/ | The continuous sending of media data so it can be played as it arrives. |
| multimedia/ˌmʌltɪˈmiːdiːə/ | Content that combines forms of media such as sound, pictures and video. |
| Real-time/rɪəl taɪm/ | Describes streaming that sends content as it is captured. |
| latency/ˈleɪtənsi/ | The time between sending data and its arrival at the destination. |
| On-demand/ɒn dɪˈmænd/ | Describes streaming that plays stored content when the viewer chooses. |
| buffer/ˈbʌfə/ | 버퍼 |
| bit rate/bɪt reɪt/ | 비트레이트 |
| bits/bɪts/ | The smallest units of data, each having a value of zero or one. |
| broadband speed | The rate at which data can travel over a broadband connection. |
| Lossy/ˈlɒsi/ | Describing compression that discards some original information so it cannot be perfectly recovered. |
| compression/kəmˈpreʃn/ | 압축 |
| bandwidth/ˈbændwɪdθ/ | The frequency range carried by a signal or channel; in networking, often used for its data transfer capacity. |
| frames/freɪmz/ | Individual images shown in sequence to make a video. |
| packet/ˈpækɪt/ | Units of data sent through a network, containing payload and control information such as addressing details. |
| sample/ˈsæmpl/ | To record a signal's value at a selected time or position; the recorded measurement is also called a sample. |
| encoded | Changed into a suitable form for storing, sending or processing data. |
인터넷을 운영하던 전화번호부
- 1983년까지 인터넷상의 모든 컴퓨터는 스탠퍼드 단 하나의 기계에서 텍스트 파일 HOSTS.TXT를 다운로드하여 서로를 찾았습니다. 새로운 computer가 추가될 때마다 파일은 커지고 모두가 다시 가져왔습니다.
- 폴 Mockapetris는 파일을 분산 서버 시스템으로 교체하여 각 서버가 이름 공간의 자신의 부분만을 담당하게 했습니다. 이를 도메인 네임 시스템(DNS)이라고 불렀습니다.
- 이것이 우리가 열두 자릿수 숫자 대신 이름을 입력하는 이유이며, 웹사이트가 이사하더라도 당신에게 알리지 않는 이유입니다.
- 이 수업은 당신이 입력하는 주소, 해당 주소를 검색하는 시스템, 그리고 비디오가 완전히 도착하기 전에 당신에게 도달하는 방식에 대해 다룹니다.
URL
- A Uniform Resource Locator (URL) locates one resource on the web:
https://www.example.com/about/contact.html. - The protocol,
https, says how to fetch it. The domain name,www.example.com, names the server in a form people can read. The path,/about/contact.html, names the file on that server. - URL에는
?뒤에 포트 번호와 쿼리 문자열이 포함될 수 있지만, 시험에서 요구하는 세 가지 항목은 프로토콜, 도메인, 경로입니다.

In https://www.example.com/about/contact.html, what is https?
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
https is the protocol; www.example.com is the domain name; /about/contact.html is the path.
Match each part of https://www.example.com/about/contact.html to its name.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
A URL is protocol + domain name + path — the protocol says how, the domain says which server, the path says which resource.
도메인 네임 시스템
- 컴퓨터는 이름이 아닌 IP 주소로 데이터를 전송합니다. 도메인 네임 시스템(DNS)은 도메인 이름을 IP 주소로 변환하는 분산형 서버 집합입니다.
- 브라우저가 리솔버에 요청합니다. 리솔버에 답변이 캐시되어 있지 않으면 루트 서버에 질문하고, 루트 서버는
.com의 상위 도메인 서버를 가리키며, 이 상위 도메인 서버는example.com의 권위 있는 서버를 가리킵니다. 최종적으로 권위 있는 서버에서 IP 주소를 반환합니다. - 브라우저는 이후 해당 IP 주소로 연결하여 경로를 요청합니다. 전체 검색 과정은 밀리초 단위로 완료되며 캐시가 적용되므로 거의 반복되지 않습니다.

*리솔버, 루트, 상위 도메인, 권위 있는 서버: 그 후 브라우저가 연결함

How DNS finds a website
Step through a DNS lookup. The network routes by IP, not by name — so before anything loads, DNS must turn the domain name into an IP address.
The Domain Name System (DNS) mainly:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
DNS resolves human-readable domain names to the numeric IP addresses the network actually uses.
worked example: 입력한 주소부터 페이지 로드까지
- 사용자가 URL을 입력하면 브라우저는 프로토콜, 도메인명, 경로를 분리합니다.
- 브라우저는 도메인명을 DNS 리솔버에 보내고, 리솔버는 권위 있는 서버가 서버의 IP 주소를 반환할 때까지 DNS 계층을 쿼리합니다.
- 브라우저는 해당 IP 주소로 연결을 열고 해당 경로에 대한 HTTP 요청을 보냅니다.
- 서버가 페이지를 반환하면 브라우저가 이를 렌더링합니다. 총 네 단계이며, 이 중 DNS 단계가 가장 자주 놓치는 부분입니다.

Put a DNS lookup in order, from typing the address to loading the page.
난이도 3/5 · 200코인 + 오늘 첫 완료 시 작은 보너스 추가
The resolver walks the hierarchy (root → TLD → authoritative) until it gets the IP, then the browser connects.
DNS가 존재하는 이유
- 사람은 이름을 기억하지만 라우터는 숫자로 데이터를 전달합니다. DNS는 이 두 가지가 동시에 성립하게 해줍니다.
- 사이트는 DNS 레코드를 변경함으로써 새 서버로 이동하거나 여러 서버에 분산될 수 있습니다. 사용자는 여전히 동일한 이름을 입력합니다.
- 시스템이 분산되어 있어 단일 서버가 모든 이름을 보유하지 않으며, 모든 수준에서 캐시가 이루어지므로 부하가 분산됩니다.
Why does the web use DNS rather than having users type IP addresses? Select 모든 that apply.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
DNS is about names, flexibility and distribution. The lookup adds a few milliseconds; it does not speed up the page itself.
비트 스트리밍
- 비트 스트리밍은 멀티미디어를 전체 파일을 먼저 다운로드하는 대신 수신기가 도착하자마자 재생할 수 있는 연속된 흐름으로 전송합니다.
- 실시간 스트리밍은 스포츠 중계나 영상 통화처럼 발생 즉시 녹화되어 전송됩니다. 되감기가 불가능하며, 낮은 지연 시간이 필수적입니다.
- 온디맨드 스트리밍은 서버에 이미 저장된 파일을 재생합니다. 일시 정지 및 되감기가 가능하며, 서버는 미리 데이터를 전송할 수 있습니다.

*버퍼는 네트워크와 플레이어 사이에 위치함

Streaming media plays as it arrives, without first downloading the whole file.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
That is the defining feature of streaming — the receiver plays the stream as it comes in (with a small buffer), rather than waiting for a full download.
Compared with real-time (live) streaming, on-demand streaming:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
On-demand content is pre-recorded, so you can pause/rewind and the server can buffer well ahead. Live streaming can't be rewound and needs low latency.
버퍼와 비트레이트
- 버퍼는 재생 시작 전에 몇 초간의 데이터를 저장하여 네트워크의 일시적 저하로 인해 영상이 끊기지 않게 합니다. 온디맨드 스트리밍은 훨씬 앞으로 버퍼링할 수 있으나, 라이브 스트리밍은 최소한의 버퍼링만 가능해야 하며, 과도한 버퍼링은 라이브 특성을 잃게 됩니다.
- The bit rate is the number of bits per second the stream needs. It must stay below the broadband speed, or data arrives slower than it is played and the playback stalls.
- 손실 압축은 비트레이트를 낮추어 움직이는 화면에서 작은 손실을 숨기고, 스트리밍이 대역폭에 맞게 설정되도록 합니다.

Why does a streaming player use a buffer?
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The buffer holds a few seconds ahead of what is playing, so short slow-downs in the network don't cause the playback to stall.
For a stream to play without stalling, its bit rate must stay ____ the broadband speed of the connection.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
If more bits per second are needed than the connection delivers, data arrives more slowly than it is played and the buffer empties.
worked example: 실시간 스트리밍 전 압축이 필요한 이유는?
- 비디오가 실시간으로 스트리밍되기 전에 압축되는 이유를 설명하시오.
- 비압축 스트리밍은 연결이 가진 대역폭보다 더 많은 대역폭이 필요하므로 프레임이 늦게 도착하고 재생이 멈출 수 있습니다.
- 압축은 비트 수를 줄여比特레이트를 broadband 속도 아래로 유지하고 지연 시간을 작게 만듭니다.
- 양쪽 모두에서 저장 공간과 비용이 덜 필요합니다. 실시간 스트리밍에서 늦게 도착한 패킷은 단순히 무시(버림)됩니다. 실시간 스트리밍은 이를 기다릴 수 없기 때문입니다.
worked example: 실시간 파이프라인
- 실사 이벤트를 시청자에게 어떻게 스트리밍하는지 설명하시오.
- 카메라와 마이크가 이벤트를 포착하고 샘플링합니다. 데이터는 크기를 줄이기 위해 압축하여 인코딩됩니다.
- 스트리밍은 패킷 형태로 네트워크를 통해 전송됩니다. 시청자의 기기는 조금 버퍼링한 뒤 재생하며, 너무 늦게 도착한 패킷은 버립니다.
- 온디맨드와 비교하면: 파일이 이미 존재하므로 서버가 미리 데이터를 보낼 수 있고, 버퍼 크기가 클 수 있으며, 시청자가 일시 정지 및 되돌림을 할 수 있습니다.

Put the stages of real-time streaming in order.
난이도 3/5 · 200코인 + 오늘 첫 완료 시 작은 보너스 추가
Capture, encode, send, play. The compression happens before sending, which is what keeps the bit rate inside the bandwidth.
놓칠 수 있는 점
- DNS는 이름을 IP 주소로 변환하며, 시험 답안에서는 절대 반대 방향이 아닙니다. 또한 페이지를 전송하는 것은 DNS가 아닙니다.
- 실시간 스트리밍도 버퍼를 사용할 수 있지만, 그 크기는 작습니다. 되돌리는 기능은 불가능합니다.
- 비트레이트는 연결 속도와 비교됩니다. 비트레이트가 높으면 스트리밍이 멈춥니다. 각각 무엇이 무엇인지 명시하십시오.
- URL의 프로토콜 부분은
https이며,www이 아닙니다.www은 도메인명의 일부입니다.
In a real-time stream, a packet that arrives too late is held until it can be played in its proper place.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
A live stream cannot wait: a late packet is dropped and playback continues. Only on-demand streaming can afford to wait, because it buffers far ahead.
이해했습니다
- URL = 프로토콜 + 도메인명 + 경로; DNS는 리솔버 → 루트 → 상위 도메인 → 권위 있는 서버를 통해 도메인명을 IP 주소로 변환합니다.
- DNS는 사람이 이름을 사용하고, 라우터가 숫자를 사용하며, 사이트가 이름 변경 없이 이동할 수 있도록 하기 위해 존재합니다.
- 비트 스트리밍은 média가 도착하는 대로 재생합니다: 실시간은 생중계이며 되돌림 불가, 온디맨드는 저장된 파일이며 가능함
- 버퍼는 네트워크 감속을 커버하며, 비트레이트는 broadband 속도보다 낮아야 하므로 스트리밍은 **손실 압축(lossy compression)**을 사용합니다.
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.