Difference Between Go-Back-N and Selective Repeat Protocol
Both Go-Back-N Protocol and Selective Repeat Protocol are the types of sliding window protocols.
The main difference between these two protocols is that after finding the suspect or damage in sent frames go-back-n protocol re-transmits all the frames whereas selective repeat protocol re-transmits only that frame which is damaged.
Now, we shall see the difference between them:
|S.NO||Go-Back-N Protocol||Selective Repeat Protocol|
|1.||In Go-Back-N Protocol, if the sent frame are find suspected then all the frames are re-transmitted from the lost packet to the last packet transmitted.||In selective Repeat protocol, only those frames are re-transmitted which are found suspected.|
|2.||Sender window size of Go-Back-N Protocol is N.||Sender window size of selective Repeat protocol is also N.|
|3.||Receiver window size of Go-Back-N Protocol is 1.||Receiver window size of selective Repeat protocol is N.|
|4.||Go-Back-N Protocol is less complex.||Selective Repeat protocol is more complex.|
|5.||In Go-Back-N Protocol, neither sender nor at receiver need sorting.||In selective Repeat protocol, receiver side needs sorting to sort the frames.|
|6.||In Go-Back-N Protocol, type of Acknowledgement is cumulative.||In selective Repeat protocol, type of Acknowledgement is individual.|
|7.||In Go-Back-N Protocol, Out-of-Order packets are NOT Accepted (discarded) and the entire window is re-transmitted.||In selective Repeat protocol, Out-of-Order packets are Accepted.|
|8.||In Go-Back-N Protocol, if Receives receives a corrupt packet, then also, the entire window is re-transmitted.||In selective Repeat protocol, if Receives receives a corrupt packet, it immediately sends a negative acknowledgement and hence only the selective packet is retransmitted.|
|9.||Efficiency of Go-Back-N Protocol is|
|Efficiency of selective Repeat protocol is also|
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.