Re: How to wake up an asynchroneous process ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



1) My feeling is B should be a service so that it is not dependent on a logged in user. The ASP activity from A may occur when there is no active login, correct?

2) A should not "wake up" B, but B should periodically poll the data. By the nature of your setup there is some latency for the "B" operation, meaning it is not as immediate as A doing the store. Therefore if the timer in the service fires every N Insert_Your_Favorite_Time_Units, then things should be fine.

3) As I think things should be set up, this question is moot.

"Gilbert Tordeur" <GilbertTordeur@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:9854ECDE-6BC3-4093-99EB-7926F5F7A0CB@xxxxxxxxxxxxxxxx
Context : Windows Server 2003, IIS 6, VB 2008

My asp.net application A stores data in an SQL 2000 database. My application
B (on the same server but under a different userid - not ASPNET) reads these
data, does its job (big load, low priority) and updates the database. A does
not wait any answer nor acknowledgement from B.

Questions :
1) I think B can be a console application, am I right ?
2) How can A wake up B when A has stored data for B in the database ?
3) How can B wait when it has completed a task, until A wakes it up ?

Thank you,
Gilbert

.



Relevant Pages

  • Re: Program that wakes up every hour
    ... other calculations (e.g. to count inventory sold ... pipe to wake it up. ... started by cron. ... When it's started, it reads the database, ...
    (comp.unix.programmer)
  • Program that wakes up every hour
    ... I have a C++ program running on Red Hat Linux ... and another hourly program can write to the named ... pipe to wake it up. ... When it's started, it reads the database, ...
    (comp.unix.programmer)
  • Re: Program that wakes up every hour
    ... other calculations (e.g. to count inventory sold ... and another hourly program can write to the named ... pipe to wake it up. ... When it's started, it reads the database, ...
    (comp.unix.programmer)
  • Re: Program that wakes up every hour
    ... other calculations (e.g. to count inventory sold ... and another hourly program can write to the named ... pipe to wake it up. ... When it's started, it reads the database, ...
    (comp.unix.programmer)
  • IMPORTING TO ACCESS AND EXPORTING TO EXCEL
    ... I have an aplplication which stores data in a Paradox ... database to Access, preferrably using a macro, than filter ...
    (microsoft.public.access.tablesdbdesign)