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

Addressing Slower Parallel Implementations in nx-parallel Compared to NetworkX #79

Open
Schefflera-Arboricola opened this issue Aug 24, 2024 · 0 comments
Labels
Infrastructure Related to the general infrastructure and organisation of code in the repo question Further information is requested

Comments

@Schefflera-Arboricola
Copy link
Member

Description:

Need to address the performance of certain algorithms in the nx-parallel whose parallel implementations are currently slower than their corresponding implementations in NetworkX. Some of these algorithms include:

Issues to Discuss:

  1. Performance Comparison: What should we do with these functions that show slower performance in their parallel implementations? Should we consider reverting to or recommending the use of NetworkX's implementation in these cases?

  2. Optimization: Is there a more optimized way that would improve the performance of these parallel implementations? And will that be way better the performance for all the algorithms? And how can we give the control of changing these "ways" to the end user?

  3. Functionality: There are also some graph algorithms that cannot be parallelized due to their fundamentally non-parallelizable nature. How should we handle such algorithms in nx-parallel? Should we provide a clear indication in the documentation or in the code itself? Or not add them to nx-parallel at all?

Next Steps:

  • Gather insights and suggestions from the community.
  • Determine whether to optimize, remove, or replace the slower parallel implementations.
  • Identify any non-parallelizable functions and decide on how to best handle them.

Thank you :)

@Schefflera-Arboricola Schefflera-Arboricola added question Further information is requested Infrastructure Related to the general infrastructure and organisation of code in the repo labels Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Related to the general infrastructure and organisation of code in the repo question Further information is requested
Development

No branches or pull requests

1 participant