> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FlowX.AI Advancing Controller

> The Advancing Controller is a support service for the FlowX.AI Engine that enhances the efficiency of advancing operations. It facilitates equal distribution and redistribution of the workload during scale-up and scale-down scenarios.

The Advancing Controller microservice monitors process advancement in both PostgreSQL and Oracle Database configurations, ensuring efficient workload distribution across worker instances.

## Usage

The Advancing Controller service is responsible for managing and optimizing the advancement process in the PostgreSQL or Oracle databases. It ensures efficient workload distribution, performs cleanup tasks, and monitors the status of worker pods.

If a worker pod fails, the service reassigns its work to other pods to prevent [**process instances**](../../projects/runtime/active-process/process-instance) from getting stuck.

<Check>
  It is essential to have the Advancing Controller service running alongside the FlowX Engine for uninterrupted instance advancement.
</Check>

<Tip>
  Ensure that both the FlowX Engine and the Advancing Controller microservices are up and running concurrently for optimal performance.
</Tip>

## Configuration

For detailed instructions on how to set up the Advancing Controller microservice, refer to the following guide:

<Card title="Advancing controller setup guide" href="../../../setup-guides/advancing-controller-setup-guide" />
