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?
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?