Coder Social home page Coder Social logo

Comments (1)

fujiapple852 avatar fujiapple852 commented on May 18, 2024

The fix is to separate out the size of a round (the number of probes sent in the round, for which statistics should always be updated) from the maximum ttl number of the probe which responded in this round (which can be used to decide how many probes to display).

The "tearing" effect is still possible, though unlikely; if the number of probes actually sent in a round is less than the maximum ttl number of a probe which responded in a previous round.

For example, in round 1 we sent 10 probes (ttl 1..10) and received a response for, at least, the probe with ttl=10. In round 2 we only manage to send 9 probes (ttl 1..9) before the round expires and so only probes with ttl 1..9 are published in round 2 and therefore the stats for ttl=10 will be behind the rest.

The latter problem could potentially be fixed by adjusting the round end logic to ensure round N+1 sends at last as many probes as round N.

from trippy.

Related Issues (20)

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.