473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Multiple call to a web service ... which order ?

Hi,

I've a simple web service running on machine A , and a simple client
running con machine B , both on a LAN.

I wanted to test the response time. So i've made a simple continuous
testing client application , that calls about 10.000 times the web
service.

Then , I wanted to test what happens when there are more than one
client asking for web service from server. So I've launched my test-
client four times on the same machine and started them at the same time
(more at the same time as possibile).

At the end I saw that the last process launched was the first to
stop ... something like that :

Process 1 : t to complete 2.22 seconds
Process 2 : t to complete 2.24 seconds
Process 3 : t to complete 2.31 seconds
Process 4 : t to complete 1.82 seconds

Why that result? I thought that the first to launch would be the first
to stop...
It's very strange to me also why only the last process is faster!
Process 3 is about faster like process 1....
Any idea?
Bye and Thanks,
Nicola


Inviato da www.mynewsgate.net
Nov 23 '05 #1
1 2049
Did you run this only one time? or many times? if many times is it the same
results every time?

Many things can affect it, since you are running the client on one machine
the client machine has to time swap between each process, it could just be a
matter of how the OS decided to time slice the processes out. This will also
have to occur on the server, each request would get it's own time slice as
well. could just have been coincidence.

--
Thanks
Wayne Sepega
Jacksonville, Fl
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein

"globus" <14**********@mynewsgate.net> wrote in message
news:20*****************@mynewsgate.net...
Hi,

I've a simple web service running on machine A , and a simple client
running con machine B , both on a LAN.

I wanted to test the response time. So i've made a simple continuous
testing client application , that calls about 10.000 times the web
service.

Then , I wanted to test what happens when there are more than one
client asking for web service from server. So I've launched my test-
client four times on the same machine and started them at the same time
(more at the same time as possibile).

At the end I saw that the last process launched was the first to
stop ... something like that :

Process 1 : t to complete 2.22 seconds
Process 2 : t to complete 2.24 seconds
Process 3 : t to complete 2.31 seconds
Process 4 : t to complete 1.82 seconds

Why that result? I thought that the first to launch would be the first
to stop...
It's very strange to me also why only the last process is faster!
Process 3 is about faster like process 1....
Any idea?
Bye and Thanks,
Nicola


Inviato da www.mynewsgate.net

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

32
by: tshad | last post by:
Can you do a search for more that one string in another string? Something like: someString.IndexOf("something1","something2","something3",0) or would you have to do something like: if...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
3
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types...
0
by: voipdealer | last post by:
I have to interface to a third-party application that receives HTTP POSTs with XML content to a certain port on the server. The server is *not* a web server, rather some custom server app written...
1
by: sunil | last post by:
Hello All. I have written a program as an exe that performs some kind of order processing. The program is first configured and then started manually. I have have multiple instances of this...
52
by: MP | last post by:
Hi trying to begin to learn database using vb6, ado/adox, mdb format, sql (not using access...just mdb format via ado) i need to group the values of multiple fields - get their possible...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
0
by: =?Utf-8?B?ZHZhbg==?= | last post by:
I'm looking for best pratice examples on how to call multiple (1 to n) web services asynchronously (server side) than merge the results from these web service in to one result set. I've written...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.