Replication and synchronization in structured p2p systems