concurrency-limits
concurrency-limits copied to clipboard
Starving less important partitions
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!