httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: ping for http in mod_proxy
Date Thu, 14 Feb 2008 14:54:20 GMT
Akins, Brian wrote:

> Someone could write a spread based module for origin status (or mysql, or
> memcache, or...) if the interface was well defined and "clean."  The way
> balancer is so hooked into proxy makes it hard to write a replacement
> without hacking "core" proxy.  In proxy it could be as simple a call as:
> apr_status_t ap_get_origin_server(request_rec *r, proxy_origin_t **o)
> And that figures out all the balancer and sticky stuff.

That was the idea.

In theory, you should be able to stack the providers, so that a balancer 
module could return the list of servers to try in the right order, and 
then another module could further reduce that list down to servers that 
are actually up.

Smells like a filter actually.


View raw message