Is there a better way?

G

Guest

We have a web application that makes requests to a data provider that queries
many databases. Based on the query made on the web client, the response may
take a few seconds to several minutes. The problem is that once you make a
query from the web client it may take several minutes until the response
comes back and you can make another request. One other possible way to do it
would be to put all the messages in a message queue and poll the message
queue every few seconds. This seems very sloppy. I was wondering if there
is a better way to do this (short of writing a socket program).
 
C

Chris Dunaway

CLEAR-RCIC said:
We have a web application that makes requests to a data provider that queries
many databases. Based on the query made on the web client, the response may
take a few seconds to several minutes. The problem is that once you make a
query from the web client it may take several minutes until the response
comes back and you can make another request. One other possible way to do it
would be to put all the messages in a message queue and poll the message
queue every few seconds. This seems very sloppy. I was wondering if there
is a better way to do this (short of writing a socket program).

You might create a Web Service that performs the query. Then the Web
Service could be called Asynchronously.
 

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

Top