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

Add RoundRobinLocal slots policy for caching executor data to avoid seld persistency #396

Merged
merged 2 commits into from
Oct 21, 2022

Conversation

yahoNanJing
Copy link
Contributor

Which issue does this PR close?

Closes #132.

Rationale for this change

When running ballista with single scheduler, there's no need to persist the executor data to the backend sled for every slots change. We can just cache the executor data in memory for efficiency.

What changes are included in this PR?

RoundRobinLocal is added for the slots policy.

Are there any user-facing changes?

@yahoNanJing
Copy link
Contributor Author

Hi @thinkharderdev and @andygrove, could you help review this PR?

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.

Redefine the executor task slots
2 participants