Patent ID: 8588064

Claim:
A method, comprising: obtaining a first message at a transport layer of a communication device from a first application being executed at the communication device; comparing an amount of data stored in a first queue at the transport layer with a first threshold value; determining at the transport layer a first potential communication bottleneck associated with a target node of the first message in response to determining the amount of data stored in the first queue at the transport layer exceeds the first threshold value; in response to determining the first potential communication bottleneck, providing a first warning message from the transport layer to the first application indicating a reduced amount of transmission resources available at the transport layer to cause the first application to reduce a rate of communicating messages to the transport layer by a first predefined amount, wherein the first predefined amount is associated with the first threshold value; obtaining subsequent messages at the transport layer from the first application at the reduced rate of message communication determined based on the first warning message; determining at the transport layer a second potential communication bottleneck associated with the target node based on a comparison of the amount of data stored at the first queue with a second threshold value, the second threshold value different from the first threshold value; in response to determining the second potential communication bottleneck, providing a second warning message from the transport layer to the first application to cause the first application to reduce the rate of communicating messages to the transport layer by a second predefined amount, wherein the second predefined amount is associated with the second threshold value, and the second predefined amount is different from the first predefined amount; and obtaining subsequent messages at the transport layer from the first application at the reduced rate of message communication determined based on the second warning message.