Apex › Distributed systems
Magnet links & the infohash
A magnet link is nothing but an infohash — the SHA-1 content address of a torrent’s piece list. From that one number a client finds peers via the DHT and fetches everything else, with no tracker or file to seize. Tamper a byte and watch the whole address move — that’s content addressing, and it’s what makes torrents tamper-evident and censorship-resistant.
More in Distributed systems
- Consistent hashing
- Jump consistent hash
- Rendezvous hashing (HRW)
- Chord DHT
- Kademlia DHT (XOR)
- BitTorrent / torrents
- Load balancing
- HyperLogLog
- Count-Min Sketch
- Publishing data without leaking you (differential privacy)
- MinHash (set similarity)
- 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