PUBLICATION: Adaptive replication and replacement in P2P caches © EURECOM. Personal use of this material is permitted. The definitive version of this paper was published in Working paper and is available at : Document