Hi,
Dave Steinberg wrote:
Tony Howat wrote:
[email protected] asked :
In the final solution I want to be able to send the requests to a
preferred server based on a header in the HTTP request, but from what
I saw, that should be doable with pound.
The question I have is, can I do the "404 failover" with pound, or do
I need to patch it? Is it easy to patch it for this use? Is this a
good way to go about it, or are there better solutions for the above
requirements?
The proper solution for this would be shared storage for your web
nodes, or network partition mirroring using something like drbd.
To answer the original question - pound doesn't have the feature you're
looking for. You might try varnish - I know it can do it - or something
like nginx.
Just wanted to report back that using the combination of varnish as web
accelerator (using VCL to do the "404 failover") and nginx as web
server, I was able to implement this very easily, and it works perfectly.
Thanks again for the answer!
Regards,
Sebastiaan
You might also consider something like squid as a layer between your
load balancer and your backends. Squid supports logic about getting
documents from neighboring proxies (I forget what its called, its some
proxy communications protocol). You might be able to use this to give
you a layer that hides details of your semi-consistent storage layer
from your load balancer / the outside world.
Regards,
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.