Hi Hussein, I believe the TLS 1.3 "Early Data" feature (still experimental in Chrome as I believe people are not totally sold on all the security implications) is limited to the context of sessions resumptions, and wouldn't apply to brand new connections. You need some kind of ticket or previously negotiated information to achieve this 0-RTT feature.
I see some of the requests with HTTP 404 errors and some with blocked status where the request is stalled in developer tools. Will it impact the performance of the website.
I just did the same to follow the video and i wondered. The handshake only happens at the first request but chrome uses x amount of parallel clients to fetch data. Do they just wait for the first connection and then clone it and reuse it all the time? That does not apply to my backend -> backend http connections, right? What seems like a small benefit in the browser would be massive in the backend where i do the handshake over and over again, correct me please if im wrong. Does this then also mean that if i would use a API-Gateway i could also way more easy cache/pool the connections and save ms?
I made another video explaining the subsequent requests and how the browser sometimes open multiple connection per domain (h1) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LBgfSwX4GDI.html But yes the browser attempts to reuse connections whenever it can
Useful content . What should be the ideal cookie size in terms of length . In one of the scenarios I m seeing the cookie size is 3 kb. Will it have any impact on the network.
Yes, larger cookies = large headers means more packets need to be sent. Header Compression in HTTP/2 and HTTP/3 help reduce header size significantly (beware that no header compression in HTTP/1.1 because of CRIME attack I talked about it a bit in this channel, that is why I would avoid use HTTP/1.1 if you have large headers)
What is your opinion of functional programming languages like Haskell ? I recently got a job whoose primary stack is Haskell so I am bit skeptical about accepting it ?
Yeah, why not C++, Rust, Go, Nim, Dart, Kotlin, Swift, Obj C, Zig either? It must mean he hates these languages. Totally not because JavaScript and Python are ubiquitous and known to everybody.
@@VivekYadav-ds8oz Yeah I agree with you that these languages are more accessible. I'm a C++ developer so I'm not a Java fanboy by any means. Actually you misunderstood my comment. I wrote do you "also" and that's because he said several times that he hated python because of the indentation. So I was trying to ask is there something he doesn't like in Java as well like that, moreover it was intended as a fun question rather than a serious one. Cheers
Right tools for the right job. For a quick and dirty thing it is overkill to use a heavy language like Java or even Go etc. I’m a Go programmer but for quick things I whip out Python with its many great packages like requests for web things. I do plan on learning Java properly just for fun.