Pipelining in Go-Back-N Automatic Repeat reQuest (ARQ) is a technique used in data communication to improve efficiency by sending multiple frames before waiting for an acknowledgment (ACK). Unlike Stop-and-Wait ARQ, where the sender waits for an ACK after each frame, Go-Back-N allows the sender to transmit several frames in a sequence, making better use of the channel.
- Window Size: The sender has a "window" of frames (e.g., size N) it can send without waiting for an ACK.
- Send Frames: The sender sends frames up to the window size and waits for ACKs.
- Acknowledgments: The receiver sends ACKs for correctly received frames in sequence. If a frame is lost or corrupted, the receiver discards it and all subsequent frames.
- Go-Back-N: If an error occurs (e.g., frame loss), the sender retransmits the lost frame and all frames sent after it, as the receiver expects frames in order.
- Sliding Window: After receiv