Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Probabilistic Data Structures

cnu
September 03, 2017

Probabilistic Data Structures

Learn how to use Probabilistic Data Structures and modules in Redis v4 to analyse logs.

cnu

September 03, 2017
Tweet

More Decks by cnu

Other Decks in Programming

Transcript

  1. Challenges • 100s of Millions of events processed every day

    • Peak of ~10 Million events in an hour • Needs Realtime processing • Memory/Storage Requirements
  2. Sample Event Data { "ip": "123.123.123.123", "client_id": 232, "user_id": "35827",

    "email": "[email protected]", "product_id": "ABC-12345", "image_id": 3, "action": "pageview", "datetime": "2017-06-29T12:42:53Z", }
  3. Redis Version 4 • Module system • Better Replication •

    Cache eviction Improvements • Non-Blocking DEL and FLUSH* commands • Mixed RDB-AOF persistence format • MEMORY DOCTOR
  4. There are three kinds of people in the world. 1.

    Those who can count. 2. Those who can’t count.
  5. There are three kinds of people in the world. data

    structures 1. Those who can count. 2. Those who can’t count. 3. Those who count approximately.