A non-transitory machine readable medium storing a program that when executed by a processor at a source endpoint processing unit (EPU) forwards data messages to a plurality of other EPUs through a network, said EPUs performing computations to collectively execute a distributed application, the program comprising sets of instructions:
- identifying a set of one or more paths through the network to forward results of computations performed by the source EPU to a set of destination EPUs, each path comprising a set of one or more hops along the network from the source EPU to a destination EPU, each hop comprising a forwarding element;
- for each identified path:
- identifying a tag to associate with the path, at each hop in the network along the path, to the next hop in the network;
- and
- distributing a record to each hop's forwarding element to associate the tag with a next hop along the identified path.