Thanks Hussein for sharing. What was the fix ? Just curious . Did you change the custom client handler logic . Also does a using a connection pool from the client help with limited connections to reuse .
Always fun mystery, would have been better video with the explanation at the start and have the reveal in the middle of the video and then explain what it means
At 08:50 you mentioned we are talking IPv4 here, port is 32 bit, so its 65k....but it is incorrect...port is 16 bit, that's why its 65k....also, does ipv4 vs 6 matter in case of port? we still have 16 bit isn't it?
Yes, little bit more precise: Port number is not a thing in IP, IP knows nothing about port numbers, it doesn't care (both IPv4 and IPv6). Port number is a TCP thing, and independently a UDP thing and SCTP thing.
I disagree with you about the need to understand the process slowing down the process of fixing it. I was recently working on something where the more we understood what the issue was and the complexities that existed at different layers, the more we had a whole picture of what parts of the system were affected. Someimes knowing what the problem is, is not as important as to the breadth of the issue. Needing to fully understand the issue can give insight into the whole picture, saving time with understanding the actual fix. In fact, the "simple" fix may not be the one you want.
I understand. sometimes it is very difficult to understand the full picture in complex systems I do agree with that. And when you try you get sucked in into a large vortex and I admit I have been there and gave up too. This particular time the understanding was obtainable. but yeah finding that balance as to when to pursue vs to when to stop is tricky.
Troubleshooting Backend Applications course performance.husseinnasser.com
Long time.. all good ??
Thanks! yes all good, its been just wild few months
Take care brother. You are an inspiration
Man, i love your videos ! Keep up with the good work and take care of yourself !!
Love to hear these type of stories! Keep the bugs coming 😄
Glad to hear you Hussein
One way to alleviate this problem is to create a new virtual NIC with new IP address, which gives you additional 25K ports
Thanks Hussein for sharing. What was the fix ? Just curious . Did you change the custom client handler logic . Also does a using a connection pool from the client help with limited connections to reuse .
Thanks for this. Hope you been well akhi. Take care!!
What if new 25k more clients come, same problem again
Always fun mystery, would have been better video with the explanation at the start and have the reveal in the middle of the video and then explain what it means
At 08:50 you mentioned we are talking IPv4 here, port is 32 bit, so its 65k....but it is incorrect...port is 16 bit, that's why its 65k....also, does ipv4 vs 6 matter in case of port? we still have 16 bit isn't it?
I had the same question
yes, the port size is independent of the IP version and is always 16 bit.
Yes, little bit more precise: Port number is not a thing in IP, IP knows nothing about port numbers, it doesn't care (both IPv4 and IPv6). Port number is a TCP thing, and independently a UDP thing and SCTP thing.
nice catch, Good point yes my bad its 16 bit so 65k and it won’t matter even its ipv6 because port is still 16 bit.
I’m stress out on Managing third party TCP Connection call using custom port range. If I complete I will text you the code. 😅😊
did you start glitching at 6:45 😆
😅
Hello sir, big fan
I disagree with you about the need to understand the process slowing down the process of fixing it. I was recently working on something where the more we understood what the issue was and the complexities that existed at different layers, the more we had a whole picture of what parts of the system were affected. Someimes knowing what the problem is, is not as important as to the breadth of the issue. Needing to fully understand the issue can give insight into the whole picture, saving time with understanding the actual fix. In fact, the "simple" fix may not be the one you want.
I understand. sometimes it is very difficult to understand the full picture in complex systems I do agree with that.
And when you try you get sucked in into a large vortex and I admit I have been there and gave up too.
This particular time the understanding was obtainable.
but yeah finding that balance as to when to pursue vs to when to stop is tricky.
Hi, long time no see ?
thank you!
You are amazing 🤍