Redwood Server Process Processing
The life-cycle of a process starts when the process is created and ends when it has reached a final status. The process goes through various stages, each illustrated by a status. The process that controls processes is named the dispatcher. The dispatcher assigns processes to process servers and queues for execution and is responsible for the life-cycle of the process.
The order in which the dispatcher starts processes is defined as follows:
- Based on priority of the process, (highest first).
- Based on the requested start time of the top level parent of the process, (oldest first).
- Based on the requested start time of the process, (oldest first).
- Based on the ID, (smallest first).
Gantt Chart
A Gantt chart is available to display the progress of the process or chain and its current status.
Color code | Description |
---|---|
light grey | process or chain not yet started or has reached status Canceled |
dark grey | process or chain has reached status Unknown |
green | process or chain has Completed |
red | process or chain has reached status Error or Killed |
purple | chain is in status Waiting |
The Gantt chart uses process statistics for display, when these are not available the chart has stripes.
Third-Party Systems
Some processes represent workload performed in external third-party systems; for example an ERP system. In this case, the process start time in Redwood Server is the time at which the process server sends the request to the external system. So third-party systems can have a very slight delay in actual processing, which can be seen in the discrepancy between start time in Redwood Server and start time in the remote system. The discrepancy depends on the on the resource utilization on both the Redwood Server and the remote system as well as network connectivity. Other factors might also have an impact, depending on the architecture of your data-center.
The process server communicates the status changes in the remote system back to Redwood Server; these are available in the Chains Monitor.