Browse Prior Art Database

Method for Network-Aware, Asynchronous, Process-Completion, Notification

IP.com Disclosure Number: IPCOM000014118D
Original Publication Date: 1999-Dec-01
Included in the Prior Art Database: 2003-Jun-19

Publishing Venue

IBM

Related People

Authors:
Charles Rankin Don Randall

Abstract

A method is disclosed which provides for asynchronous notifications when a process completes. These notifications are available locally and across a network. When building applications which schedule work across many systems in a network. It is imperative to know when one process ends on a system so that the next may be started. In a small environment it would be possible to have all the processes started synchronously on multiple threads within the application. This becomes more difficult as the number of processes and systems gets larger. A better approach is to start the processes asynchronously, so as to reduce the need for numerous waiting threads. This approach requires that the scheduling application be able to determine when a process has completed. In general, the system management packages available have no easy way to inform an application when a process ends, which forces the application to perform periodic polling of the systems to determine if particular processes are still running. The method disclosed provides a superior technique. With this method, when a process is started, the application starting the process can register to receive an asynchronous notification when the process completes. These notifications arrive on a per application message queue. These notifications contain the return code and completion time of the process. This method allows a scheduling application to simply wait for a message to arrive on its message queue, at which time it can take the appropriate action to start the next process.