httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Plüm, Rüdiger, VF-Group <ruediger.pl...@vodafone.com>
Subject Re: ping for http in mod_proxy
Date Fri, 15 Feb 2008 13:13:19 GMT
 

> -----Ursprüngliche Nachricht-----
> Von: Jim Jagielski 
> Gesendet: Freitag, 15. Februar 2008 14:05
> An: dev@httpd.apache.org
> Betreff: Re: ping for http in mod_proxy
> 
> 
> On Feb 14, 2008, at 6:41 PM, Graham Leggett wrote:
> 
> > Akins, Brian wrote:
> >
> >> Yeah that was my thought.  I guess you pass around the array of  
> >> servers.
> >> Just remove (or mark as N/A) from the list and/or reorder it.  At  
> >> the end,
> >> core proxy picks whatever is in index 0 (possibly walking 
> the list  
> >> in case
> >> of connection error or something).
> >
> > Essentially that is what proxy does now (or did before the 
> balancer  
> > stuff arrived) - it loops through everything that came back 
> from the  
> > DNS round robin query, trying to connect in turn until it gets  
> > something other than bad gateway.
> >
> > Rather than just the simplistic round robin DNS query, it should  
> > query a hook (in which is embedded as the sensible default, a  
> > simplistic round robin DNS query).
> >
> 
> Well, right now all it does is say "give me the best worker" and
> leaves it up to the selected provider on "what that means", so it
> queries a provider, not a hook. Of course, we could create an actual
> hook which then queries providers, to allow people to extend
> the selection even more...

Any specific reason why we need to add an hook here and why this cannot be
done by the existing provider (interface). I am scared of adding another
level of indirection here if it is not really needed and things can be already
done with the existing infrastructure.

Regards

Rüdiger


Mime
View raw message