Optimized peer retrieval