Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Will there be any performance improvement if same node is used as proxy_pass then other node used in nginx

$
0
0
In my application I want to improve nginx performance in case of cache miss. Below are the two cases I am considering.

Case 1 : If I use some other nginx node as PROXY_PASS, so when cache miss happens the http request gets forwarded to the other node.

Case 2 : If I use localhost (same node) as PROXY_PASS, so in this case when cache miss happens http request will be loop back to the same nginx node.

In both the case will there be any performance difference.

Can anyone please let me know will there be any nginx performance improvement in case 2?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>