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

[orchestrator] [Future request] Parallel EC2 requests #7

Open
andll opened this issue Jul 11, 2023 · 2 comments
Open

[orchestrator] [Future request] Parallel EC2 requests #7

andll opened this issue Jul 11, 2023 · 2 comments

Comments

@andll
Copy link
Collaborator

andll commented Jul 11, 2023

We seem to issue requests to AWS sequentially, and it actually takes a bit of time even on 10 node cluster, probably going to be unusable on 100 nodes. We should try instead to parallelize things as much as possible, e.g. every time we have some kind of array of instances we should issue AWS requests to those instances in parallel

@asonnino
Copy link
Collaborator

That is quite strange indeed. We spawn one task per instance but somehow SSH commands remain sequential. I suspect this is an issue of the underlying SSH library we use and it should go away when we remove it to instead use the SSH bin on our local machines.

@andll
Copy link
Collaborator Author

andll commented Jul 13, 2023

So I am mostly referring to the calls to EC2, for example when stopping instances we issue one query per region sequentially, I think there are other places like this as well

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

2 participants