i gather that twisted web is http 1.0, and http 1.0 doesn't support http pipelining, so i assume twisted web doesn't support it<br>twisted web2 says it fully supports 1.1, and 1.1 servers are required to support http pipelining, so i assume twisted web2 supports it<br>
so with a client that supports pipelining, wouldn't twisted web2 be much faster (for pages that have a lot of small images)?<br>also, does twisted web2 support pipelining responses or only requests? <br><br><div class="gmail_quote">
On Mon, Apr 21, 2008 at 8:20 AM, inhahe <<a href="mailto:inhahe@gmail.com">inhahe@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i may not understand all this very well, but,<br>if i remember correctly, http 1.1 supports multiple requests over the same connection to speed things up.. but <a href="http://twistedmatrix.com/projects/web/documentation/howto/web-overview.html" target="_blank">http://twistedmatrix.com/projects/web/documentation/howto/web-overview.html</a> leads me to believe it closes the connection after each request.. but twisted web2, otoh, is supposed to have full 1.1 support.. does this mean it won't close the connection after each request? if so, i'd like to use it for that reason, but then, according to <a href="http://twistedmatrix.com/trac/wiki/TwistedWeb2" target="_blank">http://twistedmatrix.com/trac/wiki/TwistedWeb2</a> web2 isn't very fast. i don't know if their benchmarks take under consideration realistic conditions in which multiple requests can be made over a single tcp connection. <br>
so should i use web2, and if not, is there any way to do what i want using twisted.web, and if not, what python web framework can i use that does do what i want and is otherwise as fast as twisted web? <br><br><br><br>
</blockquote></div><br>