Rank is a distributed network protocol for dynamic resource allocation across heterogeneous nodes, handling computational, network, and temporal resources in fully decentralized environments without central controllers (while also supporting centralized environments). It implements four core functions—discovery of paths between nodes, estimation of resource availability, allocation/reservation of resources, and sharing of resources among multiple services—and uses a bidding system where nodes rate their capability to fulfill requests on a 0-1 scale, enabling dynamic path selection based on current availability. It is implemented in C++ with a testing framework to validate performance across different network topologies, targeting edge computing, cloud gaming, distributed content delivery, vehicular communications, and grid computing scenarios.