• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

m-lab / ndt-server / 338 / 1
75%
main: 76%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/cmd/generate-schemas/golang.org/x/oauth2-0.27.0
DEFAULT BRANCH: main
Ran 21 Jan 2019 04:59PM UTC
Files 19
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jan 2019 04:45PM UTC coverage: 64.565%. Remained the same
338.1

push

travis-ci

bassosimone
spec/ndt7: clarify optional counter-flow messages

A counter-flow message is a message flowing in the opposite
direction on which binary messages are flowing.

These messages should be used to send measurements regarding
the speed measured at application level. The may possibly
contain additional TCP_INFO measurements (where it's possible).

The previous version of the spec already implied the existence
of such messages. This is just a clarification of wording.

I did some research to understand whether implementing this
feature is doable or not. It turns out that doing this in
measurement-kit/libndt is easy, because we have control over
sockets. So, we can for example, just poll the socket and
see whether we have incoming messages or whether we can send
a message immediately. This allows to embed handling of the
counter-flow messages in the same loop that is already in
use for the current subtest.

I also easily implemented sending counter-flow messages in
m-lab/ndt-server. It seems to me, however, that we're going
to have a more complex implementation of _optionally_
receiving these messages in ndt-server. Currently, I don't
see an easy way of doing that without adding one extra
goroutine, which is a bump of the complexity.

594 of 920 relevant lines covered (64.57%)

0.68 hits per line

Source Files on job 338.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14
  • Travis Job 338.1
  • f4f2a99e on github
  • Prev Job for on feature/spec (#330.1)
  • Next Job for on feature/spec (#340.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc