Hi everyone, today we are back to a new Tech topic which is HTTP3.
First I will introduce sockets and HTTP protocol, then I will show the particularity of HTTP/3 protocol.
Sockets are also a technical term and they are used on low level of programmation, we can use socket with the C and C++ language for example.
We use socket to communicate between computers basically.
And we use socket to build a HTTP server for example.
The http protocol is a communication protocol which is used over internet on web and mobile applications for example.
But basically if you only used internet as a user, you maybe never heard about that protocol.
How works HTTP protocol ?
Basically this protocol is used between a server and a client. The client is basically you requesting a web page, and the server is basically the entity hosting that web page.
So basically the start of the communication should begin from the client requesting access to a web ressource that the web server owns.
HTTP/3 as you would guess is the third version of HTTP.
Its particularity is mainly that he can manage multiple different request through only one socket (thanks to QUIC protocol) as opposed to HTTP/2. Also it enables bidirectional communication between client and server. Meaning that the server can also send notifications to the client. Which is very useful when you want to implement a chat application.
Its other particularity is that it only supports UDP protocol. UDP protocol is a protocol used by routers and machines to control and direct traffic request.
The point of using UDP is that it ensures a faster communication as opposed to TCP protocol. TCP is basically using more message/packet to ensure that the receiver has well received the message.
