a fast social graph query with hubble-sync
Rust 100%

readme.md

mutuals index: hubble-sync tutorial #

TODO: link to tutorial post

heads up! hubble-sync is very new! there will be breaking changes! but it works and runs in production.

heads up! hubble-sync-rocksdb is recommended for now! hubble-sync-fjall should work, but doesn't have counters implemented yet, so a lot of system-status insight will be missing.

Step 0: Sync the Atmosphere #

Step 1: Compute mutuals! (WIP) #

Step 2: Maintain an index for faster reads (WIP) #

postscript: where to go from here: #

  • record blocks to exclude from mutuals (both sides)
    • resolve block lists?
  • counts: eliminate reads by using hyper-log-log sketches for unique followers
  • generic follow-like mutuals
  • roaring bitmaps!

hacking: codegen for lexicons #

cargo run -p lexgen