Patent ID: 8432800

Claim:
A method for prioritizing transmission of packets comprising: receiving, by an intermediary, a first packet of a first transaction, the first packet stored in a buffer of the intermediary; receiving, by the intermediary, a second packet of a second transaction; determining, by the intermediary, that the first transaction is complete; determining, by the intermediary, a first average transaction size of the first transaction associated with a first transport layer connection of the first packet, responsive to determining that the first transaction is complete; assigning, by the intermediary, a first transmission priority to the first packet, the transmission priority determined responsive to the determined first transaction size, wherein the first packet has a higher priority than the second packet, responsive to a determination that the first average transaction size is smaller than a second average transaction size associated with the second transaction; and transmitting from the buffer, by the intermediary and responsive to determining the first transaction is complete, the first packet and the second packet, wherein the transmission order is determined according to the first assigned transmission priority.