Summary:
In .net, I have discovered two methods for polling data/performing some kind of continuous analysis at regular intervals.
First approach is to use Global.asax file and start a timer in it when the application starts. However, it stops doing the job when thread is idle for some time i.e. there are no requests. This will be performing task at regular intervals only when users are continuously using the information.
Second approach is to use WindowServices. Using an installer, the windows service can be installed to the Windows Services. This service can be configured to run continuously.
I preferred the second approach as the websites are meant for UI only so it is better to perform regular interval tasks in a separate application, and also due to the problem I stated above.
Details:
Coming soon….
Friday, December 25, 2009
Polling data/performing analysis continuously at regular intervals
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment