Re: process choking
- From: "Vadym Stetsyak" <vadym_s@xxxxxxx>
- Date: Tue, 1 Aug 2006 13:19:43 +0300
Hello, StefanT!
S> I have a small http server and I use the HttpListner to listen for http
S> requests. In top of this httpListner I run some code that is taken about
S> 31 miliseconds to execute. My problem is when I have a very large number
S> of incomming requests my process is basiclly choking. My process is
S> using all the CPU without executing any line of my code.
S> Also if I check the CPU usage and a reject some requests the process is
S> not choking with the same speed but after a period of time I get the
S> same result.
S> Can someone tell how to hunt this issue ?
How do you process incomming requests? Synchronously or in async manner?
What you mean by choking? Response time increases or smth else?
Also under heavy load server response times will increase, however throughput will
remain constant ( I'm talking about HttpListener and http.sys ). It is normal for servers of
this type.
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
- Prev by Date: Re: Single assembly or multiple assemblies for big apps?
- Next by Date: Re: Single assembly or multiple assemblies for big apps?
- Previous by thread: Dotnet application Memory perfmon counters
- Next by thread: Compiler optimization, which one is faster? or are they even?
- Index(es):
Relevant Pages
|