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

Parallel attestors per type #228

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

matglas
Copy link
Contributor

@matglas matglas commented Apr 30, 2024

Allowing per attestor type to run all the attestors in parallel to speed up the process.

  • Check for need of mutex in different attestors when using data from context.

@ChaosInTheCRD
Copy link
Collaborator

ChaosInTheCRD commented Apr 30, 2024

Thanks again for another PR!

I seem to recall that there was a reason why we opted to not run attestors in parallel 🤔 @mikhailswift @jkjell any ideas?

attestation/context.go Outdated Show resolved Hide resolved
attestation/context.go Outdated Show resolved Hide resolved
@matglas matglas changed the title chore: Parallel attestors per type. Parallel attestors per type May 2, 2024
@matglas matglas marked this pull request as ready for review May 3, 2024 08:01
@matglas matglas force-pushed the parellel-attestors branch 2 times, most recently from d6e84d4 to 9a7c085 Compare May 20, 2024 12:23
@matglas matglas marked this pull request as draft May 20, 2024 12:23
@matglas matglas force-pushed the parellel-attestors branch 2 times, most recently from cbdd6fd to cf5b45e Compare May 23, 2024 15:22
@matglas matglas marked this pull request as ready for review May 23, 2024 15:22
Copy link
Member

@jkjell jkjell left a comment

Choose a reason for hiding this comment

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

Given the scope of the changes, I'll wait for a second approval from @ChaosInTheCRD or @mikhailswift before merging.

@jkjell jkjell merged commit b466e28 into in-toto:main Jun 11, 2024
12 checks passed
@matglas
Copy link
Contributor Author

matglas commented Jun 13, 2024

Nice thanks!

@matglas matglas deleted the parellel-attestors branch September 27, 2024 06:33
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.

3 participants