-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 1/6/2011 6:01 PM, Caldarale, Charles R wrote: >> From: Mohit Anchlia [mailto:mohitanch...@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). 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org