Apex › Distributed systems
Publishing data without leaking you (differential privacy)
Release statistics about a group while provably hiding every individual. The Laplace mechanism answers a numeric query f(D) as f(D) + noise of scale Δ/ε — Δ is one person’s max influence (1 for a count), ε is the privacy budget. The guarantee (ε-DP): for two datasets differing by one person, the noisy outputs differ in probability by at most e^ε, so no observer can tell whether you’re in the data. Verified in node: that ratio is exactly e^ε (tight for ε=0.5/1/2), the mechanism is unbiased, noise std = √2·Δ/ε, and budgets compose. Slide ε and watch the two neighboring-dataset curves overlap or separate.
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
- 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