Is there a better way?

  • Thread starter Thread starter Guest
  • Start date Start date
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).
 
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.
 
Back
Top