Question on concurrent connection to Web Services

J

James Wong

Hi! everybody,

My Web Services don't process requests from two clients simultaneously but
one after the other. I'm developing a simple prototype web services which
will take a random number of seconds (just want to simulate a process which
takes some time to finish) to return value to client. If a client program
calls the web services while it is processing the request from another
client program (two client programs are on the same PC, I don't know whether
it is a concern), the web services will not process the second request until
the first is finished. I found this behavior from the process log issued by
the method of web services. I'm using synchronous call and don't know
whether I should change it to asynchronous call in this case.

I want the web services can process multiple requests at the same time. Of
course, there should be a limit on number of concurrent request. Does
anybody understand this behavior and the solution on this?

Thanks for your attention and any advice!

Regards,
James Wong
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top