Git Product home page Git Product logo

pinger's People

Contributors

teivarodiere avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pinger's Issues

Feature:0001 Multi-thread the ping

Feature:0001 Multi-thread pinger

Currently, the application generates a list of possible targets to ping. After it has created the array of ping-able targets, it for loops through the list. During each for loop, ping.SendAsync is issued.

What i'd like is to independently loop through each ping target in parallel, and not have wait for one to start the next.

The loop sleeps for a period (in seconds) that is the difference between (1 second less (-) the time taken to ping a Target).
For example. To ping a target every 1 second. If it takes 0.5 second to get a reply, then the sleep function waits another 0.5 seconds, the loops. When are are multiple targets, it's not possible to control the sleep function unless the pings are in parallel.

Feature:0002 Dump to CSV results

Feature:0002 Dumping live outputs to CSV.

I am exploring a few options;

  1. Dump only what is shown onscreen to CSV. Onscreen and CSV are in sync
    If you specify a normal ping, where the console outputs only when the target transitions between reachable and unreachable.

  2. Dump everything to CSV. What you would see onscreen and CSV not in sync.
    With this option, the output onscreen remains the same (either the smart ping or '-s' ping) but in the CSV, every ping result is written to CSV.

3). Only dumps to csv when the ping transitions to unreachable and back. Meaning, while the status is 'success' or reachable, then don't output anything to CSV. But when a target becomes unreachable, write to CSV, then stop after it returns to success.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.