Is PythonService Slow, Or, Is It The Code?
John Abel
john.abel at pa.press.net
Thu May 22 03:59:35 EDT 2003
Aahz wrote:
>In article <mailman.1053539135.6707.python-list at python.org>,
>John Abel <johnfabel at btinternet.com> wrote:
>
>
>>Using medusa, I've written a simple FTP server to run on my Win2000
>>machine. I have two versions, a Win32 service, and the other is
>>launched from the command line. I've noticed, that the Win32 service is
>>drastically slower than the command line version. As a test, I ftp'ed a
>>148MB file from one machine to another (connected via a twisted cable,
>>at 10Mbps). Using the service, the file transfered at 31kb/sec; with
>>the cli version, it transfered at 549kb/sec.
>>
>>
>
>What happens when your CLI version is *not* the foreground window?
>
>
Just checked. There is no change in the transfer rate.
John
More information about the Python-list
mailing list