Go Back – n   & Selective RepeatProtocol
Go-Back-N protocolConceptIntroduce a window of size nCan inject n packets on net before hearing an ACKEach packet is labeled with a sequence number.
ADVANTAGES  OF GO-BACK  NThe sender can send many frames at a time. Timer can be set for a group of frames. One ACK can acknowledge more than one frames.  Efficiency is more.
DISADVANTAGES Buffer requirement.Transmitter needs to store the last N packets.Scheme is inefficient when delay is  large and data transmission rate is high. Unnecessary Retransmission of many error-free packets.
Selective Repeat ProtocolGo-Back-N inefficient because multiple frames are resent when errors or losses occur.SR protocol retransmits only an individual frame containing the error.Buffer is provided in this case.
FramesHandling12345678910123E5678910Sending windowReceiving  window contains the error in 4th frame.
in Go back n protocol….Sending window1234567891045678910Receiving  window123E5678910Frames are discarded.Retransmitting  the discarded frames.
in Selective repeat protocol….Sending window123456789104Getting  remaining frames from the buffer.Retransmitting frame.Receiving  window123E5678910Output BufferError in 4th Frame597Reordering the frames.8
COMPARISON CHART
THANK YOU !!!

GO BACK N PROTOCOL

  • 1.
    Go Back –n & Selective RepeatProtocol
  • 2.
    Go-Back-N protocolConceptIntroduce awindow of size nCan inject n packets on net before hearing an ACKEach packet is labeled with a sequence number.
  • 3.
    ADVANTAGES OFGO-BACK NThe sender can send many frames at a time. Timer can be set for a group of frames. One ACK can acknowledge more than one frames. Efficiency is more.
  • 4.
    DISADVANTAGES Buffer requirement.Transmitterneeds to store the last N packets.Scheme is inefficient when delay is large and data transmission rate is high. Unnecessary Retransmission of many error-free packets.
  • 5.
    Selective Repeat ProtocolGo-Back-Ninefficient because multiple frames are resent when errors or losses occur.SR protocol retransmits only an individual frame containing the error.Buffer is provided in this case.
  • 6.
  • 7.
    in Go backn protocol….Sending window1234567891045678910Receiving window123E5678910Frames are discarded.Retransmitting the discarded frames.
  • 8.
    in Selective repeatprotocol….Sending window123456789104Getting remaining frames from the buffer.Retransmitting frame.Receiving window123E5678910Output BufferError in 4th Frame597Reordering the frames.8
  • 9.
  • 10.