目前分類:要念的 (5)

瀏覽方式: 標題列表 簡短摘要
以 ssh 認證金鑰進行連線

適用情況:

yslee 發表在 PIXNET 痞客邦 迴響(0) 引用(0) 人氣(128)


Copy Paste from Wiki,Ref url:
http://en.wikipedia.org/wiki/Paradox_of_thrift

yslee 發表在 PIXNET 痞客邦 迴響(0) 引用(0) 人氣(72)

無道人之短,無說己之長。

施人慎勿念,受施慎勿忘。

yslee 發表在 PIXNET 痞客邦 迴響(0) 引用(0) 人氣(154)

Ah, so you are the Nagle of the algorithm? How about an extension onto TCP as a concept:

you can tell TCP that you are willing to accept d amount of delay, with the default being the 500 ms previously used and assigned. Thus protocols like X could state that they don't need to hang waiting for an ACK, while programs that should hang waiting for ACK will continue to do so.

yslee 發表在 PIXNET 痞客邦 迴響(0) 引用(0) 人氣(99)

I really should fix the bad interaction between the "Nagle algorithm" and "delayed ACKs". Both ideas went into TCP around the same time, and the interaction is terrible. That fixed timer for ACKs is all wrong.
Here's the real problem, and its solution.

The concept behind delayed ACKs is to bet, when receiving some data from the net, that the local application will send a reply very soon. So there's no need to send an ACK immediately; the ACK can be piggybacked on the next data going the other way. If that doesn't happen, after a 500ms delay, an ACK is sent anyway.

yslee 發表在 PIXNET 痞客邦 迴響(0) 引用(0) 人氣(391)