At 12:21 AM 7/23/2008 +0200, Irmen de Jong wrote:
Tibor Arpas wrote:
Hi,
I'm quite new to python and I ran into a performance problem with
wsgiref.simple_server. I'm running this little program.
[...]
I get many hundreds of responses/second on my local computer, which is fine.
But when I acces
Tibor Arpas wrote:
Hi,
I'm quite new to python and I ran into a performance problem with
wsgiref.simple_server. I'm running this little program.
[...]
I get many hundreds of responses/second on my local computer, which is fine.
But when I access this server through our VPN it performs very ba
A tcpdump would be more helpful at this point, but I'm not sure the ML
is the right place for that.
Robert Brewer
[EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:web-sig-
> [EMAIL PROTECTED] On Behalf Of Tibor Arpas
> Sent: Tuesday, July 22, 2008 8:51 AM
> To: J
Tibor Arpas ha scritto:
Hi,
I'm quite new to python and I ran into a performance problem with
wsgiref.simple_server. I'm running this little program.
from wsgiref import simple_server
def app(environ, start_response):
start_response('200 OK', [('content-type', 'text/html')])
return ['*'*5
Mhm.. No, That doesn't seem to be THE reason. Paste is HTTP/1.0 too.
See the detailed server-client communication below. BTW the VPN is
not that slow. It's 4Mb/s with pings of 5-7 ms. Thanks guys for the
suggestions, I appreciate it. If you run out of them, the most
effective way would probably be
On Tue, 22 Jul 2008 09:58:06 +0200, Tibor Arpas <[EMAIL PROTECTED]> wrote:
I added the Content-Length and no difference. Important thing I
noticed is that I get the same request/response rate with only ONE
byte of content. So it looks like a constant delay of 3 seconds per
request..
wsgiref see
I added the Content-Length and no difference. Important thing I
noticed is that I get the same request/response rate with only ONE
byte of content. So it looks like a constant delay of 3 seconds per
request..
Now my script reads:
from wsgiref import simple_server
def app(environ, start_response)