Description
Currently, with 500K+ queues, the cleanup step of TempQueueCleanerUpper requires invoking WildcardAddressManager#getDirectBindings, which is O(k) in the number of queues.
From method profiling, this can consume up to 95% of our CPU time when needing to clean up many of these.
It would be nice to make this more efficient, which shouldn't be difficult given the iteration just does a simple equality check.
Attachments
Issue Links
- links to