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

feat: EXC-1750: Charge canisters proportionally to their load #1791

Closed
wants to merge 2 commits into from

Conversation

berestovskyy
Copy link
Contributor

This change applies charges for executed canisters proportionally to their actual load (number of executed instructions).

This should prioritize interactive canisters vs batch canisters.

This change applies charges for each fully executed canister.
The total amount of points charged is evenly distributed
across canisters, but it is not included in the compute capacity
used to calculate long/new execution cores.
@github-actions github-actions bot added the feat label Oct 2, 2024
This change applies charges for executed canisters
proportionally to their actual load (number of executed
instructions).

This should prioritize interactive canisters vs batch canisters.
@berestovskyy berestovskyy force-pushed the andriy/exc-1750-charge-proportionally branch from d1ebfb4 to 80b563e Compare October 2, 2024 09:19
@berestovskyy berestovskyy marked this pull request as ready for review October 2, 2024 09:19
@berestovskyy berestovskyy requested a review from a team as a code owner October 2, 2024 09:19
@alexandru-uta
Copy link
Contributor

Nit: Is "charge" in title and description the appropriate term for this? I'd perhaps rephrase to make sure it's clear this is about scheduling priority and not actual "cost".

Copy link
Contributor

@alexandru-uta alexandru-uta left a comment

Choose a reason for hiding this comment

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

Maybe not very important, but what I'm somehow missing is a more "end-to-end" test that's capturing what happens on a let's say realistic workload with many canisters, some heavy and some lightweight so that we understand how much different the behavior is now vs. before the change.

@berestovskyy berestovskyy marked this pull request as draft October 2, 2024 10:54
Base automatically changed from andriy/exc-1735-charge-full-executions to master October 2, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants