Comment 4 for bug 691165

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 691165] Re: codehosting connection time is load dependent

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/19/2010 7:45 PM, Andrew Bennetts wrote:
> What Martin said. My first guess is that Conch is almost certainly
> doing all the crypto in the same thread that runs the event loop, so if
> that takes non-negligible time then it will delay processing of the next
> connection. Some profiling of that code will probably find the culprit
> fairly easily.
>
> I can rule out one possibility: I'm fairly sure that the XML-RPC call to
> the Launchpad database for SSH keys for that username is not blocking in
> that code; at least it wasn't when I wrote it :)
>

How do you profile the twisted server, though?

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0iQZEACgkQJdeBCYSNAAMvggCgw9iobknbf9tHpKe/aHgzaQRN
388AnR/6lHRb9ccMMwkXgTSulEEgJoyN
=lGs1
-----END PGP SIGNATURE-----