Bug 5280: Add ProgressTracker 53/49053/18
authorVratko Polak <vrpolak@cisco.com>
Thu, 22 Dec 2016 09:39:00 +0000 (10:39 +0100)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 21 Jan 2017 18:21:52 +0000 (18:21 +0000)
ProgressTracker determines the tracking delay required
to keep the outbound queue reasonably full. Unlike Guava's
RateLimiter, we can assume cooperative callers, hence we
can use an enqueue-and-wait strategy as appropriate. This
lowers contention in multi-threaded access, as the wait
part of the cycle is spent outside the lock.

Change-Id: Iaea65c171455b89d7117431599ebc65fe0a4f19a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found