httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Masaya <ronaldmasaya...@gmail.com>
Subject Re: Work in progress: mod_proxy Health Check module
Date Thu, 14 Jan 2016 13:05:20 GMT
On Dec 30, 2015 4:21 AM, "Jim Jagielski" <jim@jagunet.com> wrote:

> Just a note that I've started committing my mod_proxy health
> check module work... it is still a work-in-progress but the
> goal is to always ensure that trunk is buildable and usable.
> Right now, the module needs to be explicitly enabled during
> configuration and all specific health-checks are basically
> noops.
>
> My design thoughts are that for each scheme/protocol allowed,
> the (sub)module that handles that (eg: mod_proxy_http, mod_proxy_ajp,
> etc...) implements an optional function that does the actual
> server call. What constitutes a "success" is also up for
> discussion. I've been mulling over having the check return
> the response headers which can then be checked/verified using
> our Expression routines ala <If>. eg:
>
>         Condition all_good "%{REQUEST_STATUS} in { '200', '304' }"
>
> And there is a 'check' mini-directive:
>
>         BalancerMember http://www.example.com/ method=get check=all_good
>
> which uses the stored condition for the pass/fail test.
>

Mime
View raw message