Files
weave-scope/extras
Bryan Boreham b6d5594f9f perf(probe): publish delta reports to reduce data size
Similar to video compression which uses key-frames and differences
between them: every N publishes we send a full report, but inbetween
we only send what has changed.

Fairly simple approach in the probe - hold on to the last full report,
and for the deltas remove anything that would be merged in from the
full report.

On the receiving side in the app it already merges a set of reports
together to produce the final output for rendering, so provided N is
smaller than that set we don't need to do anything different.

Deltas don't need to represent nodes that have disappeared - an
earlier full node will have that node so it would be merged into the
final output anyway.
2019-09-18 08:00:28 +00:00
..
2017-05-22 17:27:35 +02:00

Extra code

Useful things that go well with scope.

  • Code in this directory must always compile (enforced by CircleCI)
  • This directory is ignored for testing but should lint cleanly
  • Changes to code in this directory does not need to be PR'd