tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Mod_Jk2 - Default Worker
Date Thu, 12 Feb 2004 22:54:02 GMT

----- Original Message -----
From: "Costin Manolache" <cmanolache@yahoo.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Thursday, February 12, 2004 11:03 AM
Subject: Re: Mod_Jk2 - Default Worker


> Henri Gomez wrote:
>
> > Well, if we didn't get the POST somewhere on the WebServer, and if the
> > tomcat failed to respond, we couldn't resent the whole POST to the
> > second one.
>
>
> If we get the first bytes ( but not the entire POST ), we can still save
> them, and if the first tomcat fails - resend it.
> When a tomcat responds - it can ask for more bytes.
>
> If a tomcat is failing in the middle of the processing - it's better to
> report the error and not try to recover.
>

+1.  If tomcat has already gotten the body, and then dies, if you attempt to
recover you will have charged the user's credit card twice :).

>
> >
> > The strategy will be to keep, say up to 32kb on Apache pools, and if the
> > POST is larger save it to filesystem.
>
> I'm not sure I understand the problem with saving only the first part of
> the POST data. The request that is sent to tomcat only includes those
> bytes anyway - tomcat has to ask for more.
>
> The problem is that getting the entier body changes the processing model
> for POST fundamentally - the entire streaming is gone, servlets that may
> reject the POST ( because the size is too big for example ) will still
> have the entier body downloaded, etc.
>
> Are you sure this is absolutely needed ?
>
> Costin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>


Mime
View raw message