Flow Control and ARQ 3: Go-back-N and Selective-reject ARQs

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • This video describes two ARQ schemes associated with sliding window flow control. Much of this material is based on content from the book Data and Computer Communications by William Stallings.

КОМЕНТАРІ • 49

  • @shinigamiraito42
    @shinigamiraito42 7 років тому +174

    finally, a video that isn't in hindi ;u;

    • @Fiji_water_man
      @Fiji_water_man 6 років тому +4

      they been all over youtube lately...

    • @michaelbuchler2743
      @michaelbuchler2743 5 років тому +5

      @@Fiji_water_man So annoying!!!

    • @Ha-nz2vy
      @Ha-nz2vy 4 роки тому +3

      @@michaelbuchler2743 hmm its like people speak other languages besides English...who would've thought

    • @martinprochazka3714
      @martinprochazka3714 4 роки тому

      Yeah, who would have though that UA-cam would even offer you a video in hindi unless you explicitly search for it...

  • @johnbarnhart378
    @johnbarnhart378 6 років тому +29

    thank you for your service to engineering/it/comp sci students everywhere man

  • @onemoretube
    @onemoretube 4 роки тому +2

    Today (27 May 2020) is exactly 4 year since you posted this video. I'm watching it for my assignment. Thank you!

  • @biramanpreetsingh2025
    @biramanpreetsingh2025 7 років тому +3

    your way of teaching is simple and effective!!!! Good Job!!! Thanks for sharing !!!

  • @invinciblesword9107
    @invinciblesword9107 5 років тому

    This is a very concise and accurate sliding window explanation! Thank you.

  • @amoghrajanna3795
    @amoghrajanna3795 5 років тому

    Thank you very much for the informative video. Much appreciated.

  • @huwenjie7420
    @huwenjie7420 6 років тому +9

    why isit that there have never been acknowledgements for frame 0?

    • @martinprochazka3714
      @martinprochazka3714 4 роки тому +3

      By acknowledging N you also acknowledge N-1, N-2, ..., 0.

  • @Champz2323
    @Champz2323 6 років тому +4

    This is pretty lit tbh

  • @DaywaIker
    @DaywaIker 5 років тому

    Love your videos

  • @MrXskillerx
    @MrXskillerx 7 років тому +2

    I am pretty sure that both algorithms do not work with Reject messages but with Timeouts of the source. Am I wrong?

  • @12bucukfalandim
    @12bucukfalandim 4 роки тому +3

    jacob, ADAMSIN!

  • @hasanshovon3402
    @hasanshovon3402 6 років тому +1

    good video

  • @idogilboa
    @idogilboa 7 років тому

    Thank you! Great video :)

  • @ΑντρέαςΣωτηρίου-π8γ

    this is for data link protocol layer or the transport protocol layer >????

  • @TheDefiniteKingHomie
    @TheDefiniteKingHomie 8 років тому

    very nice!

  • @ramirocordero5185
    @ramirocordero5185 7 років тому

    Hi! first of all thanks for the awesome video! Only one question on the Go-Back-N : let's assume that an RR from Reciever gets lost so the Source sends a RR (poll) that also gets lost due to some network error. Does the Reciever have to wait for another Source Timeout and RR(poll) ? Thank you!

  • @iremlergun
    @iremlergun 7 років тому

    awesome! thank you so much:)

  • @floatoss
    @floatoss 6 місяців тому

    At 2:15, won't we have a Frame 2 re-transmission by the sender because the receiver only sends an ACK2 (RR 2), and the sender goes like "okay, the receiver got 0, 1; but he missed a 2". It then shrinks its window, removing the 0 and 1, BUT it still transmits the Frame 2 (F2) that you did not do at 2:20?
    Also, do we really have the "reject" messages that are sent by the receiver, or do we just have a time-out on the sender side that makes the sender to repeat the transmissions that are in it's current window? I ask this because a few other sources (I am not very sure I believe them, but it is good to clarify I think) do not mention these "reject" messages

    • @JacobSchrum
      @JacobSchrum  6 місяців тому +1

      The sender knows that it already sent Frame 2, and the RR 2 doesn't mean that the transmission of Frame 2 failed, merely that the receiver has not acknowledged it yet. From the sender's perspective, it assumes that RR 2 was sent while its own Frame 2 message was enroute, and until it has evidence to the contrary, it will assume that Frame 2 message could still have been received.
      If there is a time-out, then the sender will eventually check to see what is going on, but if the receiver rejects a frame as soon as it sees a gap, it can likely get a quicker response, and possibly spare the sender from transmitting a lot of data that will be discarded anyway.

    • @floatoss
      @floatoss 6 місяців тому

      ​@@JacobSchrumah okay, thanks! This is a bit different than how I have been taught. Could you please also let me know about:
      1) the "reject" messages by the receiver? I have not come across such messages specifically for Go-Back-N, only for Selective Repeat. But I can understand the logic behind it.
      2) I have been told that there aren't any NAK's in GBN, but that the "time-out" is the only event in which retransmissions can occur, aiding the receiver in getting those lost frames. Even the "poll" message that you mentioned that the sender has the capability to send. I have not come across those. This is making me even more confused because, everything you say also makes logical sense.
      Of-course I understand that I am newbie, and really want to know the 'standard' way. I would really appreciate if you have a great resource that I can rely on to study this.
      3) Does the sender, in GBN, have logic involved in it's side that allows it to keep track of what are the ACK'ed, UNACK'ed, can-transmit packets in it's window? Because when you mention at 2:15 that the sender just sends the frame 3 after the RR2, it makes me believe that there is some state saving going on the sender side to keep this information.
      Thanks a ton for such a quick response, I really appreciate it! You are a fantastic source to learn Computer Science from :)

  • @Play4fuNNNNNnn
    @Play4fuNNNNNnn 7 років тому

    i really appreciate your videos. According to this video you shouldve explained the function between the buffer and the ARQ protocolls in a more detailed way.

  • @osmantoplica8912
    @osmantoplica8912 8 років тому

    amazing thanks!

  • @MrSkatosakoulas
    @MrSkatosakoulas 7 років тому +6

    Hello sir. Great videos. But that haircut though :P

  • @TheNugass
    @TheNugass 5 років тому +1

    if the window size is 3, should it not not send the F1 that ends up failing?

  • @moehirzalla
    @moehirzalla 7 років тому +2

    for selective repeat doesn't each frame have its own timer ?

    • @JacobSchrum
      @JacobSchrum  7 років тому +1

      For the sender, it is sufficient to base the timeout on the last reply from the receiver. Or were you referring to something else? Perhaps you could clarify.

  • @bilaljan321
    @bilaljan321 7 років тому +1

    awesome work. can u please tell is there any difference between Go-Back-N and Go-Back N ARQ both are same things?

  • @nikolasioakimidis3003
    @nikolasioakimidis3003 Рік тому

    This example is for N=4 right?

  • @faizanshahansari1193
    @faizanshahansari1193 5 років тому +1

    Nice video but there is a slight error in go back n since window size is 3 u cannot send f1 until rr3/rr0/rr1 is received..☺️

    • @amitmunjal5972
      @amitmunjal5972 Рік тому

      that is what I thought too......can the author confirm this

  • @gayanrukshanthaperera5333
    @gayanrukshanthaperera5333 7 років тому

    perfect !! what is the different between those 2

  • @huyvole9724
    @huyvole9724 Місяць тому

    Something missing. You need define Window Size!

  • @shishirparajuli1681
    @shishirparajuli1681 7 років тому

    when do the source and the destination agree on the size of the window?

  • @huyvole9724
    @huyvole9724 Місяць тому

    Hi RR2=ACk2 ?

  • @stoksc
    @stoksc 6 років тому

    thanks

  • @wajeehhasan4860
    @wajeehhasan4860 7 років тому

    thanku sir :)

  • @ethendixon4612
    @ethendixon4612 5 років тому +2

    Shouldn't it be 0,1,2 for N=3? Not 0,1,2,3.
    Please, I need to know for my test lol.

  • @DeepakBastakoti
    @DeepakBastakoti 8 років тому

    thnx

  • @mrchow3177
    @mrchow3177 4 роки тому

    Selctive repeat, not reject..

    • @JacobSchrum
      @JacobSchrum  6 місяців тому

      Either: en.wikipedia.org/wiki/Selective_Repeat_ARQ