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.

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,
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to