[Twisted-web] Re: Extremely slow POST request?
Magnus Hult
magnus at spotify.com
Thu Jul 5 07:53:37 EDT 2007
On 7/5/07, Magnus Hult <magnus at spotify.com> wrote:
> Hi,
>
> I have a simple resource that selects rows from a database and returns
> the answer as some kind of XML:
> [...]
> A GET request to /bounces?id=...&id=... with a few ids finishes in no
> time (like 0.04 seconds), but the exact same request as a POST (with
> the parameters as urlencoded form data) takes over two seconds (!).
When POSTDATA is 1024 bytes, the request finishes in notime, with 1025
bytes, it takes two seconds... Still have no idea why, though.
More information about the Twisted-web
mailing list