Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does HTTP response follow same path as HTTP request?

Supose i have a load balancer then 2 web servers again a load balancer then 4 app servers.

Does HTTP response follow the same path as HTTP request to serve?

like image 445
Durgesh Kumar Avatar asked Jun 13 '26 13:06

Durgesh Kumar


1 Answers

By path, I assume you been the routing path between nodes in your network.

The response of an HTTP request is sent back to the client via an open TCP connection on the server, typically the same one used to send the request. Whether it takes the same path depends on the configuration of your network. In most cases it would take the same path within your network behind the load balancer. However, this isn't universally guaranteed.

like image 86
Anthony E Avatar answered Jun 15 '26 05:06

Anthony E



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!