Skip to content

Added RPS support for dirigent-dandelion-workflows#605

Merged
tostocker merged 14 commits intomainfrom
dirigent_workflow_rps_support
Mar 6, 2025
Merged

Added RPS support for dirigent-dandelion-workflows#605
tostocker merged 14 commits intomainfrom
dirigent_workflow_rps_support

Conversation

@tostocker
Copy link
Collaborator

@tostocker tostocker commented Feb 12, 2025

Summary

Adds RPS support for dirigent-dandelion-workflows.

Implementation Notes ⚒️

  • We have extended the dirigent cluster manager to be able to orchestrate workflows and want to benchmark it in order to further optimize it. So orchestration is done within dirigent and the workflows are to be provided when registering them in the system. From outside the system registering workflows is different to registering a single function but invoking either one looks the same to the user.
  • The workflow description is exported as a file that is read and the content is given to dirigent in the registration. The structure is not platform specific (though only works on dirigent) but as already said the orchestration inside dirigent only supports the dandelion platform.
  • In this PR we extend the dirigent deployer and HTTP client to be able to also handle workflow requests beside the function requests it already can. This requires a few more configuration parameters.
  • Moves dirigent specific configuration parameters into separate dirigent config file that is loaded only when the platform is Dirigent. This also affects the backend which is now a dirigent config parameter and no longer a separate platform.
  • Adapts the changes from PR #606.

External Dependencies 🍀

  • none

Breaking API Changes ⚠️

  • none

@tostocker tostocker force-pushed the dirigent_workflow_rps_support branch 3 times, most recently from 7ecf636 to aa3d6dd Compare February 12, 2025 09:55
@tostocker tostocker requested a review from cvetkovic February 12, 2025 10:45
@tostocker tostocker added the enhancement New feature or request label Feb 12, 2025
Copy link
Contributor

@cvetkovic cvetkovic left a comment

Choose a reason for hiding this comment

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

Looks good. Just some minor comments above.

@tostocker tostocker force-pushed the dirigent_workflow_rps_support branch from 1f8096c to d1f3f57 Compare February 12, 2025 13:58
Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

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

Overall comment, can you add tests for the deployment? I don't know how hard it is to test the dirigent and dandelion setup in github actions, but better to have them.

@cvetkovic cvetkovic linked an issue Feb 14, 2025 that may be closed by this pull request
@tostocker tostocker force-pushed the dirigent_workflow_rps_support branch 6 times, most recently from 0c7392e to 49628dc Compare February 18, 2025 14:27
@tostocker tostocker force-pushed the dirigent_workflow_rps_support branch from da08719 to 30dd4da Compare February 24, 2025 16:15
Copy link
Contributor

@cvetkovic cvetkovic left a comment

Choose a reason for hiding this comment

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

LGTM! Just a small bugfix is needed. If @leokondrashov agrees, we can merge.

Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

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

Looks good, please fix the docs and couple of options

cvetkovic
cvetkovic previously approved these changes Feb 27, 2025
cvetkovic
cvetkovic previously approved these changes Feb 28, 2025
cvetkovic
cvetkovic previously approved these changes Mar 3, 2025
tostocker added 14 commits March 5, 2025 16:33
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <stocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
Signed-off-by: Tobias Stocker <tstocker@student.ethz.ch>
@tostocker tostocker merged commit 5a4f00d into main Mar 6, 2025
15 checks passed
@tostocker tostocker deleted the dirigent_workflow_rps_support branch March 6, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dirigent config as a separate JSON

3 participants