Example Phases in a Service Execution

The following is a reference example of a typical list of native Service execution phases. Not all possible phases are shown.

Example Service Execution Phases

Phase

Description

Driver Serialize Instance

The serialization of the Service instance object.

Driver Serialize Input

The serialization of the Service input.

Driver Write Input

Driver writes input data to the driver machine file system.

Driver Write Instance

Driver writes task data to the driver machine file system.

Driver Send Input

Driver sends the input message to the Broker. Keep in mind that more than one input can be sent in one message.

Broker Receive Input:

Broker receives the new task entry.

Broker Send Input

Broker sends the input to the Engine.

Engine Receive Input

Engine receives the input message from the Broker.

Engine Deserialize Instance

Engine deserializes task data.

Engine Load Library

Engine loads all necessary libraries for the task.

Engine Call Initialize

Engine calls init method.

Engine Deserialize Input

Engine deserializes input data.

Engine Call Service

Engine executes the task.

Engine Serialize Output

Engine serializes output data.

Engine Write Output

Engine writes output data to disk.

Engine Send Output

Broker receives the task complete message from Engine.

Broker Receive Output

Broker marks the task complete.

Broker Send Output

Broker notifies the driver that the task is ready to collect.

Driver Retrieve Output

Driver retrieves completed tasks info from Broker.

Driver Download Output

Driver gets output data from Engine.

Driver Deserialize Output

Driver deserializes output data.

Driver Call Completed

Driver completes the task.

Broker Remove Output

Broker removes the task from the task entry.