Dynamic quorums for DHT-based P2P networks