-
-
Notifications
You must be signed in to change notification settings - Fork 552
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
Question: Threading of plugins #312
Comments
One of my old idea for a feature is to load/start plugins in parallel. The benefit would be that the start time of the application will be reduced (when you have many plugins).
Sequence: P3, P2 This approach is useful for medium and big (as number of plugins) applications.
Some comments about threads in PF4J are available at #30. |
I think the problem is that in the current state one plugin is able to block nearly the complete startup of application. So maybe we have two problems.
Thanks for linking the two tickets. I am looking forward to your further opinion, thanks :) |
See my comment #269 (comment). |
@meydominic |
Yes, of course. Thank you |
Hey guys,
little question to you (all). How about running each plugin in its own thread? Are there any disadvantages? Where is the best place to "load" the plugin in a new thread?
This question is not about to extend pf4j to start plugins in their own thread but to extend our application with pf4j to start plugins in their own thread.
We already have extended PluginFactory so I think the best is to start there?
Thanks
The text was updated successfully, but these errors were encountered: