Resource allocator framework for P2P-DPRD