Ticket #1254 (closed enhancement: invalid)
|Reported by:||nicob||Owned by:|
|Priority:||normal||Milestone:||Varnish 3.0 dev|
|Severity:||normal||Keywords:||probes, failover, load balancing|
I'm not sure either this has been requested, or discarded, neither considered, but I've been looking for this feature and couldn't find any information so here it goes. :)
In short, I would like to have the option to set in a probe block the host and port where the request should go.
Since I need to do some checks in the backend for balancing traffic, (a bit more complicated than .threshold, .expected_response or .timeout) I would like to be able to ask a different server/servlet if a backend is ready to accept traffic; and in this way the complex logic can be moved out from varnish and still use its highly performance engine.
Use case example;
Balancing search requests to different search engines while they are being updated using replication. If a search engine node goes down and it needs to build again its index or restore a backup, it can't accept any request until the index is fully restored.
Thanks you, Nicolás