Simple study of the following pipeline (over localhost-TCP):
[sampler] -> [processor] -> [sink]
where the data being transferred is:
type token struct {
msg []byte
beg time.Time // time.Now when token sent by sampler
end time.Time // time.Now when token recv by sink
}
what is plotted below is the delta end-beg
.