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.

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to