A resilient architecture for DHT-based distributed collaborative environments