tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Anchlia <mohitanch...@gmail.com>
Subject Re: Simple Question about reading http transmission using mod_jk
Date Fri, 07 Jan 2011 19:54:31 GMT
On Fri, Jan 7, 2011 at 7:22 AM, Christopher Schultz
<chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chuck,
>
> On 1/6/2011 6:01 PM, Caldarale, Charles R wrote:
>>> From: Mohit Anchlia [mailto:mohitanchlia@gmail.com]
>>> Subject: Simple Question about reading http transmission using mod_jk
>>
>>> does it just sends the handle to the stream and then tomcat
>>> reads from it. It's little confusing.
>>
>> Think about it: the connection between httpd and Tomcat is a comm
>> link; how could httpd give Tomcat a handle when Tomcat may well be
>> running on a completely different system?
>
> There's a legitimate questions hidden in this one: does mod_jk work on a
> streaming model or a buffering model?
>
> To answer /that/ question, one need only read
> http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html in the section
> "overview of the protocol" (hint to the OP).
>

I read through it and based on how I interpret that section is that it
buffers some data and streams the remaining data if it wasn't
completely transferred to server and server asks for it (GET_BODY). Am
I reading it correctly? I know you will correct me :)

> If the client (mod_jk) and the server (Tomcat) are on the same machine
> (localhost), then any respectable TCP/IP stack significantly optimizes
> such communication by playing wonderful shared memory tricks that
> increase performance significantly.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk0nL7wACgkQ9CaO5/Lv0PDy6gCgiKGPKiQnI/ytBQV0WY1ucvlM
> ngQAn1AkD4MIwVfIfwlBoZhE/wv4XG0p
> =TTvI
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message