I see you are the author of the Clip2Bridge class.
What I saw is (for api V2):
First a Throttler here
If I understand correctly, you throttle the requests to a maximum of one per REQUEST_INTERVAL_MILLISECS (you fixed that to 50 ms)
also you have a maximum of 3 concurrent sessions in case of PUT ( putResource uses MAX_CONCURRENT_STREAMS = 3 ) and 1 in case of GET ( getResourcesImpl uses the value 1 directly )
What I also saw is that you have a cache mechanism with serviceContributorsCache and sceneContributorsCache
Is the cache mechanism the equivalent of the queue for api V1 ?
Indeed, you were mentionning that
The command rate limiter has a queue
but I can find a queue only for API V1 and not V2 ?
In that case, to implement my idea, do I have to have a limit of a maximum number of elements in those caches ?
It’s just to know where I can start implementing that idea of ignoring commands when there are too many commands arriving at the same time.