Skip to content

moss: Explore making moss state verify able to use multiple threads when verifying #390

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

Open
ermo opened this issue Jan 6, 2025 · 1 comment · May be fixed by #421
Open

moss: Explore making moss state verify able to use multiple threads when verifying #390

ermo opened this issue Jan 6, 2025 · 1 comment · May be fixed by #421
Assignees
Labels
type: performance Will make things faster/leaner type: user experience Will make for a nicer user experience
Milestone

Comments

@ermo
Copy link
Contributor

ermo commented Jan 6, 2025

Currently, it looks like moss is stuck verifying on a single core at a time.

Perhaps it would be fruitful in a performance sense to parallelize this feature?

@ermo ermo added the type: enhancement (PR) New feature delivered as a PR label Jan 6, 2025
@joebonrichie
Copy link
Contributor

The most obvious solution would be to use rayon but it is incompatible with the itertools functions currently used i.e. .into_group_map()

joebonrichie added a commit that referenced this issue Feb 10, 2025
Use rayon to iterate over entries in parallel and use a Arc<Rwlock<>> to
update the vec of issues atomically.

Resolves #390.
@joebonrichie joebonrichie linked a pull request Feb 10, 2025 that will close this issue
joebonrichie added a commit that referenced this issue Feb 10, 2025
Use rayon to iterate over entries in parallel and use a Arc<Rwlock<>> to
update the vec of issues atomically.

Resolves #390.
@ermo ermo added this to the alpha2 milestone May 24, 2025
@ermo ermo added type: duplicate This issue or pull request already exists, type: user experience Will make for a nicer user experience type: performance Will make things faster/leaner and removed type: enhancement (PR) New feature delivered as a PR type: duplicate This issue or pull request already exists, labels May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: performance Will make things faster/leaner type: user experience Will make for a nicer user experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants