C
Chris Amaru
When calling a method of a web service, will multiple calls from different
clients execute concurrently automagically, or do you need to explicitly
code threads into the web service?
For example, for a web service that simply waits for 30 seconds and then
returns, which of the following will happen (this assumes each call is
synchronous):
Case A:
Client A ----> Web Service (Time 0:00)
Client B ----> Web Service (Time 0:15)
Client A <---- Web Service (Time 0:30)
Client B <---- Web Service (Time 0:45)
Case B:
Client A ----> Web Service (Time 0:00)
Client B ----> Web Service (Time 0:15)
Client A <---- Web Service (Time 0:30)
Client B <---- Web Service (Time 0:60)
Ultimately, I am asking whether web service requests queue until the active
request finishes, or if the execute concurrently.
Any help would be aprrciated.
Thanks,
Chris
clients execute concurrently automagically, or do you need to explicitly
code threads into the web service?
For example, for a web service that simply waits for 30 seconds and then
returns, which of the following will happen (this assumes each call is
synchronous):
Case A:
Client A ----> Web Service (Time 0:00)
Client B ----> Web Service (Time 0:15)
Client A <---- Web Service (Time 0:30)
Client B <---- Web Service (Time 0:45)
Case B:
Client A ----> Web Service (Time 0:00)
Client B ----> Web Service (Time 0:15)
Client A <---- Web Service (Time 0:30)
Client B <---- Web Service (Time 0:60)
Ultimately, I am asking whether web service requests queue until the active
request finishes, or if the execute concurrently.
Any help would be aprrciated.
Thanks,
Chris