-
Notifications
You must be signed in to change notification settings - Fork 115
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
parrallel pings #241
Comments
Cheers mate. Sounds good to me :) |
OK, so for now default to serial, and make an option for parrallel? |
I guess we go default with parallel. If it's a problem then we'll see. |
Also could please make sure to pull all my commits in the 'test' branch first. Cheers |
so use the test branch as the base? |
yessir ! |
Yes plz. |
okay coke |
I wonder if the multithreading can be done only in the OS, rather than in python. Will check it out |
we just need to run some subprocess commands in parallel and capture their output later. |
Hello :) Ive got the parallel pings running. I have to tidy up and finish it off for the pull request. The other thing that takes time is the -f option dhcp things. Is there a way of doing that faster? What is it called? Lets open an issue about it? |
I had to put a 0.01 second delay between the subprocess.Popen calls to ping, because otherwise packets were dropped for "no reason". It is satisfyingly quicker. The sequential option is implemented as "-S --sequential" |
Parrallel pings
When I am travelling I often find that I am connecting repeatedly to different wifi's or more likely after putting my laptop into suspend.
Because of this I find waiting for the pings to 10 servers takes slightly longer than feels right to my flow.
I would like to implement sending the pings to the servers in parrallel with each other.
implementation design decisions
def ping_servers(better_servers_list: List, pings: str, stats: bool) -> List
:default to send pings in parallel add option to send in seriesquestions / discussion
state of implementation
The text was updated successfully, but these errors were encountered: