Skip to content

Instantly share code, notes, and snippets.

@sbinet
Last active June 15, 2018 07:15
Show Gist options
  • Save sbinet/07b5fa628b5278498eea612a0c4b65c3 to your computer and use it in GitHub Desktop.
Save sbinet/07b5fa628b5278498eea612a0c4b65c3 to your computer and use it in GitHub Desktop.
Fer latency

Fer latencies

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.

@sbinet
Copy link
Author

sbinet commented Jun 15, 2018

fer-czmq
fer-zeromq
fer-nanomsg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment