strange i/o delay problem in socket,



Hi guys,
I have got some strange system behaviors regarding i/o delays in socket
in python, here's the details:
I'm writing a web proxy like program that intercepts and redirects
requests from clients to my tomcat server,
this proxy is written in python, and i'm starting a new thread to
handle (redirect) the requests whenever there's a new client connected
to my proxy. Each handler thread will read the http request line from
the client first, do some processing, and then redirect it to the
tomcat, and here's the problem:

while in most cases, the time needed for a handler thread to read the
request line from the socket is below 1 millisecond, there are some
cases this time is over severl thousand (or even higher) milliseconds.
I'm just wondering what could be the possible cause(s) of this ? btw,
this happens more often when there are large number of clients, but
will also happen ocassionally when the number of client is very
small....

i've heard of something reagarding python's relative low i/o
performance, but not sure whether or not this problem is a python
specific one...or is it a bug? someone please enlighten me
thanks

Fred

.



Relevant Pages

  • Re: Proxy management point
    ... Once installed the adv client can perform all policy requests, ... and inventory uploads to a Proxy MP. ... secondary site (which has a proxy management point and a distribution point) ...
    (microsoft.public.sms.setup)
  • Re: ISA 2006 - Request appear to come from the original client
    ... This is a unihomed web proxy only server. ... In forward proxy scenarios, ... If you get a 404/12028 when you use "original client", ... the LAN with the "requests appear to come from original client" ...
    (microsoft.public.isa.publishing)
  • Re: ISA Server Problems, please help
    ... The All access rule for SBS Internet ... Web Proxy and/or ... > To accommodate the linux SecureNAT clients you should create a new Client ... ISA Server denies the specified Uniform Resource Locator. ...
    (microsoft.public.windows.server.sbs)
  • Re: Need to Turn Off Proxy Server in SBS 4.5
    ... client machines (it is done by default when you install an SBS client)? ... IE's web proxy settings are disabled like you said, ... Server is internal only...no outside web or ftp serving. ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Please enter password for HTTP proxy
    ... Web Proxy log: WEBEXTDyyyymmdd.log ... This newsgroup only focuses on SBS technical issues. ... |> on to the SBS server that hosts the ISA. ... |> sure the problematic clients also have Firewall Client installed. ...
    (microsoft.public.windows.server.sbs)