Inkme News

← Back to list

counting large numbers of events in small floating point registers

This article explores the practical implementation of approximate counting algorithms in small floating-point registers, building on Robert Morris's 1978 algorithm and a 2009 paper by Miklós Csűrös. The author details how to represent and unpack log-linear counters using limited bit widths to track large event counts with minimal memory overhead.

Background

Approximate counting is a technique used in distributed systems and high-throughput networking to estimate event frequencies when exact counts would require excessive memory or processing power. Classic algorithms like Morris's counter allow for probabilistic updates that maintain logarithmic precision.

Source
Lobsters
Published
Dec 3, 2026 at 12:21 AM
Score
5.0 / 10