Cumulative ACK, Fast retransmit, and why it matters!

  Рет қаралды 31,823

Kelsey Cameron

Kelsey Cameron

Күн бұрын

Пікірлер: 68
@kristabellesarcon4191
@kristabellesarcon4191 7 ай бұрын
your explanation about the importance of cumulative ack is simple and easy to follow. i need this for my assignment this week. thanks!
@TheKnight96
@TheKnight96 6 жыл бұрын
This is the only good video explaining fast retransmit on youtube, to be honest. Glad I came across.
@kelcamer
@kelcamer 6 жыл бұрын
Yay!!! I am so thankful I have helped someone ^~^
@andriandimitrov4036
@andriandimitrov4036 3 жыл бұрын
Great video, cleared a lot of confusion i had with acks, thank you !
@kelcamer
@kelcamer 3 жыл бұрын
Glad to clear it up 😊😁 thanks for watching!
@Quantickzz
@Quantickzz 6 жыл бұрын
Thank you so much for this! Midterm tomorrow i really needed this.
@kelcamer
@kelcamer 6 жыл бұрын
Thanks so much for watching!!! Honestly out of everything I learned in college, this concept is what is helping me most as an engineer in the industry. I am always glad to share the knowledge and I'm grateful for you listening! ❤️🙂👍 Keep up the good studying!
@Quantickzz
@Quantickzz 6 жыл бұрын
@@kelcamer That's awesome to hear! I'm glad there's people like you to help us out! Did well on the midterm btw! 😊
@kelcamer
@kelcamer 6 жыл бұрын
@@Quantickzz yay! Congratulations!
@dipan246
@dipan246 4 жыл бұрын
Superb and excellent...waiting more and more videos like this....
@kelcamer
@kelcamer 4 жыл бұрын
Thank you! 😃
@mavis7702
@mavis7702 4 күн бұрын
im really glad i cam across this video it was so helpful however i fail to understand the time out unfortunately , i hope if ur still active on youtube if u could maybe do a short on it or a simple video much appreciated
@kelcamer
@kelcamer 4 күн бұрын
@@mavis7702 glad you like it! Which part is confusing for you?
@mahansh9871
@mahansh9871 3 жыл бұрын
A wonderful teacher by nature!
@kelcamer
@kelcamer 3 жыл бұрын
Wow! Thank you so much for your kind words 😊
@حسينعليعباسشنون
@حسينعليعباسشنون 2 жыл бұрын
Great Thank you from iraq
@harrietly4932
@harrietly4932 7 ай бұрын
excellent explations!
@canaldoobmarcos4141
@canaldoobmarcos4141 Жыл бұрын
very well explained. thanks a lot!!!
@saifulafiqzakaria3221
@saifulafiqzakaria3221 6 жыл бұрын
love it. For me, it is a very good explanation. Thanks! "it drives me crazy personally" *sigh*
@kelcamer
@kelcamer 6 жыл бұрын
Thanks! :) And what's that? What drives you crazy?
@saifulafiqzakaria3221
@saifulafiqzakaria3221 6 жыл бұрын
haha no it just what you said at 1.03
@kelcamer
@kelcamer 6 жыл бұрын
@@saifulafiqzakaria3221 oh yeah lol
@Alfredo5883
@Alfredo5883 2 жыл бұрын
Thank you! Earned a Sub
@kelcamer
@kelcamer 2 жыл бұрын
You're welcome! 🥰 And thanks for the sub!
@dixi1611
@dixi1611 9 ай бұрын
great video Kelsey, thank you !
@rohanbhandari8535
@rohanbhandari8535 5 жыл бұрын
Thank you so much for this short video
@kelcamer
@kelcamer 5 жыл бұрын
Of course!
@AYMENSHAHID
@AYMENSHAHID 5 жыл бұрын
thank you so much . ure amazing. Love ur teaching style.
@kelcamer
@kelcamer 4 жыл бұрын
Awww, thanks :D
@ramr1056
@ramr1056 Жыл бұрын
Great explanation
@OCEAN-fc9wl
@OCEAN-fc9wl 10 ай бұрын
Many thanks Kelsey.
@kelcamer
@kelcamer 10 ай бұрын
Thank you for watching! :)
@aliaksandrhn1
@aliaksandrhn1 4 жыл бұрын
Great job!. Upvoted.
@karenzhu6100
@karenzhu6100 Жыл бұрын
awesome explanation!! love it!
@deliceliswa6489
@deliceliswa6489 2 жыл бұрын
Great content, thank you so much!!
@jkrw3540
@jkrw3540 6 жыл бұрын
Didn't understand why those 3 ACKs are sent. Also why will the ACK for 130 will be sent multiple times when 130 has been received by the receiver ?
@kelcamer
@kelcamer 6 жыл бұрын
The three acks are sent for each piece of data :) One ack is sent for 100, one for 120, and one for 130. 100 and 120 ack got screwed up, but since your ack kept incrementing, it necessarily means that all the data before that has been received, so you don't need to resend the previous acks.
@kelcamer
@kelcamer 6 жыл бұрын
Also, once 130 is received by the receiver, the sender doesn't know that until it recieves an ack. So the receiver will send the ack again if it gets corrupted or if the sender hasn't gotten it before the timeout window. After 3 acks, this is a sign of network instability and usually the protocol is to stop trying and wait until a later time where the network is less busym
@kelcamer
@kelcamer 6 жыл бұрын
I think I see your confusion more specifically now. So the ACK = 130 does not mean that 130 has been sent. It means that 130 is the next byte sequence that needs to be sent. So if your network is trying to send 130, and it fails, you'll get the ack back of the sequence number that needs to be sent, which is 130 in this case. If you get this same ack back 3 additional times, that is a sign of network congestion so you have to fast retransmit the data. Stopping everything to force send the 130 byte sequence.
@kelcamer
@kelcamer 6 жыл бұрын
Remember that this is a cumulative ack. So each ack will store the next byte sequence.
@wingsabutterfly
@wingsabutterfly 4 жыл бұрын
Excellent explanation !!
@twa3954
@twa3954 5 жыл бұрын
Thank you so much. But if the data is lost from host A what will the sequence number?
@kelcamer
@kelcamer 4 жыл бұрын
The sequence number increments based on the size of the data packet :) So if your initial sequence number is 92 and the next packet is 8 bytes and was successfully sent, the next sequence number would be 100. If the data is lost, then the sequence number stays the same & resends the packet.
@donnabellevarona5813
@donnabellevarona5813 4 жыл бұрын
what happenes if seq 100 wasnt received, and then seq 120 is sent immediately after? what are the corresponding ack no?
@kelcamer
@kelcamer 4 жыл бұрын
Are you asking what happens if the seq no ACK for 100 was dropped?
@Pocketsocket
@Pocketsocket 8 ай бұрын
Thanks ma'am ❤
@Windows7Air
@Windows7Air 5 жыл бұрын
bless your soul
@kelcamer
@kelcamer 5 жыл бұрын
Thanks 😀 I'm honestly really surprised that new people are still finding this. XD I made it for a class at UCF 😊 and I've found a lot of people taking the exact same class, ironically.
@claay832
@claay832 5 жыл бұрын
Regarding window size advertisement and ACKs. There are two things I noticed. 1. The TCP window indicates how many bytes a sender can send before it requires an ACK. 2. The TCP Retransmission timer also plays a role waiting for the ACK. Therefore, the TCP timer will only start once the sender has already sent a packet containing the final byte. So for example it advertised a windows size of 800. So I think, the TCP timer will start counting once the packet containing the 800th byte has been sent. Any comments?
@kelcamer
@kelcamer 4 жыл бұрын
#1, yes that is correct. The window size is how many packets can be sent before an ACK is required. A window size that is too big can lead to network congestion. A window size that is too small can lead to delays.
@kelcamer
@kelcamer 4 жыл бұрын
For #2, The timer starts when TCP sends a segment and stops when the ACK is received. So if host A sends a datagram and it times out, then it will try to resend. Alternatively if host A sends a datagram and it is received but the ACK is lost & never received within the timeout, then host A will never know that the data has actually been sent, and it will retry when the timer expires.
@Rat.s
@Rat.s Жыл бұрын
TCP window indicate limit of reciver Not limit of sender So you can send more than tcp window size but it create congestion
@gatorichyups
@gatorichyups 4 жыл бұрын
Amazing! I love you!
@kelcamer
@kelcamer 4 жыл бұрын
Glad you like the video! :)
@gatorichyups
@gatorichyups 4 жыл бұрын
@@kelcamer A lot!! DO you have any video with RFC 1323 or ECN? I really would like to watch your explanation about it.
@kelcamer
@kelcamer 4 жыл бұрын
@@gatorichyups I don't, but I'll definitely keep that in mind if I do any future TCP videos! :)
@4qua94
@4qua94 3 жыл бұрын
Thank you so much!
@kelcamer
@kelcamer 3 жыл бұрын
You are so welcome 😊
@loia5tqd001
@loia5tqd001 6 жыл бұрын
awww. How sweet!!!
@Acarnklev
@Acarnklev 5 жыл бұрын
So when fast retransmission occurrs, does the Cwnd and SSthreshold stay the same? Does is retransmit the packet and then wait for the acK and then keeps going like nothing happened?
@kelcamer
@kelcamer 4 жыл бұрын
Yes, if an ACK is lost, it just sends the next packet. Eventually, because of the cumulative ACK, the receiver will know based on the value of the ACK whether the previous packets were received. Does that answer your question?
@dungchung2519
@dungchung2519 Жыл бұрын
Hello, can i get help plz
@abdulrahmantakriti6769
@abdulrahmantakriti6769 6 жыл бұрын
Thank you for such a great video ! :’) Could you supply the link of the website you've mentioned ?
@kelcamer
@kelcamer 6 жыл бұрын
Wow :D thanks so much for commenting! Sure I can: www.ccs-labs.org/teaching/rn/animations/gbn_sr/
@mixmix862
@mixmix862 4 жыл бұрын
thank you so much
@Ishidres
@Ishidres 5 ай бұрын
thanks bruh
@alialaei1554
@alialaei1554 6 жыл бұрын
awesome
@kelcamer
@kelcamer 6 жыл бұрын
ali alaei thanks :D
Calculating Round Trip times in TCP using EWMA and why it matters!
7:59
TCP Sequence and Acknowledgment Numbers
14:28
Derpy Networking
Рет қаралды 157 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
3.7 - TCP Congestion Control | FHU - Computer Networks
18:05
Kenan Casey
Рет қаралды 109 М.
Computer Networks: Independent & Cumulative Ack
5:28
Edredo for Learners
Рет қаралды 9 М.
TCP: Packet Loss and Retransmission
5:13
Rick Graziani
Рет қаралды 69 М.
TCP - 12 simple ideas to explain the Transmission Control Protocol
44:05
Practical Networking
Рет қаралды 146 М.
Slow Start vs Congestion Avoidance in TCP
10:08
Hussein Nasser
Рет қаралды 15 М.
L 72: SEQUENCE NUMBER AND ACKNOWLEDGEMENT NUMBER IN TCP
22:24
Parnika Tutorials
Рет қаралды 2,5 М.
TCP: Flow Control and Window Size
6:27
Rick Graziani
Рет қаралды 96 М.
TCP - Sequence Numbers and Acknowledgments
13:14
Anand Seetharam
Рет қаралды 27 М.
I Wrote HTTP "From Scratch" (It Was Easy)
19:07
Sean Bix
Рет қаралды 89 М.