[Twisted-Python] Re: question about twisted web2
inhahe
inhahe at gmail.com
Mon Apr 21 15:47:16 MDT 2008
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
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
so with a client that supports pipelining, wouldn't twisted web2 be much
faster (for pages that have a lot of small images)?
also, does twisted web2 support pipelining responses or only requests?
On Mon, Apr 21, 2008 at 8:20 AM, inhahe <inhahe at gmail.com> wrote:
> i may not understand all this very well, but,
> if i remember correctly, http 1.1 supports multiple requests over the same
> connection to speed things up.. but
> http://twistedmatrix.com/projects/web/documentation/howto/web-overview.htmlleads 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
> http://twistedmatrix.com/trac/wiki/TwistedWeb2 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.
> 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?
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20080421/4eedc9a6/attachment.html>
More information about the Twisted-Python
mailing list