How to Create a Queue

Posted by regex on Stack Overflow See other posts from Stack Overflow or by regex
Published on 2010-05-11T18:01:19Z Indexed on 2010/05/11 18:04 UTC
Read the original article Hit count: 257

Filed under:
|

Hello All,

I have an application built that hits a third party company's web service in order to create an email account after a customer clicks a button. However, sometimes the web service takes longer than 1 minute to respond, which is way to long for my customers to be sitting there waiting for a response.

I need to devise a way to set up some sort of queuing service external from the web site. This way I can add the web service action to the queue and advise the customer it may take up to 2 minutes to create the account.

I'm curious of the best way to achieve this. My initial thought is to request the actions via a database table which will be checked on a regular basis by a Console app which is run via Windows Scheduled tasks.

Any issues with that method?
Is there a better method you can think of?

© Stack Overflow or respective owner

Related posts about c#

Related posts about queue