httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McQueen <mcqueenor...@gmail.com>
Subject Re: Doing left-over request processing at startup....
Date Tue, 28 Dec 2010 17:07:38 GMT
Put it in a queue and have a separate process work the queue. Don't
try so hard to cram it into the web server.



On 12/28/10, Mike Meyer <mwm-keyword-apache.b9a3c0@mired.org> wrote:
> I've got a startup design issue with a proxy module for a proprietary
> protocol.
>
> Basically, the protocol *requires* that a failed request be reversed -
> even if the client doesn't get told the reversal succeeds. If apache
> crashes holding an unacknowledged reversal request, then the module
> needs to complete the reversal when it starts again. I'd like to do
> this ASAP after a restart - which means at some point during
> initialization rather than waiting for the first request from a
> client.
>
> Is there some sane place during system initialization to hang this? Or
> should I just punt, and wait for the first client request to come in?
>
>        Thanks,
>        <mike
> --
> Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
> Independent Network/Unix/Perforce consultant, email for more information.
>
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>

-- 
Sent from my mobile device

Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!

Mime
View raw message