Re: Something like "ping" for windows messages.
- From: "Peter Smithson" <Peter_Smithson@xxxxxxxxxxx>
- Date: 8 Dec 2006 06:37:10 -0800
Ajay Kalra wrote:
...
Alternatively, if its
busy doing some task (some long computation), it will receive the message
until the task is complete.
That's the point of my test. Is it busy?
I am not aware of a tool which does this as I dont know what exactly you
achieve by doing this.
I'll explain a bit more.
It's a server process normally dealing with comunications to a few
clients (MFC apps on other PC's) and building HVAC controllers. There
is also a simple webserver built in. The webserver is going to be used
a bit more and I want to know what effect it will have on the response
time to the other services it provides (listening on other sockets).
I have a test web client that will constantly hit the port dealing with
http requests. As a guide to how responsive the server is going to be
for it's other tasks, I thought I'd see how quickly it could respond to
a windows message. If the webserver part is sending a large file,
will it block until the file is sent or is there code in there to pass
it out in chunks so it can still do it's other tasks? That's the kind
of thing I'd like to find out. Looking at the code will give me an
idea but I'd rather get some sort of measurement.
If it turns out that the sending a large file via http causes the
server to hang for long periods then I need to look at putting it on
another thread perhaps.
I'd like to do other tests where the webserver is sending out a series
of small files. What effect will this have on the repsonsiveness of
the server? I need a good way of measuring it.
Thanks.
Peter.
.
- Follow-Ups:
- Re: Something like "ping" for windows messages.
- From: Ajay Kalra
- Re: Something like "ping" for windows messages.
- References:
- Something like "ping" for windows messages.
- From: Peter Smithson
- Re: Something like "ping" for windows messages.
- From: Ajay Kalra
- Something like "ping" for windows messages.
- Prev by Date: Re: Why can't I run a WINXP service having an infinite while loop???
- Next by Date: Re: Why is VS 2005 so slow?
- Previous by thread: Re: Something like "ping" for windows messages.
- Next by thread: Re: Something like "ping" for windows messages.
- Index(es):
Relevant Pages
|