Patent ID: 7778265

Claim:
A method comprising: determining a per packet latency for a class of packet network traffic in a queue of a plurality of queues for a plurality of classes of packet network traffic at a node; establishing, using a local adaptive provisioning module at the node, a reward function for the class of packet network traffic based on a packet latency limit, based on the per packet latency, and based on a source rate for the class of packet network traffic; and adjusting provisioning of a queue servicing module for the queue at the node based on the reward function, where the provisioning comprises the priority of accessing each of the plurality of queues by the queue servicing module, wherein the reward function penalizes end to end packet failures as measured by end to end latency exceeding a threshold based on relative weighting assigned to failures of each class, and wherein the reward function is further based on an average hop count and based on at least one other class of packet network traffic.