Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load balancing non existent? #15

Open
asos-martinsmith opened this issue Apr 8, 2024 · 0 comments
Open

Load balancing non existent? #15

asos-martinsmith opened this issue Apr 8, 2024 · 0 comments

Comments

@asos-martinsmith
Copy link

asos-martinsmith commented Apr 8, 2024

As far as I can see when running on a single function app instance it will only currently process changes from 4 physical partitions.

In the core change feed processor 0 is used as maxPartitionCount in the EqualPartitionsBalancingStrategy so there is no such limitation imposed.

There also seems to be no logic to redistribute processing if a function app scales in and the number of hosts decrease (as lease allocation is only called at startup). In the core API project this is controlled by the LeaseAcquireInterval to fairly frequently check if any rebalancing is needed.

I do wonder about the wisdom of creating a new project for this vs getting it integrated into the core project so it can benefit from all the work already done there (seems like it should be possible to come up with common abstractions that both APIs can use)

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

No branches or pull requests

1 participant