Batch functionality

O

Oscar Thornell

Hi,

Any suggestions on best practices on implementing batch process
functionality in a web app?
The idea is to run a batch of order processing at night when the site load
is low.
I would like to contain the logic within the web application for deployment
reasons..

An event has to be fired at a specific time or other threeshold.
The batch would probably need to be run in async/low priority thread(s) from
the threadpool.


Regards
/Oscar
 
P

Philip Hristov

Oscar,

It can be done, however it will not be very good solution to your
problem. Why do not you build a Windows Service and deploy it along
with the Web Application?

Regards,

Philip.
 
O

Oscar Thornell

I agree. The service solution is the best overall design choice.
But..if for some reason it is not viable in this context.

How would one solve the problem in an ASP.NET web application.

/Oscar
 
P

Philip Hristov

Oscar,

You need to use the timer component on a web page and activate it
somehow, someone got to request the page and activate the timer when is
loaded...and maybe the page must be always loaded (not just load it and
then close it) in order to work...

Philip.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top