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

Improve process manager parallelism #186

Open
fabled opened this issue Oct 14, 2024 · 0 comments
Open

Improve process manager parallelism #186

fabled opened this issue Oct 14, 2024 · 0 comments

Comments

@fabled
Copy link
Contributor

fabled commented Oct 14, 2024

Currently the processmanager's ProcessManager.mu mutex is held in most paths. This effectively prevents handling per-PID events in parallel.

One option is to have multiple goroutines in a pool to handle events, and map PID always to same goroutine so that events are handled chronologically. Additionally the locking needs to be refactored to support this parallelisms.

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

No branches or pull requests

1 participant