Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use varnish's round-robin director instead of random director to avoi…
…d getting 503 errors when some (but not all) back-ends are down. (The random director doesn't necessarily try all back-ends, even if retries is set >= than the number of back-ends.) BTW this is only for balancing between back-end nginx servers and there's no problem doing round-robin here, the web servers themselves are still using Passenger's global queueing to balance between the Rails back-ends so there is no issue with one slow request holding up all the others.
- Loading branch information