Sliding Window Protocol - Extensions

Extensions

There are many ways that the protocol can be extended:

  • The above examples assumed that packets are never reordered in transmission; they may be lost in transit (error detection makes corruption equivalent to loss), but will never appear out of order.

The protocol can be extended to support packet reordering, as long as the distance can be bounded; the sequence number modulus N must be expanded by the maximum misordering distance.

  • It is possible to not acknowledge every packet, as long as an acknowledgment is sent after not receiving any packets for a while. For example, TCP normally acknowledges every second packet.
  • It is common to inform the transmitter immediately if a gap in the packet sequence is detected. HDLC has a special REJ (reject) packet for this.
  • The transmit and receive window sizes may be changed during communication, as long as their sum remains within the limit of N. In particular, it is common to reduce the transmit window size to slow down transmission to match the link's speed, avoiding saturation or congestion.
  • One common simplification of selective-repeat is so called SREJ-REJ ARQ. This operates with wr=2 and accepts following packets, but only allows a single lost packet; if a second packet is lost, no more packets are buffered. (I.e. wr=1 while waiting.) This gives most of the performance benefits of the full selective-repeat protocol, with a simpler implementation.

Read more about this topic:  Sliding Window Protocol

Famous quotes containing the word extensions:

    If we focus exclusively on teaching our children to read, write, spell, and count in their first years of life, we turn our homes into extensions of school and turn bringing up a child into an exercise in curriculum development. We should be parents first and teachers of academic skills second.
    Neil Kurshan (20th century)

    The psychological umbilical cord is more difficult to cut than the real one. We experience our children as extensions of ourselves, and we feel as though their behavior is an expression of something within us...instead of an expression of something in them. We see in our children our own reflection, and when we don’t like what we see, we feel angry at the reflection.
    Elaine Heffner (20th century)