httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: proxy health checks [was: Proxying OPTIONS *]
Date Wed, 03 Oct 2007 13:42:01 GMT
On Wed, 03 Oct 2007 15:04:52 +0200
Rainer Jung <rainer.jung@kippdata.de> wrote:

> It would be nice to have the health check running asynchronously from 
> the normal request handling (error detection for idle connections, 
> before requests fail). Even more important, the recovery test could
> be done independently from request handling.

Indeed.  That could apply to other backends (such as mod_dbd) too.

> For this one would need some scheduling service (independent threads, 
> API extension for callbacks). A simple start could be something like
> the monitor() hook. Although that one depends on the type of MPM and
> the module scheduling service should not be decoupled from the timing
> of important internal procedures.

Patches welcome!

Maybe a scheduled event thread could be a standard feature for httpd-3,
to make this kind of thing straightforward.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message