Apex › Distributed systems
MinHash — set similarity by sketch
Estimate how similar two sets are (their Jaccard similarity) from tiny fixed-size signatures — the engine behind web-scale near-duplicate detection. Each signature slot is the minimum of one hash over the set, and two slots match with probability exactly equal to the Jaccard similarity, so the fraction of matching slots estimates it. Edit two documents and drag the signature size to watch the estimate converge on the truth.
More in Distributed systems
- Consistent hashing
- Jump consistent hash
- Rendezvous hashing (HRW)
- Chord DHT
- Kademlia DHT (XOR)
- BitTorrent / torrents
- Magnet links / infohash
- Load balancing
- HyperLogLog
- Count-Min Sketch
- Publishing data without leaking you (differential privacy)
- Majority vote
- Reservoir sampling
- Bloom filter
- Snowflake IDs
- Lamport clocks
- Chandy-Lamport snapshot
- Failure detectors (φ)
- Tail latency (p99)
- HdrHistogram (percentiles)
- DDSketch (quantiles)
- Stream watermarks
- SWIM failure detection
- Hybrid Logical Clocks
- TrueTime & commit-wait
- Vector clocks
- Causal broadcast
- CRDTs
- Operational transform
- Gossip spread
- Read-repair & anti-entropy
- Read repair (fix-on-read)
- Hinted handoff
- Paxos consensus
- Leader election
- Fencing tokens
- Leases & clock skew
- PBFT (Byzantine)
- Raft election
- Raft log replication
- Consistency models
- CAP theorem
- Quorum (R+W>N)
- Replication (WAL)
- Chain replication
- Two-phase commit
- Three-phase commit
- Saga pattern