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

Enhance performance of workloads validating #1810

Merged
merged 4 commits into from
Dec 31, 2023

Conversation

MohamedElmdary
Copy link
Member

@MohamedElmdary MohamedElmdary commented Dec 27, 2023

Description

Enhance the performance of validating the resource while deploying the workloads

Changes

  • refactor: use Promise.all instead of for await to parallelize execution
  • fix: group all deployments with same nodeId and sum all it's resources before validating

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

@MohamedElmdary MohamedElmdary marked this pull request as ready for review December 31, 2023 10:21
@AhmedHanafy725 AhmedHanafy725 merged commit e4f05ed into development Dec 31, 2023
2 checks passed
@AhmedHanafy725 AhmedHanafy725 deleted the development_enhance_workload_validation branch December 31, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants