Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In both cases, the frontend cancels the request's `AsyncEngineContext`, which pr

### Worker Cancellation Detection

On the worker side, the runtime monitors the TCP connection from the frontend for cancellation signals. The worker detects cancellation in three scenarios:
On the worker side, the runtime monitors the TCP connection from the frontend for cancellation signals. The worker detects cancellation in two scenarios:

1. **Control message received** — The frontend explicitly sent a cancellation control message.
2. **TCP connection dropped** — The frontend disconnected without sending a control message (e.g., frontend crash or network failure).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is an architecture reference. For how to enable and tune migration, its ben

## Overview

Request migration is implemented through a Migration operator that sits in the LLM processing pipeline between the Backend operator and the service backend. When a worker fails during request processing, the migration system preserves the partial generation state and recreates the request on a new worker to continue from where the previous worker left off.
Request migration is implemented through a Migration operator that sits in the LLM processing pipeline between the frontend preprocessing and the service backend. When a worker fails during request processing, the migration system preserves the partial generation state and recreates the request on a new worker to continue from where the previous worker left off.

## Architecture Components

Expand Down
Loading