I am working on an auction web application.
All auctions have an end date. At the end of that time winners are to be determined based on an algorithm.
I am trying to find out a way to determine the winners right after the end datetime.
I could schedule an agent do the job with an interval. But I like to start the process right after the end of the end datetime.
Is there any way to accomplish this?
SQL Server has something called Service Broker. I think you could schedule a job to run every few seconds just to identify which reocrds need to have the algorithm computed and send them to the service broker for processing. Processing could incude calcluating the winner, notifying the winner and the person who put the item up for auction etc. Read up on Service BRoker in Bookds Online, I think it would be very handy for what you need to do.