# Fast, easy, realtime metrics using Redis bitmaps

<http://blog.getspool.com/2011/11/29/fast-easy-realtime-metrics-using-redis-bitmaps/>

- Host: [blog.getspool.com](https://links.thingelstad.xyz/hosts/blog.getspool.com/)
- Saved: November 30, 2011 (2011-11-30T19:20:31Z)
- Record: https://links.thingelstad.xyz/links/39813907054f/
- JSON: https://links.thingelstad.xyz/links/39813907054f.json

## From the page (probably an excerpt, not Jamie's words)

At Spool, we calculate our key metrics in real time. Traditionally, metrics are performed by a batch job (running hourly, daily, etc.). Redis backed bitmaps allow us to perform such calculations in realtime and are extremely space efficient. In a simulation of 128 million users, a typical metric such as “daily unique users” takes less than 50 ms on a MacBook Pro and only takes 16 MB of memory. Spool doesn’t have 128 million users yet but it’s nice to know our approach will scale. We thought we’d share how we do it, in case other startups find our approach useful.

## Facts

- Kind: [Page](https://links.thingelstad.xyz/kinds/page/)

## Saved the same week

- [Researcher’s Video Shows Secret Software on Millions of Phones Logging Everything | Threat Level | Wired.com](https://links.thingelstad.xyz/links/abc537a08274/) (wired.com, November 30, 2011)
- [La Caja China Roasting Boxes](https://links.thingelstad.xyz/links/e3d6dd3c0427/) (lacajachina.com, November 30, 2011)
- [Adam Lisagor – interview by Merlin Mann](https://links.thingelstad.xyz/links/1ddde4a932c0/) (webstock.org.nz, November 30, 2011)
- [Vim: Seven habits of effective text editing by Bram Moolenaar](https://links.thingelstad.xyz/links/7a4613e65407/) (moolenaar.net, November 30, 2011)
- [SMWCon Spring 2012 - semantic-mediawiki.org](https://links.thingelstad.xyz/links/7745cba7d5b3/) (semantic-mediawiki.org, November 30, 2011)

## Elsewhere

- Wayback Machine: https://web.archive.org/web/*/http://blog.getspool.com/2011/11/29/fast-easy-realtime-metrics-using-redis-bitmaps/
