ball buster 百度网盘:请朋友们帮忙翻译一下,谢谢拉

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 01:11:23
Before continuing, let’s do a back-of-the-envelope calculation to estimate the amount of time from a client requesting the base HTML file until the file is received by the client. To this end we define the round-trip time(RTT), which is the time it takes for a small packet to travel form client to server and then back to the client. The RTT includes packet-propagation delays(These delays were discussed in Section 1.6) Now consider what happens when a user clicks on a hyperlink. This causes the browser to initiate a TCP connection between the browser and the Web server; this involves a “three-way handshake”-the client sends a small TCP message to the server, the client sends a small TCP message to the server, the server acknowledges and responds with a small message, and, finally, the client acknowledges back to the server. One RTT elapses after the first two parts of the three-way handshake .After completing the first two parts of the handshake, the client sends the HTTP request message into the TCP connection, and TCP “piggybacks” the last acknowledgment(the third part of the three way handshake) onto the request message. Once the request message arrives at the server, the server sends the HTML file into the TCP connection. This HTTP request/response eats up another RTT. Thus, roughly, the total response time is two RTTs plus the transmission time at the server of the HTML file

在继续之前, 我们做这信封演算估计时间从客户请求基地HTML 文件直到文件由客户接受。到最后我们定义往返time(RTT), 是时间它需要为一个小小包对旅行形式客户对服务器和然后回到客户。RTT 包括delays(These 延迟被谈论在部分1.6) 现在考虑的小包传播什么发生当用户点击超链接。这导致浏览器首次TCP 连接在浏览器和网络服务器之间; 这涉及一个"三通的handshake"-the 客户寄发一则小TCP 消息到服务器, 客户寄发一则小TCP 消息到服务器, 服务器承认和反应以一则小消息, 并且, 终于, 客户承认回到服务器。一RTT 流逝在三通的握手After 以后的第一二部份完成握手的第一二部份, 客户送HTTP 请求信入TCP 连接, 并且TCP "扛在肩上" 三种方式握手的前acknowledgment(the 第三个零件) 请求消息。请求消息一次到达在服务器, 服务器送HTML 文件入TCP 连接。这HTTP request/response 吃其它RTT 。因而, 大致, 总反应时间是二RTTs 加上传输时间在HTML 文件的服务器