ouroboros-network
ouroboros-network copied to clipboard
DeltaQ (ΔQ) measurement tool
trafficstars
Specification of ΔQ measurement tool:
- single protocol build on top of
typed-protocoldescribed bellow - the protocol should allow to send arbitrary large requests (drawn from some distribution) messages, which allows to measure
ΔQ. This part should be similar to theping-pongprotocol but allows to carry data alongpingsandpongs, together with timestamp information. - it should also allow to exchange
ΔQinformation between both sides. - validate the received
ΔQ
The client would collect time stamps when a request was send, when received together with the request size, then plot flight time as a function of its size. The client, using linear regression, can find out how long it takes to send request with 0 size. This is the g component of ΔQ which can be exchanged in point 3. above.
Since it's a single typed-protocol it will not require to use network-mux library, and this is an important requirement. We want it to run on a bear bearer (typed-protocols require that the bearer delivers messages in order, for now we keep this as an assumption).
Future development might include:
- making
ΔQmeasurement persistent across sessions - plotting time to completion as a function of size for each session; it is useful to compare
ΔQbetween different sessions. - @karknu made a request that this tool could analyse
pcapfiles to getΔQinformation.