What happens when a request is made??
A client sends a request to access some resource like a webpage
This request travels through the network to reach the server
The server processes the request and sends back a response
Main Components involved
Client which sends the request
DNS which resolves domain name to IP address
Internet which carries the request
Server which processes and responds
Approach
Step 1
User enters a URL in the browser
Step 2
DNS converts the domain name into IP address
Step 3
Browser sends HTTP request to that IP
Step 4
Request travels through internet routers
Step 5
Server receives the request
Step 6
Server processes and prepares response
Step 7
Response is sent back to client
Step 8
Browser displays the result
Why this works???
Because every device on the internet is identified using IP address
DNS helps in converting human readable names into IP
HTTP protocol ensures proper communication between client and server
This structured flow makes communication reliable
Limitation
Depends on network speed and latency
DNS resolution can add delay
Server overload can slow down response
Failures in network can break the request flow
Top comments (0)