Skip to content

docs(compression-coordinator): Add a user guide for using compression-coordinator. - #2456

Draft
LinZhihao-723 wants to merge 6 commits into
y-scope:mainfrom
LinZhihao-723:compression-coordinator-user-doc
Draft

docs(compression-coordinator): Add a user guide for using compression-coordinator.#2456
LinZhihao-723 wants to merge 6 commits into
y-scope:mainfrom
LinZhihao-723:compression-coordinator-user-doc

Conversation

@LinZhihao-723

Copy link
Copy Markdown
Member

Description

This PR depends on #2455.

Checklist

  • The PR satisfies the contribution guidelines.
  • This is a breaking change and that has been indicated in the PR title, OR this isn't a
    breaking change.
  • Necessary docs have been updated, OR no docs need to be updated.

Validation performed

@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 601cddcf-b83d-4857-add9-de27d0056f6d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment on lines +17 to +39
Compared with `compression-scheduler`, `compression-coordinator` provides the following improvements
to the user experience, reliability, and performance:

* **Automatic failure recovery**: If a service fails or restarts, `compression-coordinator`
automatically resumes previously submitted jobs. Users do not need to restart them manually.
* **Improved resource utilization**: Compression jobs run in a Spider-managed execution environment,
allowing computational resources to be shared more effectively across all configured workers.
* **Configurable retries for compression failures**: `compression-coordinator` allows users to
configure a simple retry policy for failed compression tasks. Automatic retries can help recover
from transient issues, such as temporary network interruptions, without requiring user
intervention.
* TODO: Configure retry policy through <LINK>
* **Improved fairness across concurrent compression jobs**: `compression-coordinator` provides
two levels of concurrency control to improve fairness among compression jobs running concurrently:
* Coordinator-side rate limit: TODO, depends on #2435.
* Spider-side active job limit: Controls the maximum number of jobs that can make progress
concurrently while sharing compute resources in Spider. Jobs are admitted on a first-come,
first-served basis.
* **Data integrity**: Compression jobs coordinated by `compression-coordinator` publish their
results to the rest of the system through a dedicated commit stage. The commit operation is both
transactional and idempotent.
* A job-level failure does not result in partial updates.
* Internal retries do not result in duplicate updates

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@junhaoliao Can you review this section to check if it makes sense (since it compares to the existing scheduling)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant