# Give Me Some Slack: Efficient Network Measurements

**Authors:** Ran Ben Basat, Gil Einziger, Roy Friedman

arXiv: 1703.01166 · 2018-04-25

## TL;DR

This paper explores how allowing a small slack in the sliding window size can lead to more efficient algorithms for network measurement problems, reducing memory requirements and enabling faster computations.

## Contribution

It introduces a slack-based model for sliding window problems, demonstrating improved algorithmic efficiency and reduced space complexity for key network measurement tasks.

## Key findings

- Slack enables algorithms for MAX and GENERAL-SUM to use less memory.
- For sub-linear approximation problems, slack further reduces asymptotic resource requirements.
- The model offers practical benefits for high-speed network measurement implementations.

## Abstract

Many networking applications require timely access to recent network measurements, which can be captured using a sliding window model. Maintaining such measurements is a challenging task due to the fast line speed and scarcity of fast memory in routers. In this work, we study the impact of allowing \emph{slack} in the window size on the asymptotic requirements of sliding window problems. That is, the algorithm can dynamically adjust the window size between $W$ and $W(1+\tau)$ where $\tau$ is a small positive parameter. We demonstrate this model's attractiveness by showing that it enables efficient algorithms to problems such as MAX and GENERAL-SUM that require $\Omega(W)$ bits even for constant factor approximations in the exact sliding window model. Additionally, for problems that admit sub-linear approximation algorithms such as BASIC-SUMMING and COUNT-DISTINCT, the slack model enables a further asymptotic improvement.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1703.01166/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/1703.01166/full.md

## References

38 references — full list in the complete paper: https://tomesphere.com/paper/1703.01166/full.md

---
Source: https://tomesphere.com/paper/1703.01166