The Backend Engineering Show with Hussein Nasser cover image

The Journey of a Request to the Backend

The Backend Engineering Show with Hussein Nasser

NOTE

Establishing a Connection Between Client and Server: Exploring the TCP Connection

It is customary to establish a connection between a client and a server, often a TCP connection./nBefore establishing a connection, certain agreements are made between the front-end (client) and the back-end (server) regarding window sizes and sequences./nThe connection involves labeling bytes, not requests, as TCP is unaware of requests./nA stream of bytes is used as a vehicle to send requests in any desired language or protocol./nWhen listening on a specific interface and port (e.g., port 8080 TCP), the kernel creates a socket object (file descriptor) associated with that port and destination IP.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner