concurrency-limits icon indicating copy to clipboard operation
concurrency-limits copied to clipboard

Starving less important partitions

Open udaysagar2177 opened this issue 6 years ago • 0 comments

Hi @elandau, thanks for providing this library. I have a question around partition based limiters.

From the code, the partition limits are calculated as newTotalLimit * Partition#percent. But the README talks about starving one partition to favor another. How would I achieve starving something like the batch traffic from the example?

For example, a system that takes both live and batch traffic may want to give live traffic 100% of the limit during heavy load and is OK with starving batch traffic.

Any help from you or other users is highly appreciated!

udaysagar2177 avatar Apr 23 '19 00:04 udaysagar2177