~/talk

The power of two choices

Talkat IPFS Camp 2022 - Libp2p Day · on Sunday, 2022-10-30· [distributed-systems]
links:none on file
slides:none on file

Random peer IDs behave like 20,000 random reals in [0,1], producing a binary trie whose mean leaf depth is about log n but whose deviation is also about log n so many nodes sit at depth ~15–16 in a 20k network. Using the power of two choices (generate two IDs, keep the shallower) yields mean ≈ log n and deviation ≈ log log n, producing an almost perfectly balanced trie; Go and Python libraries are provided for simulation.

AI-written summary · about

  1. 0:00Analyzing DHT ID distribution
  2. 10:42The power of two choices
  3. 14:09Benefits of balanced trees
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.