{
  "id": "39813907054f",
  "url": "http://blog.getspool.com/2011/11/29/fast-easy-realtime-metrics-using-redis-bitmaps/",
  "title": "Fast, easy, realtime metrics using Redis bitmaps",
  "note": "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.",
  "voice": "excerpt",
  "saved": "2011-11-30T19:20:31Z",
  "host": "blog.getspool.com",
  "kind": "page",
  "tags": [],
  "record": "https://links.thingelstad.xyz/links/39813907054f/",
  "markdown": "https://links.thingelstad.xyz/links/39813907054f.md",
  "issues": [],
  "connections": {
    "same_host": {
      "count": 0,
      "page": "https://links.thingelstad.xyz/hosts/blog.getspool.com/",
      "nearest": []
    },
    "same_week": {
      "count": 21,
      "nearest": [
        {
          "id": "abc537a08274",
          "title": "Researcher’s Video Shows Secret Software on Millions of Phones Logging Everything | Threat Level | Wired.com",
          "url": "http://www.wired.com/threatlevel/2011/11/secret-software-logging-video/",
          "record": "https://links.thingelstad.xyz/links/abc537a08274/"
        },
        {
          "id": "e3d6dd3c0427",
          "title": "La Caja China Roasting Boxes",
          "url": "http://www.lacajachina.com/",
          "record": "https://links.thingelstad.xyz/links/e3d6dd3c0427/"
        },
        {
          "id": "1ddde4a932c0",
          "title": "Adam Lisagor – interview by Merlin Mann",
          "url": "http://www.webstock.org.nz/blog/2011/adam-lisagor-interview-by-merlin-mann/",
          "record": "https://links.thingelstad.xyz/links/1ddde4a932c0/"
        },
        {
          "id": "7a4613e65407",
          "title": "Vim: Seven habits of effective text editing by Bram Moolenaar",
          "url": "http://www.moolenaar.net/habits.html",
          "record": "https://links.thingelstad.xyz/links/7a4613e65407/"
        },
        {
          "id": "7745cba7d5b3",
          "title": "SMWCon Spring 2012 - semantic-mediawiki.org",
          "url": "http://semantic-mediawiki.org/wiki/SMWCon_Spring_2012",
          "record": "https://links.thingelstad.xyz/links/7745cba7d5b3/"
        }
      ]
    },
    "mentions": [],
    "mentioned_by": [],
    "saved_twice": []
  },
  "elsewhere": {
    "wayback": "https://web.archive.org/web/*/http://blog.getspool.com/2011/11/29/fast-easy-realtime-metrics-using-redis-bitmaps/"
  }
}
