主权项 |
1. A method for low-delay transmission of packets across a network from a transmitter to a receiver, comprising, at one or more computers coupled to the network:
transmitting a data packet; at the transmitter, receiving an ACK packet conveying a congestion event rate and an echoed sequence number; at the transmitter, calculating a smoothed round-trip time based on the echoed sequence number; at the transmitter, utilizing a TCP throughput equation to calculate an allowed sending rate, based on a congestion event rate and smoothed round-trip time; at the transmitter, calculating a current queueing delay of a send buffer; at the transmitter, queueing into the send buffer a message requested to be sent by an application only if the current queueing delay does not exceed a threshold; at the transmitter, inserting a time limit value in a data packet, the time limit value signaling to the receiver a limit on how long the associated message should stay in the receive buffer before being removed; at the transmitter, inserting a message drop sequence number in a data packet, the message drop sequence number signaling to the receiver to drop all messages with an earlier message drop sequence number; and at the transmitter, receiving a NACK packet indicating a range of sequence numbers of lost packets, and retransmitting each such lost packet that was not part of a dropped message. |