The invention includes a method for determining a window size for a
connection. One method according to the invention includes determining a
peak information rate for the connection, determining a round trip time
for the connection, and determining the window size using the peak
information rate and the round trip time. Another method includes
determining a token bucket size of a token bucket in response to
detecting a condition associated with the token bucket and determining
the window size using the token bucket size. Another method includes
determining a plurality of connection window sizes for each of a
plurality of connections. In this embodiment, the connection window sizes
are determined by distributing a total window size across the plurality
of connections. A determined window size may be communicated to at least
one of a sender of the connection, a receiver of the connection, and a
policing module.