473,325 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Batch functionality

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
Nov 17 '05 #1
3 1221
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.

Nov 17 '05 #2
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

"Philip Hristov" <ph********@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
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.

Nov 17 '05 #3
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.

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Keith-Earl | last post by:
We want to search our file system regularly for certain file types and possibly for text contained in the files. We essentially need a tool that provides the primary functionality of the Window...
0
by: Steve Jorgensen | last post by:
I remember that I used to set up utility batch files, and create Windows shortcuts to them that would ask the user for parameters to supply to the batch files. From what I can tell, this...
1
by: Bucky Pollard | last post by:
I have a web service that needs to create a batch file and call it (since there are no APIs for the functionality I am looking for). I am using the Process and ProcessStartInfo objects. When I try...
6
by: Charles Neitzel | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
1
by: Charles | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
1
by: news | last post by:
I have a some CPU intensive C#, .NET, MS SQL (with stored procedures) code to run. I am using a IE to run it now but IE loses the thread after a while - however the task does complete in the...
2
by: Blippy | last post by:
I want to create a small look up program that searches for a certain date and the batch number that is represented by that day. For instance if i wanted to find the batch for 20/08/05 i would...
6
by: eric.goforth | last post by:
Hello, I have a simple batch file that I'm trying to call from a VB.NET application: @ECHO OFF IF (%1)==() GOTO END DIR %1 > MYDIR.TXT :END @ECHO ON
14
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, In my windows applicationm, i need to excute a batch file. this batch file throws some text and questions to the screen, i need to catch the standard Output, check if it's a question, in...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.