[KongchangAI]
Concept工作节点

Worker

In a multi-agent architecture, a sub-agent that executes specific tasks. The orchestrator assigns it an independent prompt and working directory, and it runs in parallel on a separate branch. After completion, the orchestrator merges the work or creates a pull request.

Core Facts

Timeline (last 90 days)

Oct 24

Missions requires the Worker to fill in a structured handoff after completing a feature, recording what was done, what was left over, the commands executed and their exit codes, problems found, and whether procedures were followed.

Unverified50%
Oct 22

Workers can scale horizontally through multiple virtual machines, Kubernetes Jobs or cloud instance pools.

Unverified50%
Oct 18

Workers are the execution carriers in n8n's Queue Mode: the main process handles receiving Webhooks, scheduled triggers and queue management, while Worker processes pull tasks from the queue and execute the specific workflow nodes.

Unverified50%
Oct 18

The new version's pause mechanism is essentially an explicit rewrite of the state of in-flight executions in the Worker shutdown hook, leaving identifiable traces at the data level.

Unverified50%
Oct 18

Under the traditional behavior, when a Worker crashes or shuts down gracefully, in-flight executions are left dangling, showing up as states stuck in running for a long time, truncated logs, and downstream nodes that never trigger.

Unverified50%
Oct 18

An in-flight execution refers to an execution instance that has already been claimed by a Worker, is currently moving between nodes, and has not yet produced a final result.

Unverified50%
Oct 15

Agent Substrate abstracts the Agent's runtime environment as an Actor; the Actor runs on top of a Worker, and the Worker is managed uniformly by a WorkerPool.

Unverified50%
Oct 15

Each Worker has a memory limit of 1Gi, while each Actor template requires 768Mi, so one Worker can only hold one Actor.

Unverified50%
Oct 15

In Agent Substrate, after two Workers are each filled by one Actor (768Mi/1Gi), requesting a third Actor returns a 504 timeout, because there is not enough free memory to schedule it.

Unverified50%
Oct 15

This article chose HPA rather than VPA because the memory limit of a single Worker determines that it can only hold a fixed number of Actors; enlarging a single Worker's memory cannot solve the scheduling bottleneck, and increasing the number of Workers is the correct scaling direction.

Unverified50%

9 more timeline events

All Facts (19)

Verified

The Orchestrator is responsible for task decomposition, scheduling, and integration, while the Worker is responsible for executing specific, specialized tasks.

65%
Unverified

该框架的主控程序(Worker)通过轮询状态文件来决定启动哪个Agent,每个Agent启动时都有强制的前置检查

90%
Unverified

Missions requires the Worker to fill in a structured handoff after completing a feature, recording what was done, what was left over, the commands executed and their exit codes, problems found, and whether procedures were followed.

50%
Unverified

Workers can scale horizontally through multiple virtual machines, Kubernetes Jobs or cloud instance pools.

50%
Unverified

The new version's pause mechanism is essentially an explicit rewrite of the state of in-flight executions in the Worker shutdown hook, leaving identifiable traces at the data level.

50%
Unverified

Workers are the execution carriers in n8n's Queue Mode: the main process handles receiving Webhooks, scheduled triggers and queue management, while Worker processes pull tasks from the queue and execute the specific workflow nodes.

50%
Unverified

An in-flight execution refers to an execution instance that has already been claimed by a Worker, is currently moving between nodes, and has not yet produced a final result.

50%
Unverified

Under the traditional behavior, when a Worker crashes or shuts down gracefully, in-flight executions are left dangling, showing up as states stuck in running for a long time, truncated logs, and downstream nodes that never trigger.

50%
Unverified

This article chose HPA rather than VPA because the memory limit of a single Worker determines that it can only hold a fixed number of Actors; enlarging a single Worker's memory cannot solve the scheduling bottleneck, and increasing the number of Workers is the correct scaling direction.

50%
Unverified

Agent Substrate abstracts the Agent's runtime environment as an Actor; the Actor runs on top of a Worker, and the Worker is managed uniformly by a WorkerPool.

50%
Unverified

Each Worker has a memory limit of 1Gi, while each Actor template requires 768Mi, so one Worker can only hold one Actor.

50%
Unverified

In Agent Substrate, after two Workers are each filled by one Actor (768Mi/1Gi), requesting a third Actor returns a 504 timeout, because there is not enough free memory to schedule it.

50%
Unverified

The Chief-and-Worker combination is a typical Supervisor-Worker multi-agent architecture pattern; its advantage lies in clear responsibilities and controllable conflicts, but the cost is that it places very high demands on the Chief's decomposition ability and judgment of task boundaries.

50%
Unverified

Heavy tasks such as document summarisation and code generation are suited to being offloaded to a background task queue, where a worker picks up the task, calls the LLM API, and writes back the result, thereby decoupling user requests from long inference.

50%
Unverified

In vLLM, it is GPUModelRunner that actually performs physical GPU memory allocation, while Worker plays more of a resource orchestration role.

50%
Unverified

The actual physical VRAM allocation occurs on vLLM's Worker side, while the logical block pool and block table are established on the scheduler side.

50%
Unverified

The ModelRunner held by the Worker is responsible for performing the physical allocation of tensors, completing type conversions, and binding the final tensor views to the Attention layers.

50%
Unverified

vLLM adopts a scheduling-execution separation architecture, where the scheduling side is responsible for request management, sequence scheduling, and logical resource allocation, while the execution side is responsible for actual model inference and physical VRAM management.

50%
Unverified

vLLM's Worker initialization process consists of four stages: generating the KVCacheConfig list, selecting a configuration by rank, setting the block count, and performing VRAM allocation.

50%

Source Articles