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

Factor aggregation job handling to seperate state machine #752

Open
wants to merge 1 commit into
base: mendess/small-changes
Choose a base branch
from

Conversation

mendess
Copy link
Collaborator

@mendess mendess commented Dec 23, 2024

By having the logic to handle an aggregation job live in a state machine like this instead of having just a top level function that does it all, it's easier to give users of the library ways to customize where and when the y want to execute each part necessary in the aggregation of report shares, without compromising on the correctness of these.

This PR only transforms helper::handle_agg_job_req into a state machine, but the other top level functions could also be transformed in similar ways. Future PRs will use this to eventually implement the async handling of aggregation jobs

@mendess mendess force-pushed the mendess/state-machine branch from 0061b21 to 9f1af5c Compare December 26, 2024 14:32
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.

1 participant