Nginx as loadbalancer (Round Robin)
I have a strange problem with Nginx.
As long as I only have 2 frontend nodes all is fine and Nginx will toggle between the 2. If I decide to add another node then the toggling stops and only 1 node is hit and used. From the loadbalancer node I can curl (192.xxx.xxx.xxx:80) the local private IPs of the frontend nodes so they are reachable. I can also ping them.
Anyone who knows why Nginx behaves like this?
4 Replies
If I type different chars after ? in the url I get new data so the caching is avoided.
Am I not right in assuming the it must be the loadbalancer that caches the result?
With Nginx db fetches are done so no caching there only the Round Robin logic do not happen. Again if applying ?newsign the Round Robin logic is working.
Any help will be greatly appreciated
Linode's new managed load balancer service, NodeBalancer