Skip to content

[CFP] Adding max tasks limitation  #38798

Open

Description

Scenario:

By default, CFP will try to pick up as many as partitions for processing, as the increase of the number of the partitions of the monitored container, with fixed number of CFP instances, the CFP instance will slowly get into high CPU/high memory as more and more worker threads being spinned up.

Even though as of today, customer can use maxScaleCount to help with the high CPU/Memory situation, but it will cause staled partitions. So essentially customer want a way to control the max tasks/workers within each CFP instance, and making sure all the partitions will get processed.

Design challenges:
Possible increased lagging
How to decide which partitions to be processed next - scenarios like some partitions may have more changes than others

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

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.Cosmoscosmos:v4-itemIndicates this feature will be shipped as part of V4 release traincustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-triageWorkflow: This issue needs the team to triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions