Hi,
I'm looking for suggestions/guidance/examples on how to create a periodic polling process [an application] using the latest technique(s).
I have a web application that inserts an entry into a queue table based upon a Users action. The entry represents a request to do something. Once the entry is processed, it will be removed from the queue. Until processed, there can be more than 1 request in the queue.
I want to poll that queue table every 3 minutes, 24 by 7 and then initiate a 'process' to handle the request(s).
Should this periodic polling process [an application] be a console app, a WCF service or a regular web service? Should I use a multi-threading technique to process multiple requests that may be in the queue at a given 'poll' time (every 3 minutes)?
I've seen a few examples of polling when I Google, but they seem old and out-dated. Some use threads, others tasks, timers, etc.
Somewhat confused as what is the best approach. Any "best practice" suggestions/guidance/examples would be most
appreciated.
Regards....Dan