ch2 m/c
- 한 호스트에서 다른 호스트로의 html파일 전송은 '허용-손실적이고 시간에 민감하지 않다.'
-
브라우저는 '아래의'의 기능을 해더 라인들로 생성한다.
- 브라우저의 유저 설정
- 브라우저 타입과 버전
- 요청된 개체의 캐쉬된 버전을 갖는 브라우저여부
- 클라이언트가 If-modified-since: 해더를 같는 메세지 HTTP 요청을 보낸다고 가정하자. 오브젝트를 검색하는 클라이언트의 마지막까지 변하지 않은 서버에서의 오브젝트를 생각하자. 서버는 상태 코드의 응답 메세지를 보낼 것이다. : 304 Not Modified
- 텍스트 캐싱 예제에서 (0.4 대신) 0.5의 히트 레이트를 가정하자. 평균 딜레이는 '1.0에서 1.1sec이다.'
- SMTP는 '한 메일 서버에서 다른 곳으로 메세지를 전송한다.'
- DNS 리소스 레코드가 Type=MX 이면, '값은 앨리어스(가명, 별명) 호스트 네임 Name을 갖는 메일 서버의 호스트네임이다.'
- 로컬 DNS 네임 서버들은 '리소스 레코드를 캐시하지만, 며칠간의 순서에서 시간의 주기 후에 삭제한다.'
- 아래의 프로그램들 중 스트림들의 필요로 하지 않는 것은 - UDPserver이다.
- 섹션 2.6에서 논의된 P2P파일 분산을 위한 최소 시간을 고려하자. 서버의 업로드 비는 10Mbps이고, 개인의 업로는 비는 1Mbps, 모든 개인의 다운로드 비는 10Mbps라 하자. 100명의 개인과 파일이 10억 비트이다. 최소 분산 시간은 '약 100sec'이다.
-
Bit Torrent는 '아래들은' 참이다.
- 개인이 갖고 있지 않은 조각에서, torrnet에서 인접한 조각을 요청한다.
- 다른 개인들의 50개의 동시 TCP연결을 갖는 개인 들이 있다면, 10개보다 적인 개인의 데이터를 보내는 순간이 주워진다.
- 순간에 개인 A가 개인 B에게 업로드한다면, 개인 B는 A에게 아무것도 보내지 않을 때이다.
The transfer of an html file from one host to another is
loss-intolerant and time insensitive
loss-tolerant and time sensitive
loss-intolerant and time sensitive
none of the above
A browser will generate header lines as a function of
user configuration of browser
browser type and version
whether the browser has a cached version of the requested object
all of the above
Suppose a client sends an HTTP request message with the If-modified-since: header. Suppose the object in a server has not changed since the last time a client retrieved the object. Then the server will send a response message with the status code:
404 Not Found
304 Not Modified
200 OK
none of the above
Suppose the hit rate is .5 (instead of .4) in the caching example in the text. Then the average delay is
greater than two seconds
between 1.0 and 1.1 seconds
between 1.2 and 1.3 seconds
none of the above
SMTP is used to
to define the format of message headers
to transfer messages from mail server to a user agent
to transfer messages from one mail server to another
all of the above
Suppose a DNS resource record has Type=MX. Then
Value is the hostname of the DNS server that is authoritative for Name.
Value is the IP address of the mail server that has the alias hostname Name.
Value is the hostname of the mail server that has the alias hostname Name.
none of the above
Local DNS name servers
cache resource records and never discard them
never cache resource records
obtain resource records from Web caches
cache resource records, but discard them after a period of time that is on the order of a few days
Streams are not needed in which of the following programs:
UDPserver
UDPclient
TCPclient
TCPserver
Consider the minimum time for P2P file distribution, as discussed in Section 2.6. Suppose the upload rate of the server is10 Mbps, the upload rates of all peers is 1 Mbps, and the download rates of all peers is 10 Mbps. Further suppose that there are 100 peers and the file is 100 million bits. The minimum distribution time is
approximately 100 seconds
approximately 1 second
approximately 10 seconds
approximately 1000 seconds
For BitTorrent, which of the following is true:
Among the chunks that a peer does not have, the peer will request chunks that appear to be relatively rare in the torrent.
Although a peer may have 50 concurrent TCP connections with other peers, at any given instant of time it sends data to less than 10 other peers.
At a given instant of time, a peer A may upload to a peer B, even if peer B is not sending anything to A.
All of the above.
History
Last edited on 10/07/2007 17:20 by suritam9
Comments (0)