Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
None
-
None
Description
In this thread on mailing list:
http://search-hadoop.com/m/Flink/VkLeQPmRa31hd5cw
Gyula Fóra mentioned that timer deletion becomes performance bottleneck due to the usage of priority queue.
Benjamin has an implementation for Hierarchical Timing Wheels (Apache License) :
* A hierarchical timer wheel to add, remove, and fire expiration events in amortized O(1) time. The * expiration events are deferred until the timer is advanced, which is performed as part of the * cache's maintenance cycle.
We should consider porting the above over to facilitate performant timer.