Streaming Sketching: Mathematical Theory & Practical Algorithms

From concentration bounds and hashing to cardinality, frequency, quantile, similarity, and graph sketches

A 23-part series on streaming algorithms and sketches: stream models, concentration and hashing, approximate counting, membership filters, cardinality and frequency estimation, heavy hitters, moments, quantiles, similarity/LSH, sliding windows, linear sketches, dimensionality reduction, randomized linear algebra, graph and geometric streaming, distributed sketches, communication and information-theoretic lower bounds, privacy, and sketch engineering, plus 19 deep dives and 6 hands-on projects.

23Parts Planned
19Deep Dives Planned
6Projects & Capstone Planned
Back to Technology
0 of 23 Parts Published

Main Parts

The core 23-part path: stream models and guarantees, concentration and hashing, approximate counting and sampling, membership filters, cardinality and frequency estimation, heavy hitters, moments, quantiles, similarity/LSH, sliding windows, linear sketches, dimensionality reduction, randomized linear algebra, graph and geometric streaming, distributed sketches, communication and information-theoretic lower bounds, robustness/privacy, then sketch engineering and evaluation.

0 of 19 Deep Dives Published

Deep Dives

Focused technique write-ups published alongside the part they extend: Chernoff bounds, limited-independence hashing, Morris counting, sampling methods, filter comparisons, HyperLogLog, Count-Min vs. Count Sketch, Misra-Gries/Space-Saving, AMS F2, KLL, sliding-window histograms, l0-sampling, sparse recovery, Johnson-Lindenstrauss, Frequent Directions, dynamic connectivity, communication lower bounds, adaptive attacks, and differential privacy.

0 of 6 Projects Published

Projects & Capstone

Five progressively harder hands-on builds -- a streaming statistics toolkit, a real-time telemetry analyzer, a similarity/deduplication service, a sketch benchmark laboratory, and a streaming matrix/graph lab -- followed by a distributed streaming analytics engine capstone.