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

Multicore distribution across different problems #87

Open
Zebreu opened this issue Feb 2, 2025 · 4 comments
Open

Multicore distribution across different problems #87

Zebreu opened this issue Feb 2, 2025 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Zebreu
Copy link
Collaborator

Zebreu commented Feb 2, 2025

A single request to the server can incorporate multiple problems, and we'd want to distribute them across all available cores, probably via the multiprocessing standard library.

@Zebreu Zebreu added enhancement New feature or request good first issue Good for newcomers labels Feb 2, 2025
@fotisz
Copy link

fotisz commented Feb 2, 2025

Can you give an example, I don't think many people will actually understand what you are trying to achieve here

@Zebreu
Copy link
Collaborator Author

Zebreu commented Feb 2, 2025

If we look at the example config at https://github.com/datakind/dk-routing/blob/main/dkroutingtool/local_data/config.json we can see that two zones are listed, so we could solve those two zones in parallel.

@fotisz
Copy link

fotisz commented Feb 3, 2025

is it any different if these are solved one after the other?

@Zebreu
Copy link
Collaborator Author

Zebreu commented Feb 3, 2025

No, they're independent problems and currently solved sequentially

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants